Scott's Proxitok config
Find a file
Pablo Ferreiro 3b5c3cd96c
hotfix
2022-03-13 18:32:44 +01:00
.github/workflows Workaround for back btn. Added id to vid download 2022-02-07 18:32:45 +01:00
app Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
cache Templates based on classes, cache custom paths 2022-01-25 17:20:11 +01:00
components Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
layouts RSS initial support 2022-01-28 15:54:09 +01:00
scripts Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
scss Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
setup Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
styles Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
views Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
.editorconfig Using forked repo and cache engine 2022-01-13 16:51:45 +01:00
.env.example Merged with new-api 2022-03-11 22:59:16 +01:00
.gitignore Templates based on classes, cache custom paths 2022-01-25 17:20:11 +01:00
.htaccess Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
composer.json Fixed JSON Cache and Cache returning VERIFY_CODE 2022-03-12 19:28:37 +01:00
composer.lock Fixed JSON Cache and Cache returning VERIFY_CODE 2022-03-12 19:28:37 +01:00
index.php hotfix 2022-03-13 18:32:44 +01:00
LICENSE First commit 2022-01-01 20:14:57 +01:00
Procfile Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
README.md Heroku using nginx, reverted public and some fixes 2022-03-13 18:22:36 +01:00
routes.php Fixed trending, added explanation on VERIFY_CODE 2022-03-11 22:46:12 +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
  • 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

You can get a config example on /setup/nginx.conf

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
  • i18n

Credits