2022-03-09 02:44:06 -05:00
2022-03-09 02:44:06 -05:00
2022-02-01 05:45:36 -05:00
2022-03-08 21:41:21 -05:00
2022-03-04 03:50:47 -05:00
2022-02-01 01:10:23 -05:00
2022-02-01 02:43:28 -05:00
2022-02-01 03:24:08 -05:00
2022-02-01 03:24:08 -05:00
2022-02-01 00:32:00 -05:00
2022-01-10 01:36:57 -05:00
2022-02-27 04:48:16 -05:00
2022-03-02 01:51:24 -05:00
2022-02-12 22:44:20 -05:00

fakeyou-frontend

GO AWAY CORS

chromium-browser --disable-web-security --user-data-dir=~/chrome

NB: This is now a MONOREPO

Based on https://medium.com/geekculture/setting-up-monorepo-with-create-react-app-cb2cfa763b96, which isn't the best guide, but it works.

Library code is exported in the library's index.tsx (meh)

To start the react server, run "yarn start-storyteller" or "yarn start-fakeyou"

Running

# Install Yarn if not present (Linux/Mac)
sudo npm install --global yarn

# We might need a newer node (Linux/Mac)
sudo install n -g
sudo n stable

# Install project deps (Linux/Mac)
yarn install

# Start one or more of the several frontends (Linux/Mac)
yarn start-fakeyou
yarn start-storyteller

TODO: Upgrade React, it's a bit behind. See downgrade @ SHA d739b66bfa3315620208579193d652e8e460da1e.

Good Code Examples

  • storyteller/src/pages/tts_configs/TtsConfigsEditRulePage.tsx - Tree of components that handle a very complicated update API

Documentation

docs.fakeyou.com is generated from ./docs using Docsify.

To run and test locally,

sudo npm i docsify-cli -g
docsify serve docs

Netlify Notes

The .node-version file controls which version of node Netlify uses to build!

Old Readme Follows

Frontend website for https://fakeyou.com/ (previously https://vo.codes)

Hosted with netlify.

Installation in Dev

Normally, npm install in the ./fakeyou directory works, but Mac needed the following workaround for a sass build failure:

nvm install 14

Logo, Favicon, Font

Font: fugaz one, 110, #209CEE

Using https://favicon.io/favicon-generator/

Transparent Images

https://www.remove.bg (pretty cheap)gt

Social Icons

Taken from subscription service https://www.flaticon.com

This pack: https://www.flaticon.com/packs/social-logo-1

Video Thumbnails

Generated with https://ezgif.com/

  • webp, 500x300px (~100kb each)

Reverse clips:

ffmpeg -i input.mp4 -vf reverse reversed.mp4
Languages
Rust 59.4%
TypeScript 39.3%
JavaScript 0.7%
Python 0.3%
CSS 0.2%
Other 0.1%