wood chen 1fc1069ec1 refactor(docker, config): streamline directory structure and enhance configuration management
- Removed unnecessary volume mounts for public and logs in docker-compose.yml.
- Updated Dockerfile to create necessary directories under /root/data.
- Modified start.sh to copy files to the new public directory location.
- Enhanced config.go to create default configuration and directory structure if not present.
- Adjusted router.go to serve static files from the new public directory path.
2024-11-30 23:34:45 +08:00
2024-10-31 00:40:00 +08:00
2024-11-02 13:14:29 +08:00

Random API

介绍,使用方法和更新记录: https://q58.org/t/topic/127

Random API 是一个用 Go 语言编写的简单而强大的随机图片/视频 API 服务。它允许用户通过配置文件轻松管理和提供随机媒体内容。

压测

d3d80d258e1e4805289b607666681e8b

贡献

欢迎贡献!请提交 pull request 或创建 issue 来提出建议和报告 bug。

许可

MIT License

Description
通过go实现的随机文件API, 可实现随机图, 随机视频 功能
Readme MIT 4.4 MiB
Languages
Go 50.9%
TypeScript 46.9%
CSS 1.6%
Dockerfile 0.4%
JavaScript 0.2%