facundovictor / jsfiddle-downloader Goto Github PK
View Code? Open in Web Editor NEWIt allows to download all your jsFiddles' scripts, just using a NodeJS script
License: MIT License
It allows to download all your jsFiddles' scripts, just using a NodeJS script
License: MIT License
When jsfiddle is downloaded, only the Result is stored in output html file.
But this is not enough to make a backup of a fiddle. Is it possible to save HTML, JS and CSS tabs in separate files for a fiddle?
Expected:
~ $ jsfiddle-downloader -v -i 5deked8L Retrieve chunk . . .
Actual:
~ $ jsfiddle-downloader -v -i 5deked8L Retreive chunk . . .
Note: as I type this comment, even the github spelling checker flags 'retreive' as suspect.
P.S. Thank you for this neat utility.
Add support for backing up other languages:
using a link, fiddle code and/or version all equally fail:
jsfiddle-downloader -l http://jsfiddle.net/uzMPU/1057
jsfiddle-downloader -l http://jsfiddle.net/uzMPU
jsfiddle-downloader -i uzMPU
Result: an html file the says 404 not found.
Links are working on jsfiddle:
http://jsfiddle.net/uzMPU/1057
http://jsfiddle.net/uzMPU
I noticed that if I omit the trailing slash in a fiddle url then the file downloaded will be the jsfiddle 404 page. Example:
jsfiddle-downloader -l https://jsfiddle.net/tdreid/w9qg0gwh -o dlFiddle.html
Detected fiddle code = tdreid
Output file = dlFiddle.html
(note that 'detected fiddle code' reports the user not the fiddle)
dlFiddle.html will be...
It seems that if I run...
jsfiddle-downloader -l https://jsfiddle.net/[auser]/[acode]/10/ -o dlFiddle.html
...jsfiddle-downloader will download whatever version is set to base . It'd be neat to download the version to which the input url points.
I tried to download that http://jsfiddle.net/mgmilcher/8R7Xx/sho/
I ran the command jsfiddle-downloader -l http://jsfiddle.net/mgmilcher/8R7Xx/sho/
and it downloads the 404
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.