我厭倦了每天早上重讀自己的筆記,於是開發了 SlothAI
I was tired of reading my own notes every morning, so I built SlothAI
作者開發了 SlothAI,讓用戶睡前貼上筆記和訊息,早上查看整理好的摘要及優先事項。現時工具在瀏覽器內以規則引擎本機分類,不呼叫 API 或伺服器;作者測試 3 天,每天處理 17 至 31 項內容,閲讀時間由平常約 6 至 12 分鐘縮短至 2 秒。作者表示,下一步計劃加入 Ollama 和 Gemma 2B 整合。
So here's the thing about mornings
I hate them. Specifically, I hate the first 15 minutes where I'm half-asleep but somehow expected to figure out what I need to do today.
Every single morning I'd open WhatsApp, then my notes app, then my email, then somehow end up doom-scrolling Instagram while "checking" my messages. By the time I actually knew what was urgent, I'd already wasted 20 minutes of the only time my brain was actually sharp.
So I built SlothAI — a dumb-simple tool where I paste all my notes and messages before bed, and it gives me a clean little briefing in the morning. That's it.
I named it after International Sloth Day (October 20 ) which fell right in the middle of this week's challenge. Honestly felt like a sign.
What it actually does
You paste in literally anything — group chat messages, half-finished todos, voice note transcripts, "remember to call mom" type stuff. Then you pick how you want your morning to feel:
- Calm mode — gentle, chill summary, like a friend reminding you of stuff
- Bullet mode — no-fluff, just what needs doing
- Hype mode — if you actually like aggressive good-morning energy
Then SlothAI spits out:
- A 2-line summary of your day
- Everything sorted by priority (High / Medium / Low)
- A little "sloth wisdom" tip because why not
- Stats on how much reading time it saved you
Here's what a real output looks like for me on a busy day:
Good morning You have 3 time-sensitive items today and 5 things that can breathe. Take it slow — your sloth brain's got this.
That's it. That's what I needed.
The open-source AI part
The whole point of this challenge is open-weight models, so let me actually explain what I did.
Right now the app runs a rule-based engine in the browser — it detects urgency keywords ("due today", "EOD", "call", "bill") and classifies everything locally. No API call, no server. Your WhatsApp messages don't go anywhere.
But the architecture is built to drop in a real local LLM in literally one function swap:
// Currently the app uses a local rule engine.
// To upgrade to Gemma 2B via Ollama, just replace localAIInfer() with:
const res = await fetch('http://localhost:11434/api/generate', {
method: 'POST',
body: JSON.stringify({
model: 'gemma2',
prompt: `Read these notes and give me a JSON with: summary (2 sentences), actions (array of {text, priority: high/medium/low}), and a calming tip. Notes: "${text}"`,
stream: false
})
});
const result = JSON.parse((await res.json()).response);
I kept it as a browser-only tool for now because I wanted zero setup — open the HTML file, it just works. Ollama integration is the obvious next step.
Why not just use ChatGPT for this?
Honestly? I tried. The problem:
- My morning notes have people's names, client stuff, personal reminders. I don't love pasting that into OpenAI's servers every day.
- It costs money per request. 365 days = actual money.
- I'm offline sometimes (train rides, early mornings with bad wifi). A local model doesn't care.
With an open-weight model like Gemma running via Ollama, all three problems disappear. That's genuinely why open-source AI matters for this specific use case — it's not just a philosophical thing, it's practical.
Did it actually work?
I tested it on myself for 3 days with real notes. Here's what I tracked:
| Day | Lines of input | Time I'd normally spend | SlothAI time |
|---|---|---|---|
| Monday | 23 items + some WhatsApp | ~8 mins | 2 seconds |
| Tuesday | 17 items | ~6 mins | 2 seconds |
| Wednesday | 31 items (rough day) | ~12 mins | 2 seconds |
Is it perfect? No. On Wednesday it missed that one of my "low priority" items was actually kind of urgent. But even then, it cut my morning reading from 12 minutes to "glance at screen for 5 seconds and go make coffee."
My roommate tried it and said, and I quote: "bro why does this feel like someone read my brain." So yeah, I'd say it works.
How to run it
No npm. No build step. No account.
- Download the repo
- Open
week3/index.htmlin your browser - Paste your notes
- Done
GitHub: github.com/bhavyapandiya29/slothai
What I'd build next
- A browser extension that auto-collects your notifications overnight, so you don't even have to paste anything in the morning
- Proper Ollama + Gemma 2B integration so the summaries are actually LLM-quality
- A scheduled mode that generates at 7am and pushes to your phone
For now though — it solves the problem I had. And it runs entirely on my laptop. Good enough for me.
Hacktoberfest 2026 · Week 3 · Slow and Steady · Built with open-source AI · All processing local
來源:DEV Community · dev.to