proxitok/README.md
2022-03-13 23:18:10 +01:00

2.1 KiB

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
  • Discovery
  • RSS Feed for user, trending and tag (just add /rss to the url)

Extensions

If you want to automatically redirect Tiktok links to ProxiTok you can use:

You can use the following config if you want to use Redirector (you can change https://proxitok.herokuapp.com with whatever instance you want to use):

Description: TikTok to ProxiTok
Example URL: https://www.tiktok.com/@tiktok
Include pattern: (.*//.*)(tiktok.com)(.*)
Redirect to: https://proxitok.herokuapp.com$3
Example result: https://proxitok.herokuapp.com/@tiktok
Pattern type: Regular Expression
Apply to: Main window (address bar)

Installation

Clone the repository and fetch the requiered external packages with:

composer install

Move the .env.example file to .env and modify it.

Then you can run it using for example the PHP Development Server with:

php -S localhost:8080

Configuration

Cache engines

Available cache engines:

  • redis: Writes response to Redis
  • json: Writes response to JSON file

Apache

You don't have to do anything more

Nginx

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

location /.env {
    deny all;
    return 404;
}

TODO / Known issues

  • Docker
  • Full installation instructions
  • Add a NoJS version / Make the whole program without required JS
  • Make video on /video fit screen and don't overflow
  • i18n

Credits