Skip to content

Self hosting

Pablo Ferreiro edited this page Aug 20, 2024 · 17 revisions

This article covers all methods and configurations available to host your own Proxitok instance

Docker (Recommended)

You can clone this repo and use the Docker Compose file to get a ready to use instance with just one command.

Clone the repo with:

git clone https://github.com/pablouser1/ProxiTok

Then, run this command to build and run the instance:

APP_URL='https://example.com' docker-compose up

Replace https://example.com with the URL of your instance

You may also need to add an API_VERIFYFP value for bypassing captchas. You may get this value from entering TikTok on a browser and copying the s_v_web_id cookie value after successfully answering a captcha.

Your instance will be available on http://localhost:8080

Manual

Requirements

  • php >= 8.1
  • mbstring and xml PHP extensions
  • apcu (for smaller servers) or Redis (heavily recommended for public instances)
  • chromedriver

Clone the repository and fetch the requiered external packages with:

composer install --no-dev # Remove no-dev flag if development

Copy the .env.example file to .env and modify it. More info here

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

php -S localhost:8080

Updating

Please remember running composer install after pulling the new changes. This will sync your dependencies with the new composer.lock file.

Heroku

WARNING Heroku deployment is currently broken

You may also use a ready-to-use Heroku deployment:

Deploy

Clone this wiki locally