DailyJS

Free js.org Subdomains, Wallpaper

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

hosting node modules npm desktop libraires

Free js.org Subdomains, Wallpaper

Posted by Alex R. Young on .
Featured

hosting node modules npm desktop libraires

Free js.org Subdomains, Wallpaper

Posted by Alex R. Young on .

Free js.org Subdomains

Stefan Keim wanted to give something back to the JavaScript community, so he's started js.org -- a service that provides free subdomains for JavaScript programmers. You can host your project on GitHub, then point a js.org subdomain at it.

To claim a subdomain you need to do three things:

  1. Create your GitHub Pages-hosted site
  2. Add a CNAME file to your repository with the js.org name that you want
  3. Make a pull request to GitHub: js-org/dns that adds your CNAME to the list

Given how valuable the js.org domain is I think this is very generous of Stefan, and the GitHub-based approach is a nice idea as well.

Wallpaper

Sindre Sorhus sent in wallpaper (GitHub: sindresorhus/wallpaper, License: MIT, npm: wallpaper), a module for changing the desktop wallpaper in Mac OS X, Linux, and Windows.

It has a command-line tool (wallpaper [file]) and a Node API:

var wallpaper = require('wallpaper');

wallpaper.set('unicorn.jpg', function(err) {  
 console.log('done');
});

wallpaper.get(function(err, imagePath) {  
  console.log(imagePath);
  //=> '/Users/sindresorhus/unicorn.jpg' 
});

It would be great to combine this with a Node Canvas module that generates data-driven art, or maybe even using PhantomJS to render a webpage to recreate the joys of Active Desktop!