A local media server that combines the features of TikTok and Pinterest
Project description
TikLocal
TikLocal is a mobile and tablet web application built on Flask. It allows you to browse and manage your local videos and images in a way similar to TikTok and Pinterest.
Introduction
TikLocal's main features include:
- A TikTok-like swipe-up browsing experience that allows you to easily and quickly browse local video files.
- A file manager-like directory browsing feature that allows you to easily find and manage local video files.
- A Pinterest-like grid layout feature that allows you to enjoy local images.
- Support for light and dark modes to suit your personal preferences.
Use cases
TikLocal is suitable for the following use cases:
- You don't trust TikTok's teen mode and want to provide your child with completely controllable video content.
- You want to browse and manage your local videos and images locally, but don't want to use third-party cloud services.
- You want to use a TikTok-style video browsing experience on your phone or tablet.
- You want to use a Pinterest-style image browsing experience on your phone or tablet.
How to use
Installation
TikLocal is a Python application that you can install using the following command:
pip install tiklocal
Usage
Starting TikLocal is very simple, just run the following command:
tiklocal ~/Videos/
You can specify any media folder.
To close, press Ctrl + C.
CLI Commands
TikLocal provides several CLI commands:
Start the server:
tiklocal /path/to/media # Start with media directory
tiklocal --port 9000 # Use custom port
Generate video thumbnails:
tiklocal thumbs /path/to/media # Generate thumbnails
tiklocal thumbs /path --overwrite # Regenerate existing thumbnails
Find and remove duplicate files:
tiklocal dedupe /path/to/media # Find duplicates (dry-run mode)
tiklocal dedupe /path --type video # Check video files only
tiklocal dedupe /path --execute # Execute deletion
tiklocal dedupe /path --keep newest # Keep newest files
Options for dedupe:
--type: File type (video,image,all)--algorithm: Hash algorithm (sha256,md5)--keep: Keep strategy (oldest,newest,shortest_path)--dry-run: Preview mode (default)--execute: Execute actual deletion--auto-confirm: Skip confirmation prompt
Configuration
TikLocal provides some configuration options that you can adjust to your needs.
- Light and dark modes: You can choose to use light or dark mode.
- Video playback speed: You can adjust the video playback speed.
TODO
- Add search
- Add more management operations, such as moving files and creating folders
- Add basic login control
- Add a bookmarking feature
- Add a Docker image
- Add a tagging feature
- Use recommendation algorithms
Contribution
TikLocal is an open source project that you can contribute to in the following ways:
- Submit code or documentation improvements.
- Report bugs.
- Suggest new features.
Contact us
If you have any questions or suggestions, you can contact us in the following ways:
- GitHub project page: https://github.com/ChanMo/TikLocal/
- Email: [chan.mo@outlook.com]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tiklocal-0.8.3.tar.gz.
File metadata
- Download URL: tiklocal-0.8.3.tar.gz
- Upload date:
- Size: 82.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8dfbacef0b236d3fafb86b4c5bde51025d00fec094a7abd7f0773f731bcf556
|
|
| MD5 |
72599ed2d0de67c2534330545f1152a1
|
|
| BLAKE2b-256 |
08ea653a2eae0d76753323702f4c9be46646000d19f80343e81e30d99c92ae75
|
Provenance
The following attestation bundles were made for tiklocal-0.8.3.tar.gz:
Publisher:
main.yml on ChanMo/TikLocal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiklocal-0.8.3.tar.gz -
Subject digest:
d8dfbacef0b236d3fafb86b4c5bde51025d00fec094a7abd7f0773f731bcf556 - Sigstore transparency entry: 928370268
- Sigstore integration time:
-
Permalink:
ChanMo/TikLocal@6155bbf1898b080cfa65b8772d461535107fc164 -
Branch / Tag:
refs/tags/v0.8.3 - Owner: https://github.com/ChanMo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@6155bbf1898b080cfa65b8772d461535107fc164 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tiklocal-0.8.3-py3-none-any.whl.
File metadata
- Download URL: tiklocal-0.8.3-py3-none-any.whl
- Upload date:
- Size: 93.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a51ddc8c45f495c7e3351e7e9587164d5904ef7196d71ab25a4b7bdf1f41b7d
|
|
| MD5 |
72f0eaae17b11b2a26ca77dd4cf78164
|
|
| BLAKE2b-256 |
6e75f06e2d5099e48d544c7a9f722be620979198430deff74cd04dfa0a457d44
|
Provenance
The following attestation bundles were made for tiklocal-0.8.3-py3-none-any.whl:
Publisher:
main.yml on ChanMo/TikLocal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiklocal-0.8.3-py3-none-any.whl -
Subject digest:
6a51ddc8c45f495c7e3351e7e9587164d5904ef7196d71ab25a4b7bdf1f41b7d - Sigstore transparency entry: 928370269
- Sigstore integration time:
-
Permalink:
ChanMo/TikLocal@6155bbf1898b080cfa65b8772d461535107fc164 -
Branch / Tag:
refs/tags/v0.8.3 - Owner: https://github.com/ChanMo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@6155bbf1898b080cfa65b8772d461535107fc164 -
Trigger Event:
push
-
Statement type: