|
|
||
|---|---|---|
| .github/workflows | ||
| _docs | ||
| _migrations | ||
| _migrations_squashed/tts_tables | ||
| _migrations_todo/2022-03-14-035745_twitch_event_match_logs | ||
| analytics | ||
| configs | ||
| crates | ||
| db | ||
| debug | ||
| localdev/nginx-http-config | ||
| models | ||
| old_code | ||
| scripts | ||
| seed | ||
| static | ||
| tools | ||
| .dockerignore | ||
| .env | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| README.md | ||
| codegen_database.sh | ||
| dev_database_connect.sh | ||
| diesel.toml | ||
| loc.sh | ||
| rustfmt.toml | ||
| sqlx-data.json | ||
README.md
storyteller-rust
Our Rust monorepo, which services our API surface area.
Application overview
-
storyteller_web
storyteller-web- HTTP + database monolith for FakeYoutts-download-job- Async download of modelstts-inference-job- Async TTS inferencew2l-download-job- Async download of videos and imagesw2l-inference-job- Async W2L inference
-
obs_gateway
obs-gateway-server- websocket for hosting OBS, twitch pieces (move!)twitch-pubsub-job- Subscribes to Twitch PubSubtwitch-chat-job(TODO) - Subscribes to Twitch chatreddit-chat-job(TODO) - Subscribes to Reddit RPAN chat
-
social
discord-chat-job(TODO) - Subscribes to Reddit RPAN chattwitter-feed-job(TODO) - Subscribes to Reddit RPAN chat
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
-
Jobs for analytics queries
-
Pull jobs into own repo