Inspiration

Most of what gets decided in a day is said out loud or sent in a chat, and then forgotten. Tasks slip, promised emails never get written, and meetings never make it to the calendar. Many people also think and talk in more than one language, including Nigerian Pidgin, Hausa, Yoruba, Arabic, and Chinese, and most productivity tools only work well in English. We wanted one place where you can just talk or type in whatever language you're comfortable in, and get your day organised.

What it does

Dayline turns a conversation into organised work:

Tasks: action items with owners, due dates, amounts and status, plus a "Set reminder in Google Calendar" link. Email drafts: editable drafts with an "Open in Gmail" link that fills in the recipient, subject and body. The user presses Send in Gmail. Dayline never sends anything itself. Calendar events: an "Add to Google Calendar" link and an .ics file export. Business desk: jobs, expenses, invoices, payments and balances. A reply to the speaker in the same language, script and writing style they used. If the message is just chat, the reply explains what Dayline understood without inventing a task. Voice input: the user records a voice note in any language. The audio goes straight to the AI, which transcribes it and extracts the items. It does not go through English text first. Translate: the results and reply can be translated into English or any other language the user types. Clear: one button starts a new conversation. Every suggestion shows the exact words it came from. Items whose quote isn't in the original text are flagged for review.

How we built it

Front end: plain HTML, CSS and JavaScript. No framework. Voice: the browser's MediaRecorder captures audio. We convert it to 16 kHz WAV and send it to the server. Server: Cloudflare Pages Functions with two endpoints, one for understanding conversations and one for translation. AI: Google's Gemini API (gemini-3.5-flash-lite) with structured JSON output. The prompt asks it to detect the language and writing style, reply in kind, and never translate quotes. Calendar and Gmail: links built from the extracted fields, so nothing needs a Google login. Hosting: Cloudflare Pages, with the Gemini key stored as a server-side secret. Quality: a npm run check syntax check, run automatically by GitHub Actions on every push.

Challenges we ran into

•The browser's built-in speech recognition turned Pidgin and other languages into English text, so we changed the voice input to send audio directly to the AI. •The first version labelled Nigerian Pidgin as English. Pidgin borrows many English words, so we had to tell the model explicitly that it is a separate language. •Gemini sometimes returns a "high demand" error. We added automatic retries and show the real status when it fails. •Not every spoken or written date and time is clear, so the model leaves those fields empty rather than guessing. Calendar links still open so the user can set the date. •Keeping the Gemini key off the client required moving all AI calls to the server.

Accomplishments we're proud of

•It works across languages and scripts. In testing, it handled Nigerian Pidgin, Hausa, Yoruba, Arabic, French, and Chinese, replying in each one's writing style. •Every suggestion is traceable to the original words, so users can check the AI's work before acting. •Nothing is sent or scheduled automatically. The user always presses the final button. •It runs entirely on free-tier hosting, with no sign-in required.

What we learned

•For multilingual apps, the input path matters as much as the model. Converting speech to text first can throw away the language. •Structured output plus a check that each quote exists in the source text catches most made-up items. •Building the reminder and calendar links from the same fields as the extracted items keeps the flow simple for the user.

What's next

•Save items across sessions, with optional sign-in. •Support for offline use and low-bandwidth voice notes. •A business dashboard for small traders who record sales and invoices in their own language.

Built With

Share this project:

Updates

Submission history