this is a proof-of-concept that i did a while back to imitate TikTok's interface in HTML. open-sourcing it with no idea if it still works.
how to make work:
- clone repo
yarn install
- get yerself a folder full of tiktoks that you downloaded from the iphone tiktok app. it should look kinda like this:
- create a symlink from
server/vids
to your folder full of tiktoks:
ln -s /Users/yourname/Desktop/path/to/vids ./server/vids
yarn run start
then it's running at http://localhost:4000
it only works in Safari and iPhones as we're not including HLS.js quite yet (but that's okay this is just an iphone app for now)
even better, install it as a Progressive Web App by hitting "Share" and scrolling over to "Add to Home Screen"