Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neoascetic/rawgithack
Serves files from github, bitbucket and gitlab, but with the correct content types
https://github.com/neoascetic/rawgithack
content-type github proxy rawgit
Last synced: about 1 month ago
JSON representation
Serves files from github, bitbucket and gitlab, but with the correct content types
- Host: GitHub
- URL: https://github.com/neoascetic/rawgithack
- Owner: neoascetic
- License: mit
- Created: 2013-09-24T11:57:54.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T10:43:36.000Z (4 months ago)
- Last Synced: 2024-08-08T12:52:54.420Z (4 months ago)
- Topics: content-type, github, proxy, rawgit
- Language: Java
- Homepage: https://raw.githack.com
- Size: 197 KB
- Stars: 572
- Watchers: 16
- Forks: 86
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - neoascetic/rawgithack - Serves files from github, bitbucket and gitlab, but with the correct content types (github)
- jimsghstars - neoascetic/rawgithack - Serves files from github, bitbucket and gitlab, but with the correct content types (Java)
README
raw.githack.com
===============This is the source code behind
[raw.githack.com](https://raw.githack.com) - CDN for your source code
that serves files with proper `Content-Type` headers.Example config.lua
------------------```lua
return {
simsim = "SECRET",
cf = {
zone = "ZONE_ID",
username = "USERNAME",
api_key = "API_KEY",
username = "USERNAME"
},
patreon = {
campaign = "CAMPAIGN_ID",
token = "ACCESS_TOKEN"
}
}
```Frontend
--------Pages are built using [jopa](https://github.com/neoascetic/jopa) static
site generator, with the following command:```bash
layout_file="web/layout.jsh" from="web/pages" jopa
```