mirror of
https://github.com/pablouser1/ProxiTok.git
synced 2024-12-06 19:27:30 +01:00
ca926c4dfbdb2f35d37973bd4ea3fbdbc7b56012
TikTok alternative Frontend
Use Tiktok using an alternative frontend, inspired by Nitter.
Installation
Clone the repository and fetch the requiered external packages with:
composer install
Then you can run it using for example the PHP Development Server with:
php -S localhost:8080
Configuration
.env
Move the .env.example file to .env and modify it.
Apache
If you are using Apache you don't have to do anything more
Nginx
Add the following to your config (you can modify the tiktok-viewer part if you have or not a subdir):
location /tiktok-viewer {
return 302 $scheme://$host/tiktok-viewer/;
}
location /tiktok-viewer/ {
try_files $uri $uri/ /tiktok-viewer/index.php?$query_string;
}
location /tiktok-viewer/.env {
deny all;
return 404;
}
Known issues
- Right now there is an error when trying to fetch the desired user, there is already a pull request not merged yet fixing this issue on the TikTokApi repo, you can check it out here. This is automatically patched after running composer install
TODO
- Allow searching for just one video using the ID
Credits
Description
Languages
PHP
47.7%
Latte
41.1%
JavaScript
6.7%
CSS
2.2%
SCSS
1.4%
Other
0.8%