Scott's Proxitok config
Go to file
2022-01-07 00:28:28 +01:00
cache/views First commit 2022-01-01 20:14:57 +01:00
helpers Fixed issue with cookies 2022-01-07 00:28:28 +01:00
routes (even) better gif loader, scss support 2022-01-07 00:13:51 +01:00
scripts (even) better gif loader, scss support 2022-01-07 00:13:51 +01:00
styles (even) better gif loader, scss support 2022-01-07 00:13:51 +01:00
views (even) better gif loader, scss support 2022-01-07 00:13:51 +01:00
.editorconfig Changed rendering template and router 2022-01-03 13:43:22 +01:00
.env.example Fixed issue with cookies 2022-01-07 00:28:28 +01:00
.gitignore (even) better gif loader, scss support 2022-01-07 00:13:51 +01:00
.htaccess First commit 2022-01-01 20:14:57 +01:00
composer.json Code cleanup, following and gif support 2022-01-06 00:11:00 +01:00
composer.lock Heroku fix 2022-01-06 00:16:27 +01:00
fix_api.php Auto patch API 2022-01-04 00:18:13 +01:00
index.php Code cleanup, following and gif support 2022-01-06 00:11:00 +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 (even) better gif loader, scss support 2022-01-07 00:13:51 +01:00

TikTok alternative Frontend

Use Tiktok using an alternative frontend, inspired by Nitter.

Features

  • Privacy: All requests made to TikTok are server-side, so you will never connect to TikTok servers
  • See user's feed
  • See trending
  • See tags
  • Create a following list, which you can later use to see all the feeds from those users

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

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
  • Add a NoJS version / Make the whole program without required JS

Credits