Scott's Proxitok config
Go to file
Pablo Ferreiro a11a17f9d2
Fixed rss
2022-02-13 23:40:56 +01:00
.github/workflows Workaround for back btn. Added id to vid download 2022-02-07 18:32:45 +01:00
app Fixed rss 2022-02-13 23:40:56 +01:00
cache Templates based on classes, cache custom paths 2022-01-25 17:20:11 +01:00
components Using new wrapper 2022-02-13 22:21:08 +01:00
layouts RSS initial support 2022-01-28 15:54:09 +01:00
scripts Share url, removed hash 2022-02-07 22:23:33 +01:00
styles Share url, removed hash 2022-02-07 22:23:33 +01:00
views Using new wrapper 2022-02-13 22:21:08 +01:00
.editorconfig Using forked repo and cache engine 2022-01-13 16:51:45 +01:00
.env.example Using new wrapper 2022-02-13 22:21:08 +01:00
.gitignore Templates based on classes, cache custom paths 2022-01-25 17:20:11 +01:00
.htaccess First commit 2022-01-01 20:14:57 +01:00
composer.json Using new wrapper 2022-02-13 22:21:08 +01:00
composer.lock Upstream 2022-02-13 22:43:46 +01:00
index.php Project structure change 2022-01-31 00:02:52 +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 Using new wrapper 2022-02-13 22:21:08 +01:00
routes.php Removed Following (use RSS), allow unix for Redis 2022-02-06 14:22:23 +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
  • Create a following list, which you can later use to see all the feeds from those users
  • RSS Feed for user, trending and tag (just add /rss to the url)

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
  • 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 proxitok part if you have or not a subdir):

location /proxitok {
    return 302 $scheme://$host/proxitok/;
}

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

location /proxitok/.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
  • i18n

Credits