Offtiktok allows users to share tiktoks with anyone, regardless of whether they have the app or not, by adding "off" before "tiktok" in the url (e.g: https://vm.offtiktok.com/ZGe7XpCwV/ )
It also includes a minimalistic TikTok feed that allows watching videos recommended by the platform, no ads, no app, no geo-restrictions.
This repository includes the frontend server. If you're looking for the backend, it's here
- Initialize as a docker container running `./docker-up.sh`
- If script fails due to permissions settings, run `chmod +x ./docker-up.sh` then run the script again.
-
Using Homebrew:
-
Install Homebrew if you haven't already:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install Node.js and npm:
brew install node
brew install node
-
-
Using Node Version Manager (nvm):
-
Install
nvm
:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
-
Load
nvm
:export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
-
Install Node.js:
nvm install node
-
-
Using NodeSource Binaries:
-
Install Node.js and npm:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs
-
-
Using Node Version Manager (nvm):
-
Install
nvm
:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
-
Load
nvm
:export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
-
Install Node.js:
nvm install node
-
-
Using Node.js Installer:
- Download the Windows installer from the Node.js website.
- Run the installer and follow the prompts.
-
Using Node Version Manager for Windows (nvm-windows):
- Download and install
nvm-windows
from the nvm-windows releases. - Install Node.js:
nvm install latest nvm use latest
- Download and install
After installation, verify that Node.js and npm are installed correctly by running:
node -v
npm -v
To instal project dependencies, run: npm install
Create a .env
file and copy the contets of the .env.template
file included in the repository.
The INTERNAL API URL should just be the frontend's URL
The EXTERNAL API URL should be your backend's URL
Run npm run dev
to get your development server running in port 2000
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.
Collaboration is welcome! Please feel free to support the project by opening issues or pull requests
This project is licensed under the MIT License