schme16 / gitcdn.xyz Goto Github PK
View Code? Open in Web Editor NEWServe your content straight from GitHub, with the correct Content-Type, consistant url and a powerful CDN
Home Page: https://gitcdn.xyz
License: GNU General Public License v3.0
Serve your content straight from GitHub, with the correct Content-Type, consistant url and a powerful CDN
Home Page: https://gitcdn.xyz
License: GNU General Public License v3.0
Hello, I was just informed that my repository, mini.css, has been blacklisted. I don't know why that might be, but the project files have not been altered in the past few months, so I doubt there was something that I did to justify the ban. If there is a valid reason for this blacklist, please inform me, I'd be happy to help fix it if possible. Otherwise, if this is by mistake or an automated process, could you please fix this problem and let me know?
Thanks in advance!
Turns out that the mini.css default flavor file (uncompressed) works fine, but the compressed one does not. So turns out the repository is not completely blacklisted or something like that? Not sure, just thought this information might be useful.
I noticed that links to Gist files aren't working correctly.
The GitCDN url is returning Internal Server Error
and I have tried with some other gist urls and they all result in the same error.
I pulled the source code to see if I could locate the problem but I noticed that it seems to be working fine in a new heroku app that I ran the code on. I'm not sure what could be causing this problem.
So I was frustrated with the limitations of GitHack and RawGit and noticed that your repo page mentioned potential paid plans. I was thinking you could max out the cache times on the free CDN while offering the following for the paid tier:
dist
folder)Not sure how you would split the premium/paid proxies, maybe allow control based on Github authentication? A distinct endpoint would also allow you to offer HSTS, key pinning, and stricter CORS settings as premium upgrades.
I am getting 500 internal server error trying to use https://gitcdn.link/repo/tchaffee/testable-projects-fcc/fix/upgrade-webpack-jquery/build/bundle.js
Users are getting this message when trying to access our file from this CDN:
Forbidden - This repo/gist is on the blacklist. If you wish to appeal, please open an issue here: https://github.com/schme16/gitcdn.xyz/issues, with why you feel this repo should not be on the blacklist.
I'm not sure how we got on the blacklist, but we are using this CDN to serve our bundle for a legit project which is part of the freeCodeCamp offering which is one of the most popular open source repositories on github.
Our repo is https://github.com/freeCodeCamp/testable-projects-fcc
I'd like to remove/purge 2 links from your CDN (both created by myself), since I've not used the files I'd like to. Both of them are from the same secret Gist.
Does GitCDN have this capability?
The files in question are:
and
EDIT: I wanted the files removed as I thought gitcdn wouldn't fetch the latest version from the gist. Now that I realise GitCDN actually gets the most recent version, I no longer have a need for this feature. Might be something people would want in the future though. I also moved from .xyz to .link . Not sure if that should affect anything.
I just pushed a new commit to my project where i changed the source file directory and i am getting directed to an old commit with "404: Not Found":
old raw url : https://raw.githubusercontent.com/arctelix/drag-resize-snap/master/drs.js
new raw url : https://raw.githubusercontent.com/arctelix/drag-resize-snap/master/dist/drs.js
The link generated from new raw url :
https://gitcdn.xyz/repo/arctelix/drag-resize-snap/master/dist/drs.js
Redirects to this commit and i get a "404: Not Found":
https://cdn.gitcdn.link/cdn/arctelix/drag-resize-snap/dc4a39f3189680e6f8188e0d08ff2d52e05a12d5/dist/drs.js
If i manually enter the latest commit it works just fine:
https://cdn.gitcdn.link/cdn/arctelix/drag-resize-snap/f301bfcc65b4bd9a4e6746ff59beee2b264f6374/dist/drs.js
The following urls do correctly redirect to the proper commit
https://cdn.gitcdn.link/repo/arctelix/drag-resize-snap/master/dist/drs.js
https://cdn.gitcdn.link/repo/arctelix/drag-resize-snap/v0.1.1/dist/drs.js
Is the https://gitcdn.xyz/repo/
endpoint no longer correct?
Should we be using https://cdn.gitcdn.link/repo/
instead?
Thanks for your awesome service!!
I have a test page for a javscript library which fetch test json files using ajax.
It is failing because gitcdn delivers json files as application/octet-stream
Why this? Are there any security related restriction?
Btw this is the test page: https://gitcdn.xyz/repo/xcash/bootstrap-autocomplete/master/dist/latest/index4.html
Visit https://gitcdn.link/
base.css:1 Failed to load resource: the server responded with a status of 503 ()
clipboard.js:1 Failed to load resource: the server responded with a status of 503 ()
/sys/js/url-formatter.js:1 Failed to load resource: the server responded with a status of 503 ()
/favicon.ico:1 Failed to load resource: the server responded with a status of 503 ()
base.css:1 Failed to load resource: the server responded with a status of 503 ()
Same issue for AngularJS Material CodePen resource URLs:
index.html:4 GET https://cdn.gitcdn.link/cdn/angular/bower-material/v1.1.10-master-0671aab/angular-material.css net::ERR_ABORTED 503
Tried to use gitcdn.xyz as a workaround, but these also 503:
Example URL I'd like to have CDN-ed
https://api.github.com/repos/tensorflow/tensorflow/releases/latest
Could you include "https://gist.github.com" also ?
Regards
An invalid certificate problem broke our systems...
I've tried to load several stylesheets using crossorigin=anonymous
:
<link rel="stylesheet" type="text/css" crossorigin="anonymous" href="https://gitcdn.xyz/repo/pseudocd/pcdn/master/stylesheets/normalize/normalize.min.css">
When crossorigin=anonymous
is used, the stylesheets hits Not Found
with X-Cache: MISS
.
What I call "pseudo HTTP parameters" (maybe there is a better naming ?) are parameters in URL that look like regular HTTP parameters, but since the base URL is a static page, they are not interpreted by the HTTP server, but by some JavaScript code.
My real-life use case is this one :
wget --header='Accept: text/html' --debug \
'https://gitcdn.xyz/repo/jmvanel/rdf-calendar/master/rdf-calendar.html?url=http://semantic-forms.cc:1952/ldp/1543748445108-1972318919276873'
I think this should not be difficult to implement :) , but I'm not a JavaScript guy .
Does gitcdn.xyz currently support private repos? Couldn't find any mention of private repos in the documentation. So far no luck with private raw links with access tokens.
branch: jb/hotfix-510 will not populate
raw: https://raw.githubusercontent.com/evancohen/smart-mirror/jb/hotfix-510/plugins/_general/config.schema.json
gitcdn: https://gitcdn.xyz/repo/evancohen/smart-mirror/jb/hotfix-510/plugins/_general/config.schema.json
when i right click on the url for gitcdn and click "go to https://gitcdn......" it changes url to https://gitcdn.xyz/cdn/evancohen/smart-mirror/041e633100d9d3a194886693c51e01dc4359748c/hotfix-510/plugins/_general/config.schema.json and gives a 404 error.
So this is a code for BetterDiscord ( to make it custom ) and somehow the link in question got Blacklisted.
https://gitcdn.xyz/repo/Zerthox/ClearVision/master/css/ClearVision_v5.min.css
It's used by several people and I'd like tos ee it back :)
Hi,
My file has been put on the blacklist "https://gitcdn.xyz/repo/O-LAP/home/master/olap/js/info.json'.
Are there any limits?
For many years gitcdn.xyz worked flawlessly with putting even non existing URL parameters in URLs so that browser cache issues could be elegantly worked-around. Now since a few weeks/month using URL parameters seem to cause "Application errors" to be outputted.
E.g. the following gitcdn.xyz URL causes an heroku "Application error" to appear:
https://gitcdn.xyz/repo/jens-maus/RaspberryMatic/master/release/LATEST-VERSION.js?test=1
However, the following same URL but without any ?XXX=YYY
parameter attached works flawlessly like before:
https://gitcdn.xyz/repo/jens-maus/RaspberryMatic/master/release/LATEST-VERSION.js
Any help would be highly appreciated.
When using gitcdn for css files the site throws an Internal Server Error. It happens on both gitcdn.xyz and gitcdn.link.
Examples:
https://gitcdn.xyz/repo/Tropix126/BetterDiscordStuff/master/aurora/css/base.css
https://gitcdn.xyz/repo/SamuiNe/Crystalline-css/master/crystalline.css
Well,
i found your project much interesting than rawgit. I am a php dev. And more important, i don't know JS.
It would be awesome if you can actually write up a wiki explaining on how to install it with a cdn like maxcdn or cloudflare.
Your helps are more welcomed π
The file ClearVision_v5.min.css now appears to be blacklisted. The link i'm using is https://gitcdn.xyz/repo/Zerthox/ClearVision/master/css/ClearVision_v5.min.css
Could you please help.
Thanks
I can not read this js file
When I went to this address it was an error
https://gitcdn.xyz/cdn/cocomine/AC-web/29a60d2aac8935bf8fe8df789a111236c447369b/wp-includes/js/log.js
Hi ... I'm trying to upload the file but keep giving me 404 ... why?
my fault? Is there any rule that I did not understand?
Hi,
I just tried out your system. It says that it needs round about 2 ours for changes to be distributed(as the cache is held for those 2 hours).
~6Hours ago i hit the following link:
https://gitcdn.xyz/repo/Memnarch/TestRepository/master/info.json
Then i commited a change(directly from within the Github page) changing first_version from v1.2 to v1.22, as you can see here:
https://raw.githubusercontent.com/Memnarch/TestRepository/master/info.json
however, the link above has not yet been updated. I am a bit confused right now.
our opensource project uses
repo/joshfire/jsonform/
which is suddenly blacklisted.
our tool no longer works..
please remove the blacklist, and provide info on the cause (not our code)
https://gitcdn.link/repo/freeCodeCamp/testable-projects-fcc/master/build/bundle.js
This is what is being used to test my project code for a code training on line. This issue is impairing my (and multiple people) from their code-learning progress. Please get this up and running asap. Thank you.
https://gitcdn.xyz/repo/SamuiNe/Crystalline-css/master/crystalline.css has been blacklisted; it's a Discord Theme used for BeautifulDiscord, so it's broken for quite a few people right now
Please? Pretty pretty please? It would be just marvelous.
I noticed that some JavaScript files look garbled when viewed directly in the browser via a GitCDN URL. Compare for instance
https://rawgit.com/muan/emoji/gh-pages/javascripts/emojilib/index.js (looks OK)
with
https://gitcdn.xyz/repo/muan/emoji/gh-pages/javascripts/emojilib/index.js (garbled)
Apparently GitCDN is not adding charset=utf-8
on content-type headers when serving JS files, and that causes browsers to display those files as if they were ISO-8859-1 encoded. Of course, that's not a problem when the files are loaded in a HTML page, it just looks silly to developers who look at them.
I was wondering if there is a way we can get the UTF-8 charset added. Other CDNs I'm aware of (RawGit, raw.githack.com, Staticaly, etc.) do that already.
I reloaded my discord and now the style was gone, so I checked if anything was wrong and checked the main source code and it said it was blacklisted. pls help
Time has passed many days, But the resources have not been updated
It works fine for other repos I'm using it on, but for some reason it won't work on Zenoo/LightQuery.
Example: https://gitcdn.link/repo/Zenoo/LightQuery/master/light-query.min.js
Which should link to https://raw.githubusercontent.com/Zenoo/LightQuery/master/light-query.min.js
Everything worked but since last update I pushed 22 hours ago, link is not updating.
https://gitcdn.xyz/repo/kirayoru/PlayfulPandaTheme/master/ppmain.css
Hi,
This is not really an issue, but rather a question: how does the URL cache really works, and how often or is (or should be) updated? Because I'm using the URL as follows:
https://min.gitcdn.xyz/repo/<username>/<project>/master/<file>
but this URL doesn't update as often as I thought it would... From my understanding in the docs, this should look for the latest commit every ~2h, but it is still pointing to an older commit for several days now...
Thanks in advance!
At the time of writing this your service seems to be down. π’
Hope you can fix the issue soon...
Hint: maybe it's a DNS issue according to this: http://viewdns.info/ismysitedown/?domain=gitcdn.xyz
Hi, I have error with this one:
https://gitcdn.xyz/repo/sindresorhus/github-markdown-css/gh-pages/github-markdown.css
I have other files from gitcdn too, they are working fine.
I accidentally hit a URL before the commit was fully pushed and it cached the empty response. No worries, it's not mission critical and I can wait 2 hours. May be worth not caching 404 or having a shorter short-cache time though. Understandable if not, assuming that could potentially open a way to abuse the system.
Thanks for a great utility.
Hi,
First of all thanks for gitcdn =), it's good to have several options from where to choice, I wonder if there is any chance to avoid auto redirecting http request to https?, or to get an option to avoid this redirection, on Rawgit this is only possible using the CDN option, eg.
busybox wget http://cdn.rawgit.com/minos-org/minos-static/d1a24fb18a7e6236f8e99728bbedd82df297c3c7/static-get
I just noticed that requests to a gitcdn.xyz
URL returns a 301 status code to the URL to the last revision of the resource, as expected. Nevertheless, the URL of the revision always returns a 200 status code with a Expires header to the current time. This means that the resource will never be cached.
Hey! :)
I've been using gitCDN for a small project for a few months now and it has been great so far!
However, suddenly a CSS file which the project fetches using gitCDN no longer works, and I get the message that it is forbidden.
I'm not sure if I have somehow misused the system to end up with this file blocked, but I would be very happy to change things if I know what has gone wrong!
This is the link to the Repo in question and this is the particular file which is blocked.
I really hope that we can fix whatever has happened here, as I have truly found gitCDN great!
Thanks in advance!
Edit: Under extra inspection, I may not have been using the right URL for my job (a /repo/ instead of /cdn/ in there). I apologise for that, and hopefully you can confirm that this was in fact the issue and that there is nothing more I need to fix up. If there is, however, I am happy to work it out!
I've waited for more than 4h but the content is not yet updated.
Is there a way to purge the cache?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.