{"id":50725839,"url":"https://github.com/helloruru/no-sugar-log","last_synced_at":"2026-06-10T04:01:21.390Z","repository":{"id":345972861,"uuid":"1188083888","full_name":"HelloRuru/no-sugar-log","owner":"HelloRuru","description":"戒糖日誌 — 用蓋章的方式追蹤每天的含糖飲料攝取，手帳風設計，純前端本地儲存","archived":false,"fork":false,"pushed_at":"2026-03-21T16:00:50.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-22T06:08:22.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HelloRuru.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-21T15:43:57.000Z","updated_at":"2026-03-21T15:51:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/HelloRuru/no-sugar-log","commit_stats":null,"previous_names":["helloruru/no-sugar-log"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/HelloRuru/no-sugar-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloRuru%2Fno-sugar-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloRuru%2Fno-sugar-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloRuru%2Fno-sugar-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloRuru%2Fno-sugar-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelloRuru","download_url":"https://codeload.github.com/HelloRuru/no-sugar-log/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloRuru%2Fno-sugar-log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34136112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-10T04:01:20.377Z","updated_at":"2026-06-10T04:01:21.378Z","avatar_url":"https://github.com/HelloRuru.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eNo Sugar Log\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eStamp your way to a sugar-free life.\u003c/strong\u003e\u003cbr\u003e\n  A daily stamp tracker for quitting sugary drinks.\u003cbr\u003e\n  Like a school contact book — but for your health.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-D4A5A5?style=flat-square\" alt=\"MIT License\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/vanilla-HTML%2FCSS%2FJS-B8A9C9?style=flat-square\" alt=\"Vanilla HTML/CSS/JS\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/dependencies-zero-A8B5A0?style=flat-square\" alt=\"Zero Dependencies\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/mobile--first-responsive-E8B4B8?style=flat-square\" alt=\"Mobile First\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/version-1.0.0-C4B7D7?style=flat-square\" alt=\"v1.0.0\"\u003e\n\u003c/p\u003e\n\n---\n\n## WHAT — Quitting sugar is hard without visibility\n\nYou tell yourself \"I'll drink less this week.\" But by Friday, you've lost count. Was it three cups? Four? You can't remember which days were clean and which weren't.\n\nNo Sugar Log gives you a calendar you can stamp — like a kid's contact book. One glance and you know exactly where you stand.\n\n---\n\n## WHY — Because seeing your progress changes behavior\n\n- **Visual accountability** — empty days stare back at you; stamped days feel earned\n- **No guilt, just data** — broke your streak? Log it, see the pattern, adjust\n- **Your rules, your pace** — set your own weekly goal, from zero-sugar to \"max 3 cups\"\n\n---\n\n## HOW — Stamp, log, review\n\n### :calendar: Calendar View\n\nMonthly grid with one cell per day. Tap a day, pick a stamp:\n\n| Stamp | Meaning | When to use |\n| :--- | :--- | :--- |\n| :white_check_mark: **Sugar-free day** | No sugary drinks today | The goal — stamp it and feel good |\n| :droplet: **Sugar-free drink** | Had a drink, but no sugar | Unsweetened tea, black coffee, water with lemon |\n| :zap: **Broke the streak** | Had a sugary drink | Log it — shop, drink, sugar level, ice |\n\nStamps bounce when you tap them. Sugar-free days get a celebration animation.\n\n### :clipboard: Drink Logger\n\nWhen you break the streak, the app asks you to log:\n\n- **Shop** — where you bought it (remembers your frequent shops)\n- **Drink** — what you ordered\n- **Sugar level** — unsweetened / light / half / less / full\n- **Ice level** — no ice / light / less / regular / warm / hot\n- **Notes** — optional, for context\n\n### :bar_chart: Stats at a Glance\n\nThree numbers at the top, always visible:\n\n- **Sugar-free days** this month\n- **Broke days** this month\n- **Current streak** — consecutive sugar-free days\n\n### :dart: Custom Goals\n\nSet your own weekly target:\n\n- **Zero sugar** — the strict mode, any sugary drink breaks it\n- **Max N cups** — a gentler goal, with a progress bar showing how much quota you've used\n\n### :new_moon: Week View\n\nSwitch to week view for a closer look. Each week is a card showing 7 days + a summary (sugar-free vs broke count).\n\n### :crescent_moon: Dark Mode\n\nOne tap to switch. Warm cocoa tones — no cold blue-black.\n\n---\n\n## :iphone: Mobile First\n\nDesigned for phones. The calendar grid, stamp picker, and drink logger are all optimized for thumb-friendly tapping on small screens. Works on desktop too, but mobile is the primary experience.\n\n---\n\n## :floppy_disk: Data Storage\n\nAll data lives in your browser's `localStorage`. Nothing is sent to any server. Your data stays on your device.\n\n- Switch browsers or clear data = start fresh\n- Same browser, same device = your history is there\n\n---\n\n## :package: Setup\n\nNo build step. No dependencies. Just one HTML file.\n\n**Option A — Use it online:**\n\nVisit [tools.helloruru.com/no-sugar-log](https://tools.helloruru.com/no-sugar-log/)\n\n**Option B — Self-host:**\n\n```bash\ngit clone https://github.com/HelloRuru/no-sugar-log.git\n# Open index.html in your browser. That's it.\n```\n\n**Option C — Add to home screen (PWA-ready meta tags):**\n\nOpen the URL on your phone → Share → Add to Home Screen. It behaves like a native app.\n\n---\n\n## :art: Design\n\nBuilt with the [Hello Ruru Design System](https://ohruru.com) (DS Classic v2.2), styled as a **journal / planner (筆記手帳風)**:\n\n- Warm pink-brown palette with lavender accents\n- GenSenRounded + Huninn (粉圓體) dual font system\n- Paper texture backgrounds with notebook ruled lines\n- Washi tape decorations on cards and section dividers\n- Dashed borders mimicking journal page aesthetics\n- Stamp bounce animation on tap\n- Dark mode with warm cocoa tones\n\n---\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eChangelog\u003c/strong\u003e\u003c/summary\u003e\n\n**v1.1.0 — Journal Style Update**\n- Redesigned as 筆記手帳風 (journal/planner style)\n- Added Huninn (粉圓體) font for headers and UI elements\n- CSS paper texture backgrounds with subtle dot pattern\n- Notebook ruled lines inside calendar and cards\n- Washi tape decorations (CSS-based, no image dependencies)\n- Dashed borders replacing solid borders for journal feel\n- Section tape dividers between content blocks\n- Wavy underline on interactive elements\n\n**v1.0.0 — Initial Release**\n- Monthly calendar view with tap-to-stamp\n- Week view with per-week summary cards\n- Three stamp types: sugar-free day, sugar-free drink, broke streak\n- Drink logger: shop, drink name, sugar level, ice level, notes\n- Shop memory (remembers frequent shops)\n- Weekly goal setting (zero sugar or max N cups)\n- Stats: sugar-free days, broke days, current streak\n- Dark mode (warm cocoa)\n- Mobile-first responsive design\n- SEO meta tags + Open Graph + Twitter Card\n- PWA-ready meta tags\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eFile structure\u003c/strong\u003e\u003c/summary\u003e\n\n```\nno-sugar-log/\n  index.html    # Everything — HTML, CSS, JS in one file\n  README.md     # This file\n  LICENSE       # MIT\n```\n\n\u003c/details\u003e\n\n---\n\n## License\n\nMIT — see [LICENSE](LICENSE) for details.\n\n---\n\n\u003cp align=\"center\"\u003e\n  Made by \u003ca href=\"https://ohruru.com\"\u003eHelloRuru\u003c/a\u003e\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloruru%2Fno-sugar-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloruru%2Fno-sugar-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloruru%2Fno-sugar-log/lists"}