Skip to main content

A plain-text task manager and time tracker with pluggable AI parsing (Ollama / OpenAI-compatible / Anthropic).

Project description

jasem

A plain-text task manager, time tracker, and spending log for your terminal, with pluggable AI parsing. One file, zero dependencies, your data in human-readable Markdown.

Install & run

Needs Python 3.8+.

pipx install jasem      # recommended — isolated, puts `jasem` on your PATH
# or
pip install jasem

Then write a task in plain language and see what's due:

$ jasem "pay rent next friday, high priority, finance"
✓ added #1: pay rent
  priority=high  deadline=2026-06-19  tags=finance

$ jasem today
Due today
  ☐   2  [medium]  2026-06-15 (today)  call dentist  #health

That's the whole loop: write naturally, jasem extracts the deadline, priority, and tags for you.

Features

  • Natural-language tasksjasem "submit report by friday, work" becomes a title, deadline, priority, and tags.
  • Views & editsjasem list, today, week, overdue, done 3, set 3 deadline tomorrow, rm 3.
  • Time trackingjasem track "1h 30min, code review, work", then jasem report week for per-day totals; fix or drop an entry with jasem track set 3 time 2h and jasem track rm 3.
  • Spending logjasem acc "50k lunch with the team, food" records the amount, date, and category; review with jasem acc list and jasem acc report month; edit or drop with jasem acc set 3 amount 60k and jasem acc rm 3.
  • Plain-text storage — everything lives in ~/.jasem/*.md; read, grep, edit, sync, or version-control it however you like.
  • Pluggable AI, local by default — runs fully offline with Ollama, or point it at any OpenAI-compatible API or Anthropic. If no model is reachable, tasks still save (dates parsed by regex).

Choosing an AI backend

Parsing is the only step that uses a model — pick one with environment variables:

# Local, free, private (default) — just have Ollama running
ollama serve && ollama pull qwen2.5:3b

# Any OpenAI-compatible API (OpenAI, Groq, OpenRouter, LM Studio, …)
export JASEM_PROVIDER=openai JASEM_API_KEY=sk-...
export JASEM_OPENAI_API_BASE=https://openrouter.ai/api/v1  # or OPENAI_BASE_URL

# Anthropic (Claude)
export JASEM_PROVIDER=anthropic JASEM_API_KEY=sk-ant-...

Persian (Jalali) calendar

Set JASEM_JALALI=true to work in the Persian (Jalali/Shamsi) calendar:

export JASEM_JALALI=true
jasem "pay rent 1405-04-10, finance"   # type deadlines in Jalali
jasem list                              # dates are shown in Jalali

Every date jasem shows is Jalali and every explicit date you type is read as Jalali — but your data on disk stays Gregorian ISO (YYYY-MM-DD), so the same files work with or without the flag. Relative phrases (tomorrow, next friday, in 3 days) work in both modes. Leave the variable unset (or false) for the default Gregorian calendar.

More

Run jasem help for the full command reference, every option, and all configuration variables.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jasem-0.8.1.tar.gz (45.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jasem-0.8.1-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file jasem-0.8.1.tar.gz.

File metadata

  • Download URL: jasem-0.8.1.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for jasem-0.8.1.tar.gz
Algorithm Hash digest
SHA256 9fc710db98ce1f34e575f2ac2f72f535d5efbee122edec48f849030375236cb0
MD5 87fa1016c250a0d91ccf3505551fba44
BLAKE2b-256 a339c773c07997acc1ad34c5187785a305ab6cc302d2b32504294906d77827df

See more details on using hashes here.

File details

Details for the file jasem-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: jasem-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 45.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for jasem-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c192a6a25a299078c4ffb6766120e6fc4da6f2c7ca593964f1a20b3e1aad31c2
MD5 2723bde06bd10eb2d6360cc78ee193cc
BLAKE2b-256 a634642f60f7c1f64147ad21eec14da7a0306eb77100fcc422176eeb09754481

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page