GitHunt
SS

SSSayon/nihongo-notes

shit pooped with vibe coding

ๆ—ฅๆœฌ่ชž Notes

A Japanese learning notes management system, featuring LLM-powered content generation from minimal user input.

Page link: https://sssayon.github.io/nihongo-notes

Quick Start

1. Install Dependencies

git clone https://github.com/SSSayon/nihongo-notes.git && cd nihongo-notes
pip install -r requirements.txt

2. Configure API Keys

cp .streamlit/secrets.toml.example .streamlit/secrets.toml

Edit .streamlit/secrets.toml to add your API Keys.

3. Run the Management Interface

streamlit run app/main.py

There, you can interact with LLMs to add or update notes.

Clicking the ๐Ÿš€ ๆž„ๅปบ็ฝ‘็ซ™ button will automatically commit and push changes to GitHub, triggering a workflow that deploys the site to GitHub Pages.

(Optional) 4. Preview the Website Locally

# Build the Markdown files
python build.py

# Start the local preview server
mkdocs serve

Project Structure

nihonngo/
โ”œโ”€โ”€ data/                   # data directory
โ”‚   โ”œโ”€โ”€ verbs.json
โ”‚   โ”œโ”€โ”€ grammar.json
โ”‚   โ””โ”€โ”€ vocabulary.json
โ”œโ”€โ”€ app/                    # Streamlit admin
โ”‚   โ”œโ”€โ”€ main.py                 # main entry
โ”‚   โ”œโ”€โ”€ llm_client.py           # unified LLM API calls
โ”‚   โ”œโ”€โ”€ data_manager.py         # data management utilities
โ”‚   โ”œโ”€โ”€ prompts.py              # prompt templates
โ”‚   โ””โ”€โ”€ config.py               # configuration file
โ”œโ”€โ”€ docs/                   # MkDocs documentation sources
โ”‚   โ”œโ”€โ”€ index.md
โ”‚   โ”œโ”€โ”€ verbs.md
โ”‚   โ”œโ”€โ”€ grammar.md
โ”‚   โ”œโ”€โ”€ vocabulary.md
โ”‚   โ””โ”€โ”€ stylesheets/
โ”‚       โ””โ”€โ”€ extra.css
โ”œโ”€โ”€ .streamlit/
โ”‚   โ””โ”€โ”€ secrets.toml        # API keys (do not upload)
โ”œโ”€โ”€ .github/
โ”‚   โ””โ”€โ”€ workflows/
โ”‚       โ””โ”€โ”€ deploy.yml      # automatic deployment
โ”œโ”€โ”€ build.py                # JSON โ†’ Markdown build script
โ”œโ”€โ”€ mkdocs.yml              # MkDocs configuration
โ””โ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md
SSSayon/nihongo-notes | GitHunt