Web file cache service based on GitHub actions
- Crawler:
web-fetch
(Puppeteer based) - OSS service: Cloudflare R2
-
Install GitHub apps in your organization or account:
- Probot settings: set up Issue labels & Pull Request rules
-
Click the Use this template button on the top of this GitHub repository's home page, then create your own repository in the app-installed namespace above
-
Set Cloudflare variables is
.github/workflows/crawler.yml
as Repository secrets
https://github.com/idea2app/Web-file-cache/issues/new?template=crawler.yml
$URL = "https://example.com/test.html"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-d '{"title":"File title","body":"### URL\n\n$URL","labels":["crawler"]}' \
https://api.github.com/repos/idea2app/Web-file-cache/issues