123 Commits

Author SHA1 Message Date
e03550423d fix: Update start date in stats update function 2024-11-02 13:03:02 +08:00
63106f9008 chore(Dockerfile): add tzdata for proper timezone handling 2024-10-31 01:17:18 +08:00
9c4d57c9b8 Merge branch 'main' of https://github.com/woodchen-ink/random-api-go 2024-10-31 01:08:33 +08:00
887e8a7ca8 refactor(api_handler): improve source info extraction and logging 2024-10-31 01:08:30 +08:00
wood chen
018e22f681
Create LICENSE 2024-10-31 00:40:00 +08:00
f68fa981ce chore(workflow): add push event trigger for generate-csv.yml 2024-10-31 00:33:08 +08:00
967daa51da fix: update album mapping file path 2024-10-31 00:22:57 +08:00
1f35985ef4 refactor(lankong_tools): update album mapping structure and processing logic 2024-10-31 00:21:31 +08:00
a6cc6454f9 refactor(public): update favicon and stylesheet links, markdown-it version 2024-10-30 23:14:58 +08:00
73dfc63d36 style: Update header level in stats summary 2024-10-28 15:18:21 +08:00
58bf760574 chore(workflow): add scheduled task for generating CSV files 2024-10-27 21:30:40 +08:00
d06ae01922 chore(lankong_tools): remove czl-website-background.csv from album_mapping.json 2024-10-27 21:09:30 +08:00
abd9c75e7f style(public/css, public/index.html): Update fade class and endpoint-link color, fetch stats from local server, add view column and update interval 2024-10-27 20:57:27 +08:00
f2d4d5d2a4 chore(github-actions): auto update CSV files by GitHub Actions 2024-10-27 12:15:47 +08:00
995022af74 chore(workflow): Github Bot Update CSV files 2024-10-27 12:10:59 +08:00
caec1217cb refactor(generate-csv): update file paths from public to lankong_csv 2024-10-27 12:07:51 +08:00
4c2309e83f chore(workflow): auto update CSV files by GitHub Actions 2024-10-27 12:00:38 +08:00
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