跳到正文
DEV Community· Salugu Harshita Bhanu·· 3 小時前AI 評分46

Namakemono:我打造本機 CLI,代我閲讀日文官方文件

Namakemono なまけもの — I built a local sloth to read my Japanese paperwork so I don't have to

AI 導讀

Namakemono 是一款本機 CLI,可把日文官方文件整理成英文摘要和待辦清單,並列出文件急迫程度、所需物品及 5 個附讀音的日文詞語。它以 Ollama 在筆記簿型電腦上本機執行 Gemma 3 4B,並輸出可匯入 Google Calendar 或 Apple Calendar 的截止日期日曆檔;無需網絡、API key 或訂閲。

正文

Salugu Harshita Bhanu

Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady

What I Built

Hi there ! in about a year I'm moving to Japan for my first job. I've been studying Japanese on Duolingo. I know enough to order food and embarrass myself at a convenience store. I do not know enough to parse a letter from the ward office about my residence registration deadline.
Namakemono (なまけもの — Japanese for sloth) is a local CLI that reads Japanese official paperwork and digests it into plain English. You drop .txt files into an inbox/ folder, run one command, and get:

  • out/digest.md — documents sorted by urgency, each with a 2-sentence English summary, an action checklist, what to bring, and 5 key Japanese terms with readings
  • out/deadlines.ics — a calendar file you can import into Google Calendar or Apple Calendar
  • Per-file JSON cache, so the second run is instant The whole thing runs locally on my laptop using Gemma 3 4B via Ollama. No internet. No API key. No subscription. One Python file. Who gets to be lazier? Me, when I move to Japan. And hopefully anyone else drowning in official Japanese letters. ## Demo The full source is on GitHub — clone it, drop a Japanese .txt into inbox/, and run it yourself: 👉 github.com/Git-brintsi20/Namakemono-

來源:DEV Community · dev.to