106 Commits

Author SHA1 Message Date
81815e6986 chore(workflows): update docker and generate-csv workflows 2024-10-27 11:51:33 +08:00
ac191d4ab6 chore(github-actions): improve target repo access and debugging
Add debug steps and improve file handling in GitHub Actions workflow
2024-10-27 11:46:50 +08:00
c6e081a2db chore: ignore lankong_tools and md files in docker workflow, update mapping file path in generate_csv.go 2024-10-27 11:35:41 +08:00
7aba71cb83 feat(generate-csv): add workflow to generate CSV files and update tools for album mapping 2024-10-27 11:32:24 +08:00
9436878ea5 refactor(index.html): optimize endpoint config loading and stats refresh handling 2024-10-27 09:17:22 +08:00
dd3904e26f Merge branch 'main' of https://github.com/woodchen-ink/random-api-go 2024-10-27 09:07:56 +08:00
dc6cc93055 refactor(index.html): Refactor endpoint configuration and stats display logic 2024-10-27 09:07:54 +08:00
wood chen
f0f4d2084e
Update readme.md 2024-10-27 06:44:16 +08:00
wood chen
cbeadf2e48
Update docker-compose.yml 2024-10-27 06:18:13 +08:00
861835ef92 feat(public): update index.html, add main.css, and enhance stats display 2024-10-27 06:00:10 +08:00
8f596dea34 chore(workflow): add artifact creation and deployment to server 2024-10-27 05:06:28 +08:00
236ef74f85 feat: refactor code structure and move utility functions to separate package 2024-10-27 05:04:33 +08:00
147bda8251 refactor(main): 取消算法, 改成完全随机simplify URLSelector and remove unnecessary fields 2024-10-27 04:40:53 +08:00
749cd088b7 refactor: update environment variable and csv file handling 2024-10-27 02:40:53 +08:00
ba25817111 feat: add support for CSV_BASE_URL environment variable and update file reading logic 2024-10-27 02:02:15 +08:00
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