{"id":50324808,"url":"https://github.com/xuyui/love-anniversary","last_synced_at":"2026-05-29T05:04:15.154Z","repository":{"id":358759141,"uuid":"1242667048","full_name":"XuYui/love-anniversary","owner":"XuYui","description":"Portfolio-ready full-stack anniversary memory app built with Express, SQLite, and vanilla JavaScript.","archived":false,"fork":false,"pushed_at":"2026-05-18T23:38:54.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T01:41:51.619Z","etag":null,"topics":["express","full-stack","portfolio","sqlite","vanilla-javascript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/XuYui.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-05-18T16:30:01.000Z","updated_at":"2026-05-18T23:38:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/XuYui/love-anniversary","commit_stats":null,"previous_names":["xuyui/love-anniversary"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/XuYui/love-anniversary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XuYui%2Flove-anniversary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XuYui%2Flove-anniversary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XuYui%2Flove-anniversary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XuYui%2Flove-anniversary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XuYui","download_url":"https://codeload.github.com/XuYui/love-anniversary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XuYui%2Flove-anniversary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33637486,"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-05-29T02:00:06.066Z","response_time":107,"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":["express","full-stack","portfolio","sqlite","vanilla-javascript"],"created_at":"2026-05-29T05:04:00.142Z","updated_at":"2026-05-29T05:04:15.148Z","avatar_url":"https://github.com/XuYui.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 恋爱纪念册 Love Anniversary\n\n一个响应式全栈恋爱纪念应用，用来记录相爱天数、城市足迹、100 件小事、时光邮局、每日打卡、许愿池和三周年回顾放映。\n\n## 一键下载\n\n下载最新源码压缩包：\n\n[love-anniversary-source.zip](https://github.com/XuYui/love-anniversary/releases/latest/download/love-anniversary-source.zip)\n\n也可以访问 [Releases 页面](https://github.com/XuYui/love-anniversary/releases) 查看历史版本。\n\n## 项目亮点\n\n- Express + SQLite 后端，提供清晰的 REST API。\n- 原生 HTML/CSS/JavaScript 前端，无重型前端框架依赖。\n- 支持足迹地图、相册、愿望清单、时光邮局、每日打卡、许愿池和纪念日放映。\n- 支持图片上传与本地媒体素材库读取。\n- 数据目录可配置，服务器更新代码时不会覆盖已有数据库、照片或音乐。\n- 配置 GitHub Actions，每次推送都会执行语法检查。\n\n## 技术栈\n\n- Node.js 22+\n- Express 5\n- SQLite\n- Multer\n- Leaflet\n- HTML / CSS / Vanilla JavaScript\n\n## 快速启动\n\n```bash\nnpm ci\nnpm start\n```\n\n启动后打开：\n\n```text\nhttp://localhost:3000\n```\n\n运行检查：\n\n```bash\nnpm run check\n```\n\n部署或升级前备份数据：\n\n```bash\nnpm run backup:data\n```\n\n## 数据与隐私\n\n默认本地路径：\n\n- 数据库：`memory.db`\n- 音乐：`music/`\n- 图片：`pictures/`\n\n生产环境建议把数据放到仓库目录之外，例如：\n\n```bash\nPORT=3000\nDATA_DIR=/srv/love-anniversary/shared\n```\n\n设置 `DATA_DIR` 后，运行数据会存放在：\n\n- `/srv/love-anniversary/shared/memory.db`\n- `/srv/love-anniversary/shared/music`\n- `/srv/love-anniversary/shared/pictures`\n\n这样后续执行 `git pull` 或重新部署代码时，不会删除或覆盖旧数据。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuyui%2Flove-anniversary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuyui%2Flove-anniversary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuyui%2Flove-anniversary/lists"}