Scott's Proxitok config
Find a file
2022-01-25 14:08:31 +01:00
cache Using forked repo and cache engine 2022-01-13 16:51:45 +01:00
components Layout system 2022-01-25 14:08:31 +01:00
helpers Wrapper update + Search by music id 2022-01-17 21:11:40 +01:00
layouts Layout system 2022-01-25 14:08:31 +01:00
routes Layout system 2022-01-25 14:08:31 +01:00
scripts Wrapper update + Search by music id 2022-01-17 21:11:40 +01:00
styles Project name change 2022-01-14 18:18:28 +01:00
views Layout system 2022-01-25 14:08:31 +01:00
.editorconfig Using forked repo and cache engine 2022-01-13 16:51:45 +01:00
.env.example Wrapper update + Search by music id 2022-01-17 21:11:40 +01:00
.gitignore Using forked repo and cache engine 2022-01-13 16:51:45 +01:00
.htaccess First commit 2022-01-01 20:14:57 +01:00
composer.json Wrapper update + Search by music id 2022-01-17 21:11:40 +01:00
composer.lock Updated wrapper 2022-01-22 20:38:29 +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 Wrapper update + Search by music id 2022-01-17 21:11:40 +01:00

ProxiTok

Use Tiktok with an alternative frontend, inspired by Nitter.

Features

  • Privacy: All requests made to TikTok are server-side, so you will never connect to their servers
  • See user's feed
  • See trending
  • See tags
  • See video by id
  • 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

WARNING: You'll need a personal Github token for composer.

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.

Cache engines

Available cache engines:

  • redis: Writes response to Redis (check .env.example for config!)
  • json: Writes response to JSON file

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;
}

TODO

  • Add a NoJS version / Make the whole program without required JS
  • Better error handling
  • Make video on /video fit screen and don't overflow

Credits