Skip to content

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TYOQ — Type Your Own Quotes

CI Go 1.26.4 License: MIT

A MonkeyType-inspired typing TUI

Usage

Typing practice (Go)

cd ./tools
go run ./cmd/typing/main.go 

Components

Component Path Description
Typing TUI tools/internal/typing/, tools/cmd/typing Bubbletea TUI with WPM/accuracy
Scraper tools/internal/scraper/, tools/cmd/scraper/ Scrapes quotes to JSONL
Seed generator tools/internal/genseed/, tools/cmd/genseed/ Generates sqlite seed file from JSONL
Database data/seed.db sqlite3 schema + seed

Data format

quotes.jsonl is JSON Lines — one JSON object per line:

{"text":"Be yourself; everyone else is already taken.","author":"Oscar Wilde","source":"","tags":null}
{"text":"So many books, so little time.","author":"Frank Zappa","source":"","tags":["books","humor"]}
Field Type Notes
text string the quote body
author string e.g. "Oscar Wilde"
source string book/work title, often ""
tags array of strings quote tags, or null

Roadmap

  • Typing UI built in python using curses library
  • Webscraping quotes
  • PostgreSQL database with seed data
  • Migrate to sqlite
  • Wire the typing TUI to the database
  • Replace UI with Bubbletea
  • Clean quotes
  • Filter quotes by author & length
  • Save progress
  • Save custom quotes
  • Different themes for the UI

License

MIT — see LICENSE.

About

A TUI to practice typing. Has wpm and accuracy indicator. Type stock quotes or paste your own text in

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages