DimiCheck terminal dashboard
Project description
DimiCheck TUI
DimiCheck TUI is a terminal dashboard for DimiCheck students. It uses the public OAuth PKCE flow and calls only the student app API surface for v1.
Install
Use pipx for the public install path:
pipx install dimicheck-tui
dimicheck-tui
The package also exposes dimicheck as a short alias. Prefer dimicheck-tui if another local deploy tool already uses the dimicheck command name.
For local development from this checkout:
cd packages/dimicheck-tui
uv run dimicheck-tui --help
uv run dimicheck-tui
Set DIMICHECK_BASE_URL when testing against a local or staging server:
cd packages/dimicheck-tui
DIMICHECK_BASE_URL=http://127.0.0.1:5000 uv run dimicheck-tui
Authentication
The TUI never asks for a password in the terminal. On first launch it opens the browser, signs in through DimiCheck OAuth, and stores tokens through the OS credential store.
- macOS: Keychain
- Windows: Credential Manager
- Linux: Secret Service compatible keyring
If the OS keyring is unavailable, the app fails closed by default. For controlled environments you can explicitly allow a local token file:
dimicheck-tui --allow-plaintext-token
That fallback writes a 0600 permission file. Do not use it on shared machines.
Commands
dimicheck-tui # open the TUI dashboard
dimicheck-tui login # browser OAuth login
dimicheck-tui logout # revoke refresh token and delete local tokens
dimicheck-tui status get # print current status
dimicheck-tui status set toilet
dimicheck-tui status set etc --reason "상담"
dimicheck-tui schoollife # print today's timetable and meal
TUI shortcuts:
S: change statusR: refresh dashboardL: logoutQ: quit
Status modal shortcuts:
1-9: choose a statusEnter: applyEsc: cancelTab/Shift+Tab: move focus between status choices, reason input, and buttons
v1 Scope
The public v1 supports:
- current student status read/write
- today's schoollife summary
- OAuth PKCE login/logout
It intentionally does not expose routine editing, teacher/admin tools, browser session cookies, remember tokens, or /api/mcp/state.
Server Notes
The server seeds a dedicated public OAuth client:
- client id:
dimicheck-tui-public - redirect URI ports:
45831through45835 - scopes:
openid basic student_info status.read status.write
Server deployments should happen from the repository root. This package is intentionally separate so the public TUI release does not include Flask, database, or Google Sheets dependencies.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dimicheck_tui-0.1.2.tar.gz.
File metadata
- Download URL: dimicheck_tui-0.1.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
544c3d6aa75dce427bd8d4f11e299012fc92ba3df77c9d8fd3063d4e978c9107
|
|
| MD5 |
022ded380474c39b1b10a4f9eae90f29
|
|
| BLAKE2b-256 |
efd77ca968bf650930c7bab5453b2237891ef63422a2d61cb4331b0f232d93a0
|
File details
Details for the file dimicheck_tui-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dimicheck_tui-0.1.2-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41ecdcee5a5b0f33363b5311ea74129537f5fb0d3fbb71c67c9ebeb7c9501708
|
|
| MD5 |
70d646206bde6fc8f2907efb3892c1ef
|
|
| BLAKE2b-256 |
fcb928ad039c9dfaf8d3c98aec919b764f33be9be8ea72c2c35ee8edb5a5aee4
|