|Samuel FORESTIER 04627161fd Updates some resources in test cases||3 months ago|
|Icons||1 year ago|
|Keymaps||1 year ago|
|tests||3 months ago|
|.gitignore||1 year ago|
|CDNCheckForCDNProviders.py||1 year ago|
|CDNCheckForLinks.py||1 year ago|
|CDNCheckForUpdates.py||1 year ago|
|CDNContent.py||9 months ago|
|CDNUpdates.py||1 year ago|
|CDNUpdates.sublime-settings||1 year ago|
|CDNUtils.py||1 year ago|
|Context.sublime-menu||1 year ago|
|Default.sublime-commands||1 year ago|
|LICENSE||1 year ago|
|Main.sublime-menu||9 months ago|
|README.md||9 months ago|
A Sublime Text 3 plugin to check for CDN updates in your Web sources
Tired of manually checking if your CDN (Content Delivery Network) are up to date in your web pages ? Yeah, so was I… :confused:
Below is a sum-up of what this Sublime Text 3 plugin does (well) to help you dealing about that :
Of course, when this plugin does not use the API of the CDN provider, it may inform you of a newer published version, possibly not available from your provider (maybe it’s time to opt out from this privacy mess ? :wink:).
Package Control: Install Package
Enterand you’re done !
Package Control dedicated page here.
%AppData%\Sublime Text 3\Packages\)
$ git clone https://github.com/HorlogeSkynet/CDNUpdates.git
Open your command palette and type in :
Right click on your file :
CDNUpdates > ...
Tools > Packages > CDNUpdates > ...
Most of the CDN providers don’t provide any API for their service, so it would be very tricky to retrieve latest version available directly from them.
Unless for https://cdnjs.com/, this plugin is actually based on the GitHub API to fetch the latest existing Git tag directly from the repositories. Its
name is compared afterwards with the CDN version present in your sources.
If you have many many CDNs in your sheets (or if you want to contribute to this project 😜), you’ll surely need to set a GitHub API token to avoid being blocked by the rate limit.
You can generate one here, and paste in under the plugin preferences (accessible from
CDNUpdates’s Sublime menu).
It’ll be done automatically next time you’ll save your sheet :wink:
Same as above :smile:
Of course you can, unless the Open Source aspect of this project would be useless :fearful:
You basically just have to tweak CDNContent.py and imitate what is done there for your provider.
Don’t forget to share your work with the world ! :earth_africa:
Or… you can just open an issue here and I’ll do my best to handle your case !