|
|
||
|---|---|---|
| .github/workflows | ||
| .idea/dictionaries | ||
| _docs | ||
| _sql | ||
| assets/fonts | ||
| configs | ||
| crates | ||
| db | ||
| debug | ||
| localdev | ||
| old_code | ||
| runtime_data | ||
| seed | ||
| static | ||
| test_data | ||
| tools | ||
| windows/sqlite | ||
| .dockerignore | ||
| .env | ||
| .env-download-job | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| README.md | ||
| codegen_database.sh | ||
| dev_database_connect.sh | ||
| diesel.toml | ||
| launch_chatbot.bat | ||
| loc.sh | ||
| rustfmt.toml | ||
| sqlx-data.json | ||
README.md
storyteller-rust
Our Rust monorepo, which services our API surface area.
Application overview
-
FakeYou.com is powered by:
- HTTP APIs:
storyteller-web- HTTP + database monolith for FakeYou
- Asynchronous Jobs:
tts-download-job- Async download of modelstts-inference-job- Async TTS inferencew2l-download-job- Async download of videos and imagesw2l-inference-job- Async W2L inference
- HTTP APIs:
-
StorytellerStream is powered by:
- HTTP APIs:
storyteller-web- HTTP + database monolith for FakeYou
- Websocket events:
websocket-gateway- Websocket to pull down Twitch events.
- Twitch API integration:
twitch-pubsub-subscriber- Dynamically subscribes to Twitch PubSub for "active" users
- HTTP APIs:
Schema and API notes
Local development
Local development setup README
Production and Deployment
Production builds and deployment README
Development notes
Dump a MySQL report
mysql -u storyteller \
-pPasswordHere \
-h IP_HERE \
-P 3306 \
-D storyteller \
-B \
-e "select * from voice_clone_requests;" | sed "s/'/\'/;s/\t/\",\"/g;s/^/\"/;s/$/\"/;s/\n//g" > voice_clone_report.csv
TODO
- Revise this README to be more useful.
Notes / TODOs:
-
Examples for good Actix+Sqlx Tests: https://stackoverflow.com/questions/65370752/how-do-i-create-an-actix-web-server-that-accepts-both-sqlx-database-pools-and-tr
-
Actix/sqlx runtime compat: https://github.com/launchbadge/sqlx/issues/1117#issuecomment-801237734
-
Redis caching of more endpoints
-
Jobs for analytics queries (#uses per model, etc)
-
Jobs for ingesting Discord, Twitter, Reddit RPAN chat, Twitch chat (not PubSub), etc.