https://github.com/coolreader18/rawgist
A simple http server to redirect to the correct cdn.rawgit.com url.
https://github.com/coolreader18/rawgist
cdn gist rawgit
Last synced: 10 months ago
JSON representation
A simple http server to redirect to the correct cdn.rawgit.com url.
- Host: GitHub
- URL: https://github.com/coolreader18/rawgist
- Owner: coolreader18
- License: mit
- Created: 2018-10-02T04:00:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-12T04:35:31.000Z (over 7 years ago)
- Last Synced: 2025-01-25T10:28:23.881Z (about 1 year ago)
- Topics: cdn, gist, rawgit
- Language: Go
- Homepage: https://rawgist.now.sh/
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RawGist
A simple http server to redirect to the correct cdn.rawgit.com url.
## Usage
The url is [https://rawgist.now.sh](https://rawgist.now.sh). The request format
is `/{gist_id}/{file}`.
### If running yourself
Build it, you can use `./build.sh` to build it if you don't have a go
environment set up. Put `GITHUB_TOKEN=xxxxx` in the `.env` file, and run it. It
defaults to port `3030`, but you can edit it in the code.
## License
This project is licensed under the MIT license. See the [LICENSE](LICENSE) file
for more details.