{"id":15192152,"url":"https://github.com/jolly23/gre3000","last_synced_at":"2025-10-27T16:31:50.208Z","repository":{"id":154872473,"uuid":"105513562","full_name":"Jolly23/GRE3000","owner":"Jolly23","description":"也不知道为什么会想到做这样一个网站，也不知道会不会一直优化下去。苦涩的学英语的过程，来之不易的休息时光，想写代码。祝大家都能取得好成绩","archived":false,"fork":false,"pushed_at":"2024-09-23T01:32:44.000Z","size":5260,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T07:04:17.436Z","etag":null,"topics":["beego","docker-compose","golang","mit-license","website"],"latest_commit_sha":null,"homepage":"http://gre.jolly23.com/","language":"Go","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/Jolly23.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":"2017-10-02T08:36:26.000Z","updated_at":"2023-12-11T13:30:40.000Z","dependencies_parsed_at":"2023-12-14T17:44:25.952Z","dependency_job_id":"11c0122a-0a36-41df-bfde-0db1202515b5","html_url":"https://github.com/Jolly23/GRE3000","commit_stats":{"total_commits":134,"total_committers":3,"mean_commits":"44.666666666666664","dds":"0.11194029850746268","last_synced_commit":"4b69c175114667b3d48caa409d447b0151a33282"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jolly23%2FGRE3000","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jolly23%2FGRE3000/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jolly23%2FGRE3000/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jolly23%2FGRE3000/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jolly23","download_url":"https://codeload.github.com/Jolly23/GRE3000/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238527002,"owners_count":19487144,"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":["beego","docker-compose","golang","mit-license","website"],"created_at":"2024-09-27T21:05:29.500Z","updated_at":"2025-10-27T16:31:49.443Z","avatar_url":"https://github.com/Jolly23.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [GRE3000](http://gre.jolly23.com/)\n\n`很神圣的README`\n\n## 用docker 或者 docker-compose运行，我都写好了，直接能用\n\n\u003e 采用了2容器负载均衡，为的是实验多机部署。\n\n代码clone后编译前请创建 const_conf/private.go 并加入PostgreSQL数据库地址\n\n```Go\npackage const_conf\n\nconst (\n\tDatabaseType  = \"postgres\"\n\tPgSslMode     = \"disable\"\n\tPgHostAddress = \"111.111.111.111\"\n\tPgHostPort    = \"5432\"\n\tDatabaseName  = \"GRE3000\"\n\tPgUserName    = \"JOLLY\"\n\tPgPassword    = \"HW(D*H(AWD\"\n)\n\n```\n\n\u003e 可以更换为其他数据库，需更改main.go文件，具体请参考[Beego框架ORM](https://beego.me/docs/mvc/model/overview.md)\n\n\n## 运行\n\n```bash\ngit clone https://github.com/Jolly23/GRE3000.git\ncd GRE3000\nvim const_conf/private.go   # 写入上述go文件，配置数据库连接信息\ndocker-compose build\ndocker-compose up -d\n```\n\n`可根据写好的Nginx配置文件来引导访问`\n`数据库自动建表完毕后，要记得导入词表，在deploy_conf文件夹中，然后执行一下pg-gre300.sql中的所有语句即可`\n\n\n## TODO LIST\n\n### 1. 单词表页面一次性发送整个GRE词表，大小大约在3M，用户体验不太好，下一步用js异步加载词表，但完成3000个div加载性能同样较差，正在寻求解决方案。（如果服务器带宽大一点的话这个可能就不是问题了）\n\u003e 已解决\n\u003e 默认加载30个单词的HTML，然后通过js请求json加载剩余单词，数据瘦身80%\n\u003e 通过html页面头部替代尾部提前加载js函数，使用户可以在网页加载时使用可见单词的全部按钮功能\n\n### 2. 为用户加入全部显示中文意思的词表按钮\n\u003e 已完成\n\n### 3. 增强管理员视图\n\n### 4. 使用Kubernetes替换docker-compose\n\n\n## License\nThe MIT License(https://opensource.org/licenses/MIT)\n\n请自由地享受和参与开源\n\n## 贡献\n\n如果你有好的意见或建议，欢迎提issue或pull request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolly23%2Fgre3000","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjolly23%2Fgre3000","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolly23%2Fgre3000/lists"}