{"id":14754283,"url":"https://github.com/LOG1997/log-lottery","last_synced_at":"2025-09-12T19:31:05.402Z","repository":{"id":216748088,"uuid":"738128540","full_name":"LOG1997/log-lottery","owner":"LOG1997","description":"🎈🎈🎈🎈年会抽奖程序，threejs+vue3 3D球体动态抽奖应用。","archived":false,"fork":false,"pushed_at":"2024-12-28T07:19:48.000Z","size":6165,"stargazers_count":211,"open_issues_count":7,"forks_count":52,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-28T07:22:48.131Z","etag":null,"topics":["3d","daisyui","lottery","lucky","lucky-draw","prizes","raffle","threejs","vue3","vue3-typescript"],"latest_commit_sha":null,"homepage":"https://log1997.github.io/log-lottery/","language":"Vue","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/LOG1997.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-01-02T13:47:14.000Z","updated_at":"2024-12-28T07:19:00.000Z","dependencies_parsed_at":"2024-11-04T04:17:44.474Z","dependency_job_id":"d1f12114-a075-4d0e-b218-47764079c995","html_url":"https://github.com/LOG1997/log-lottery","commit_stats":null,"previous_names":["log1997/log-lottery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOG1997%2Flog-lottery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOG1997%2Flog-lottery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOG1997%2Flog-lottery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOG1997%2Flog-lottery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LOG1997","download_url":"https://codeload.github.com/LOG1997/log-lottery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232775434,"owners_count":18574811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["3d","daisyui","lottery","lucky","lucky-draw","prizes","raffle","threejs","vue3","vue3-typescript"],"created_at":"2024-09-15T08:01:35.826Z","updated_at":"2025-09-12T19:31:05.384Z","avatar_url":"https://github.com/LOG1997.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://log1997.github.io/log-lottery/\"\u003e\n        \u003cimg src=\"./static/images/lottery.png\" width=\"100\" height=\"100\" /\u003e\n    \u003c/a\u003e\n\n# log-lottery 🚀🚀🚀🚀\n\n[![MIT](https://img.shields.io/github/package-json/v/log1997/log-lottery)](https://github.com/LOG1997/log-lottery)\n[![MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/LOG1997/log-lottery)\n[![github](https://img.shields.io/badge/Author-log1997-blue.svg)](https://github.com/log1997)\n[![vue3](https://img.shields.io/badge/VUE-3-green.svg)](https://github.com/log1997)\n[![build](https://img.shields.io/github/actions/workflow/status/log1997/log-lottery/node.js.yml)](https://github.com/log1997)\n\n\u003c/div\u003e\n\nlog-lottery是一个可配置可定制化的抽奖应用，炫酷3D球体，可用于年会抽奖等活动，支持奖品、人员、界面、图片音乐配置。\n\n\u003e 因原域名到期，现将原域名 (\u003chttps://24years.top/log-lottery\u003e)\n迁移到 (\u003chttps://1kw20.fun/log-lottery\u003e) 。\n\n\u003e 如果进入网站遇到图片无法显示或有报错的情况，请先到【全局配置】-【界面配置】菜单中点击【重置所有数据】按钮清除数据后进行更新。\n\n\u003e 请尽量拉取代码进行构建部署，本线上网站代码会保持更新，可能影响原有功能和数据。\n\n## 要求\n\n使用PC端最新版Chrome或Edge浏览器。\n\n访问地址：\n\n\u003chttps://1kw20.fun/log-lottery\u003e\n\nor\n\n\u003chttps://log1997.github.io/log-lottery/\u003e\n\n## TODO\n\n- [x] 🕍 炫酷3D球体，年会抽奖必备，开箱即用\n- [x] 💾 本地持久化存储\n- [x] 🎁 奖品奖项配置\n- [x] 👱 抽奖名单设置管理\n- [x] 🎼 播放背景音乐\n- [x] 🖼️ excel表格导入人员名单、抽奖结果使用excel导出\n- [x] 🎈 可增加临时抽奖\n- [x] 🧨 国际化多语言\n- [x] 🍃 更换背景图片\n- [x] 🚅 添加docker构建\n- [x] 😘 弹幕（开发中）\n- [ ] 🧵 卡片组成多种形状\n\n...\n需要更多功能或发现bug请留言[issues](https://github.com/LOG1997/log-lottery/issues)\n\n## 详细介绍\n\n### 配置参与人员\n\n于人员配置管理界面下载excel模板，按要求填好数据后导入即可。\n\n### 配置奖项\n\n于奖项配置管理界面添加奖项后，自定义修改名称、抽取人数、是否全员参加、图片显示。\n\n### 界面配置\n\n可自定义配置标题、列数、卡片颜色、首页图案等。\n\n### 图片和音乐管理\n\n上传图片或音乐即可，数据使用indexdb在浏览器本地进行存储。\n\n## 预览\n\n首页\n\n![image_home](./static/images/home.png)\n\n![image_home_prize_list](./static//images/home_prizelist.png)\n\n抽奖\n\n![image_lottery](./static/images/lottery-enter.png)\n\n![image_lottery_done](./static/images/lottery-done.png)\n\n配置\n\n![image_config_person_all](./static/images/config_personall.png)\n\n![image_config_prize_list](./static/images/config_prize.png)\n\n![image_config_view](./static/images/config-view.png)\n\n![image_config_pattern](./static/images/config_pattern.png)\n\n图片音乐配置\n\n![image_config_img](./static/images/image_config.png)\n\n![image_music](./static/images/music_music.png)\n\n## 技术\n\n- vue3\n- threejs\n- indexdb\n- pinia\n- daisyui\n\n## 开发\n\n安装依赖\n\n```bash\npnpm i\nor\nnpm install\n```\n\n开发运行\n\n```bash\npnpm dev\nor\nnpm run dev\n```\n\n打包\n\n```bash\npnpm build\nor\nnpm run build\n```\n\n预览\n\n```bash\npnpm preview\nor\nnpm run preview\n```\n\n若想直接以打开html文件的方式运行，请执行以下命令进行打包。打包完成后在dist目录中直接打开index.html即可。\n\n```bash\npnpm build:file\nor\nnpm run build:file\n```\n\n\u003e 项目思路来源于 \u003chttps://github.com/moshang-xc/lottery\u003e\n\n## Docker支持\n\n构建镜像\n\n```bash\ndocker build -t log-lottery .\n```\n\n运行容器\n\n```bash\ndocker run -d -p 9279:80 log-lottery\n```\n\n容器运行成功后即可在本地通过\u003chttp://localhost:9279/log-lottery/\u003e访问\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=LOG1997/log-lottery\u0026type=Date)](https://star-history.com/#LOG1997/log-lottery\u0026Date)\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLOG1997%2Flog-lottery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLOG1997%2Flog-lottery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLOG1997%2Flog-lottery/lists"}