Skip to content

A small drag-and-drop file uploader I created which uses the file type to upload it to relevant file-hosting service. Text files are uploaded to Pastebin and Image files to Imgur. I created this to play with CoffeeScript, Node.js, Express.js and HTML5 Drag and Drop

License

dhruvbaldawa/drophere

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

drophere

A small drag-and-drop file uploader I created which uses the file type to upload it to relevant file-hosting service. Text files are uploaded to Pastebin and Image files to Imgur. I created this to play with CoffeeScript, Node.js, Express.js and HTML5 Drag and Drop

Live demo at: DropHere

If you are looking for code, the main files to look at are:

  • lib/service.coffee
  • public/javascripts/script.coffee
  • routes/upload.coffee

Any suggestions, pull requests would be great :). I wish to add more file types and hosting backends soon.

Follow-up blog post here: [Weekend Project] Drop Here - Dhruv Baldawa's Web Log

About

A small drag-and-drop file uploader I created which uses the file type to upload it to relevant file-hosting service. Text files are uploaded to Pastebin and Image files to Imgur. I created this to play with CoffeeScript, Node.js, Express.js and HTML5 Drag and Drop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published