nightporter: I stopped reading my inbox, so a 0.5B model does it while I sleep
This is a submission for Hacktoberfest Open-Source AI Challenge: Week 3 . What I Built nightporter — a local porter that carries your inbox weight overnight. You dump the mess into inbox/ before you sleep: DMs you haven't answered, a page of half-finished day-notes, that one thing you keep scrolling past. You run one command (or let cron do it, which is the point). You wake up to morning.md : two…
This story details a small local AI model that reads and summarizes emails while the user sleeps. The user places email files in an "inbox" directory, then runs a script called "nightporter.sh". The script utilizes llama.cpp and a small Qwen2.5-0.5B model to read the emails and generate summaries of each one.
After summarizing the emails into two concise lines, the script moves the original email files to a "done" directory and leaves the unread emails in place. The two lines of summary are placed in a "morning.md" file, along with the total number of emails processed. Any additional emails that don't fit in the two lines are listed in a "ledger.md" file.
The entire process only takes about 15 seconds to run on a single CPU core, requiring no internet connection or API keys. All the code is only about 90 lines of bash scripting. The result is an automated system that reads your emails overnight so you don't have to deal with them in the morning.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.