How maxiknows/maxi-knows works
Whoknows Variations is a tutorial repository with a legacy Flask application and a separate Go implementation of a small multilingual page-search site with registration and login routes. The principal workflow is a visitor submitting a search, the server querying page records, and results being returned or rendered. The Flask source also shows session-backed authentication and HTML pages; Go authentication routes do not show session handling. The Go storage helpers are not called by its HTTP server. The tree and sampled files do not establish a shared schema or database initialization workflow.
Main entry points: data SQLite database · main.go Go HTTP server · app.py Flask routes · templates Flask templates
Components 11
Flask application
- Flask routes
legacy-python/backend/app.py - Flask auth
legacy-python/backend/app.py - Flask templates
legacy-python/backend/templates
Go application
- Go HTTP server
go/cmd/maxi-knows/main.go - Go search API
go/cmd/maxi-knows/main.go - Go auth routes
go/cmd/maxi-knows/main.go - Go templates
go/templates
Persistence
- SQLite database
data - Storage query helpers
go/internal/storage/queries.go - Database initializer
go/internal/storage/init_db.go
Other components
- Visitor
Connections 14
- Visitor → Flask routes: sends requests
- Flask routes → SQLite database: queries pages
- Flask routes → Flask templates: renders pages
- Visitor → Flask auth: submits credentials
- Flask auth → SQLite database: reads and writes users
- Flask auth → Flask templates: renders auth forms
- Visitor → Go HTTP server: sends requests
- Go HTTP server → Go search API: dispatches search
- Go search API → SQLite database: queries pages
- Go HTTP server → Go auth routes: dispatches auth
- Go auth routes → SQLite database: reads and writes users
- Go HTTP server → Go templates: renders pages
- Storage query helpers → SQLite database: queries records
- Database initializer → SQLite database: creates tables