How putrayana267-afk/superpowers works
Asisten Guru is an Indonesian teacher’s toolkit for generating teaching materials with AI, reviewing and exporting results, and managing saved work and preferences. The main flow runs from the app shell through tool selection and input, AI generation, result handling, and local persistence. The tree also shows dashboard, curriculum, question-bank, and time-zone capabilities. The supplied README describes a different product, so it is not used as evidence; links to serverless handlers are shown as unverified because their request wiring was not excerpted.
Main entry points: App.tsx App shell · ai.ts AI client · Settings.tsx Settings · bankSoal.ts Question-bank format
Components 22
Teacher experience
- App shell
asisten-guru/src/App.tsx - Home dashboard
asisten-guru/src/components/Beranda.tsx - Application bootstrap
asisten-guru/src/main.tsx
Generation workflow
- Tool inputs
asisten-guru/src/components/ToolForm.tsx - Tool registry
asisten-guru/src/features/tools/registry.ts - Curriculum data
asisten-guru/src/data/kurikulum.ts - Prompt builder
asisten-guru/src/features/tools/promptBuilder.ts - AI client
asisten-guru/src/services/ai.ts - Generate handler
asisten-guru/api/generate.ts - Suggest handler
asisten-guru/api/suggest.ts - Question-bank format
asisten-guru/src/features/tools/bankSoal.ts - Result panel
asisten-guru/src/components/ResultPanel.tsx
Saved work
- History
asisten-guru/src/lib/storage.ts - Offline generations
asisten-guru/src/lib/db.ts - Saved library
asisten-guru/src/components/Perpustakaan.tsx
Personalization
- Settings
asisten-guru/src/components/Settings.tsx - Teacher profile
asisten-guru/src/lib/profil.ts - Theme preferences
asisten-guru/src/lib/theme.ts - Time-zone selection
asisten-guru/src/features/waktu/useZonaWaktu.ts - Curated cities
asisten-guru/src/features/waktu/kota.ts
Other components
- Teacher
- Google Gemini
Connections 24
- Teacher → App shell: uses
- Application bootstrap → App shell: renders
asisten-guru/src/main.tsx - Application bootstrap → Offline generations: initializes
asisten-guru/src/main.tsx - App shell → Tool registry: selects tools
asisten-guru/src/App.tsx - App shell → Tool inputs: renders
asisten-guru/src/App.tsx - App shell → Home dashboard: shows dashboard
asisten-guru/src/components/Beranda.tsx - Tool registry → Curriculum data: uses options
- App shell → AI client: requests generation
asisten-guru/src/App.tsx - AI client → Prompt builder: builds prompts
asisten-guru/src/services/ai.ts - AI client → Question-bank format: builds question prompts
asisten-guru/src/services/ai.ts - AI client → Google Gemini: sends requests
asisten-guru/src/services/ai.ts - AI client → Generate handler: may call proxy
- AI client → Suggest handler: may call proxy
- App shell → Question-bank format: parses results
asisten-guru/src/App.tsx - App shell → Result panel: renders results
asisten-guru/src/components/ResultPanel.tsx - Result panel → Question-bank format: renders question bank
asisten-guru/src/components/ResultPanel.tsx - App shell → History: loads and saves
asisten-guru/src/App.tsx - App shell → Offline generations: saves generations
asisten-guru/src/App.tsx - App shell → Saved library: shows saved work
asisten-guru/src/App.tsx - Settings → Offline generations: stores API key
asisten-guru/src/components/Settings.tsx - Settings → Teacher profile: loads and saves
asisten-guru/src/components/Settings.tsx - Settings → Theme preferences: loads and sets
asisten-guru/src/components/Settings.tsx - Settings → Time-zone selection: configures
asisten-guru/src/components/Settings.tsx - Time-zone selection → Curated cities: maps time zones
asisten-guru/src/features/waktu/useZonaWaktu.ts