Skip to content

idea2app/Web-file-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Web-file-cache

Web file cache service based on GitHub actions

Download File or Web page

Technologies

Usage

Setup repository

  1. Install GitHub apps in your organization or account:

    1. Probot settings: set up Issue labels & Pull Request rules
  2. 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

  3. Set Cloudflare variables is .github/workflows/crawler.yml as Repository secrets

Manual cache

https://github.com/idea2app/Web-file-cache/issues/new?template=crawler.yml

Automatic cache

$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

About

Web file cache service based on GitHub actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published