Scott's Proxitok config
Find a file
Pablo Ferreiro fe3ae82100
small fixes
2022-01-03 17:06:25 +01:00
cache/views First commit 2022-01-01 20:14:57 +01:00
helpers Settings, removed leaf and tiktok proxy 2022-01-02 17:39:22 +01:00
routes small fixes 2022-01-03 17:06:25 +01:00
scripts Split HTML head, PHP, added searching tags 2022-01-03 16:11:24 +01:00
styles Added trending page 2022-01-02 00:42:03 +01:00
views small fixes 2022-01-03 17:06:25 +01:00
.editorconfig Changed rendering template and router 2022-01-03 13:43:22 +01:00
.env.example Split HTML head, PHP, added searching tags 2022-01-03 16:11:24 +01:00
.gitignore Hash system and controls inside player 2022-01-02 00:06:00 +01:00
.htaccess First commit 2022-01-01 20:14:57 +01:00
composer.json php version 2022-01-03 13:47:41 +01:00
composer.lock Changed rendering template and router 2022-01-03 13:43:22 +01:00
index.php Split HTML head, PHP, added searching tags 2022-01-03 16:11:24 +01:00
LICENSE First commit 2022-01-01 20:14:57 +01:00
Procfile Heroku deploys 2022-01-02 00:58:43 +01:00
README.md Split HTML head, PHP, added searching tags 2022-01-03 16:11:24 +01:00

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

TODO

  • Allow searching for just one video using the ID
  • Code cleanup

Credits