Odak for VS Code and Cursor
Start Odak focus sessions without leaving the editor.
- Status bar countdown for the running session: focus blocks, breaks and flow sessions. Sessions started on your phone show up too.
- Presets: Pomodoro (4 × 25 min, 5 min breaks), a single 25 minutes, 52 / 17, 90 / 20, or your own length.
- Today's focus in the status bar when nothing is running; this week's time, level and streak one click away.
- Sessions are named after your workspace, so you can see what you focused on in the Odak app.
- Rewards work as in the app: XP, coins and your streak.
Works in VS Code and in editors built on it, such as Cursor.
Sign in
Run Odak: Sign in from the Command Palette.
- GitHub: link GitHub once in the Odak app (Settings › Developer › GitHub), then sign in here with a one-time code.
- API key: create one in the Odak app (Settings › Developer › API keys) with the read and sessions permissions and paste it.
The key is kept in the editor's secure storage (your system keychain), never in settings files. In dev containers and Codespaces you can set the ODAK_API_KEY environment variable instead, as with the Odak CLI.
Commands
| Command |
|
| Odak: Start focus session |
pick a preset or a custom length |
| Odak: Finish focus session |
ends the running session; finished blocks are rewarded |
| Odak: Show today's focus |
today, this week, level and streak |
| Odak: Sign in / Sign out |
|
Click the status bar item for the same menu.
Settings
| Setting |
Default |
|
odak.sessionTitle |
workspace |
name sessions after the workspace, or leave them unnamed |
odak.showTodayInStatusBar |
true |
today's focus time when idle |
odak.finishAutomatically |
true |
finish sessions started in this window when their time is up |
odak.apiUrl |
https://odak.tunasoft.org |
only for a self-hosted or test server |
Privacy
The extension talks only to the Odak server (and to GitHub during GitHub sign-in). It sends the session length and, by default, the workspace name as the session title. Set odak.sessionTitle to none to send no name.
Türkçe
Odak odak seanslarını editörden çıkmadan başlat. Durum çubuğunda süren seansın geri sayımı (telefonda başlattıkların da görünür), Pomodoro ve derin çalışma ön ayarları, bugünkü odak süren ve serin. Komut paletinden Odak: Giriş yap ile GitHub ya da API anahtarıyla (Odak uygulaması › Ayarlar › Geliştirici) giriş yap. Anahtar editörün güvenli deposunda (sistem anahtarlığı) tutulur.