91 Commits

Author SHA1 Message Date
0537e46ef6 refactor(main): remove unused cache duration and last fetch time 2024-10-26 16:01:20 +08:00
96f41e374f refactor(main, logging, utils): Refactor logging and IP extraction logic
Move setupLogging to logging package and create GetRealIP utility function
2024-10-26 15:46:00 +08:00
39155ac1bb feat(api, stats): add graceful shutdown and periodic stats saving 2024-10-26 15:29:21 +08:00
09e4d8ccf7 style(public): update layout and text in index.html and index.md
Update layout and text to improve user experience
2024-10-26 15:08:00 +08:00
8c7c01032c feat(ui): update stats summary style and add refresh animation 2024-10-26 14:47:16 +08:00
ff2163b207 feat: update random-api-go service and UI with stats display 2024-10-26 14:28:04 +08:00
fe18d6c828 feat(api, stats): add stats manager and endpoint call tracking 2024-10-26 12:39:00 +08:00
89c15abe53 feat(public/url/pic): add new girl-gif url and remove duplicate truegirl2 url 2024-10-23 22:38:31 +08:00
ebb654baca chore: update girl-gif.csv with new GIFs for 2024.10.23 2024-10-23 06:45:28 +08:00
297a5fad7d feat(public/url/pic): add new image URLs to truegirl2.csv 2024-10-22 15:02:06 +08:00
78b8fb9d21 chore: remove unused image URLs from ecy2.csv 2024-10-22 14:52:03 +08:00
8df2e32665 feat(url/pic): update image URLs in CSV files 2024-10-22 14:11:49 +08:00
dd5861b3c9 feat(public/url/pic): add new image URLs to truegirl2.csv 2024-10-22 13:39:25 +08:00
16d7245fc3 feat(public/url/pic): add new image URLs to truegirl2.csv 2024-10-22 10:06:55 +08:00
490cd59a27 feat(public/url/pic): add new image URLs to truegirl2.csv 2024-10-22 10:00:53 +08:00
484f1b34c9 feat(public/url/pic): add new image URLs to truegirl2.csv 2024-10-22 09:54:33 +08:00
adc085f5a4 feat(public): add girl-gif category and update truegirl2 csv 2024-10-22 07:52:09 +08:00
a3397617cc feat: Update HTML structure and add new CSS styles 2024-10-21 06:00:10 +08:00
fa640467bc 升级Go版本至1.23并更新Dockerfile 2024-10-14 12:20:33 +08:00
485594497c 增加来源域名日志及错误日志格式化输出 2024-10-14 12:19:03 +08:00
c4bb234c2c 添加互斥锁以保护URLSelector结构体的并发访问 2024-10-13 18:17:52 +08:00
c6abb02d2f 新增加载图片分类及相关链接 2024-10-13 18:02:13 +08:00
c1e126f411 更新图片链接及分类,修复讨论帖子链接,新增AI绘图分类 2024-10-13 17:55:38 +08:00
f8737684ef 去重, 无重复选择(3次内), 洗牌算法 2024-10-13 11:57:07 +08:00
adf819791c 更新网站背景图片链接 2024-10-10 17:02:59 +08:00
dedc2bbc19 更新CDN链接及字体样式链接 2024-10-10 10:17:53 +08:00
cc21fd2dfa 更新CDN链接并引入新的字体样式 2024-10-09 14:55:59 +08:00
9cf02cf75b 修复权限问题 2024-09-29 05:01:22 +08:00
45dcc3ba5a 替换图片链接 2024-09-29 03:14:18 +08:00
8ed144bae6 新增一些老图 2024-09-27 23:59:58 +08:00
1f452aa3a5 Merge branch 'main' of https://github.com/woodchen-ink/random-api-go 2024-09-21 15:43:50 +08:00
0f7c684af8 偶得一图片. 顺便添加下自动部署 2024-09-21 15:43:47 +08:00
wood chen
65cd61e256
Create dependabot.yml 2024-09-19 10:47:26 +08:00
wood chen
4bcd4bc764
添加帖子说明 2024-09-14 17:13:13 +08:00
f3dae5dfa5 丰富日志 2024-09-12 17:21:37 +08:00
e10049f57c fix 2024-09-12 17:14:16 +08:00
7ee5c10ea3 修复 2024-09-12 17:06:18 +08:00
8287d9f726 feat: refactor main.go and readme.md to improve IP handling and logging 2024-09-12 17:00:32 +08:00
4367782a36 feat: refactor Dockerfile and implement new CSV handling logic 2024-09-12 16:44:26 +08:00
0aaed93abc feat: refactor Dockerfile and implement new CSV handling logic 2024-09-12 16:37:03 +08:00
7fd2ac2283 first commit 2024-09-12 15:48:31 +08:00