Implement full web dashboard with authentication
- Added jinja2 and itsdangerous dependencies to requirements.txt - Created templates directory with base layout and dashboard pages - Implemented login/logout with session-based authentication - Added dashboard overview page showing server stats - Added configuration editors for: - Providers (providers.json) - Rotations (rotations.json) - Autoselect (autoselect.json) - Condensation prompts (markdown files) - Server settings (aisbf.json) - Dashboard accessible at /dashboard with configurable username/password - Session middleware with secure random secret key - Authentication middleware skips dashboard routes - All config changes saved to ~/.aisbf/ directory - Dashboard config loaded from aisbf.json (username, password) - Default credentials: admin/admin
Showing
This diff is collapsed.
| ... | ... | @@ -12,4 +12,6 @@ anthropic |
| langchain-text-splitters | ||
| tiktoken | ||
| torch | ||
| transformers | ||
| \ No newline at end of file | ||
| transformers | ||
| jinja2 | ||
| itsdangerous | ||
| \ No newline at end of file |
templates/base.html
0 → 100644
Please
register
or
sign in
to comment