{"id":41141975,"url":"https://github.com/ykumards/dwriter","last_synced_at":"2026-01-22T18:50:52.196Z","repository":{"id":255081256,"uuid":"835732383","full_name":"ykumards/dwriter","owner":"ykumards","description":"A minimalist journal written in React with emotion detection","archived":false,"fork":false,"pushed_at":"2025-03-21T12:30:42.000Z","size":12567,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T12:31:47.361Z","etag":null,"topics":["bert","emotion","journal","onnx-runtime","react","transformersjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ykumards.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-30T12:26:22.000Z","updated_at":"2025-03-21T12:30:46.000Z","dependencies_parsed_at":"2025-03-21T12:43:02.187Z","dependency_job_id":null,"html_url":"https://github.com/ykumards/dwriter","commit_stats":null,"previous_names":["ykumards/dwriter"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ykumards/dwriter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykumards%2Fdwriter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykumards%2Fdwriter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykumards%2Fdwriter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykumards%2Fdwriter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ykumards","download_url":"https://codeload.github.com/ykumards/dwriter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykumards%2Fdwriter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28668523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bert","emotion","journal","onnx-runtime","react","transformersjs"],"created_at":"2026-01-22T18:50:52.069Z","updated_at":"2026-01-22T18:50:52.181Z","avatar_url":"https://github.com/ykumards.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DoomsWriter\n\n\u003cdiv style=\"text-align: center;\"\u003e\n  \u003cimg src=\"src/assets/dw_logo.png\" alt=\"DoomsWriter Logo\" width=\"300\"/\u003e\n\u003c/div\u003e\n\n\u003e Note: Still under active development. Expect breaking changes and use with caution.\n\n## Hello\n\nDoomsWriter (DW) is a minimalistic journal app that destroys the text and retains the emotion.\n\nIt started as a way for me to learn React but I extended it a bit to embed small [DistilRoberta model](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base) to do real-time emotion detection. The app uses [transformers.js](https://huggingface.co/docs/transformers.js/index) to serve the model on the edge using ONNX Runtime and WASM so nothing leaves your system.\n\n\n## Features\n\nThe app is pretty basic and has two main views (or Components 😉️) -- Editor and Calendar.\n\n- Type the text in the Editor and get real-time emotion recognition (this can be turned off if its too distracting).\n- Capture the emotion and clear the text by pressing `Cmd + enter`.\n- View the emotions in the Calendar. You can click the dates in the calendar to view previous emotions.\n\n### Keyboard Shortcuts\n\nDWriter is mostly keyboard driven.\n\n- The shortcut `Cmd + ;` toggles between Editor and Calendar views.\n- The shortcut `Cmd + enter` captures the current text.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"src/assets/editor-screenshot.png\" alt=\"alt text\" width=\"400\"/\u003e\n  \u003cimg src=\"src/assets/calendar-screenshot.png\" alt=\"alt text\" width=\"370\"/\u003e\n\u003c/p\u003e\n\n### Emotions\n\nDWriter only captures the emotions of your journal entry and forgets the actual text. Emotions are based on *Ekman's 6 basic emotions* and a neutral ([model card](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base))\n\n1. anger 🤬\n2. disgust 🤢\n3. fear 😨\n4. joy 😀\n5. neutral 😐\n6. sadness 😭\n7. surprise 😲\n\n## Inside\n\nThe frontend is written in plain-ol Javascript and React. I took a gamble and used [Tauri](https://tauri.app/) instead of [Electron](https://josephg.com/blog/electron-is-flash-for-the-desktop/) for the multi-platform support, and so far it has been very plesant!\n\n## Installation\n\n\u003e Note: Currently, we are in pre-release and the app is only supported on MacOS. Linux and Windows support on its way soon!\n\n#### MacOS\n\nYou can download the `.dmg` from the [releases](https://github.com/ykumards/dwriter/releases). If you find this sus, you can also build from source.\n\n## Building from source\n\nYou need to have `node` and `tauri` installed.\n\n- To install dependendies, run `npm install` from the root directory.\n\n- `npm run dev` opens the app in dev mode with vite HR.\n- `npm run build` creates the dist folder\n- `npm run tauri dev` opens the app in Tauri dev mode (which is basically Edge browser)\n- `npm run tauri build` to build the tauri app. The packaged app can be found in the releases folder (`src-tauri/target/release/bundle/`)\n\n## Credits\n\nThe app uses `j-hartmann/emotion-english-distilroberta-base` with ONNX runtime and WASM to serve. Leave them a  ❤️️!\n\nAm still learning React and benefited greatly from [Full Stack Open course](https://fullstackopen.com/en/) from UoH, specially for introducing me to vite!\n\nAnd of course, GH Co-pilot, where will I be without you 😍️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fykumards%2Fdwriter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fykumards%2Fdwriter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fykumards%2Fdwriter/lists"}