Skip to content

A Google Chrome extension that executes JavaScript and CSS files in ~/.w3

Notifications You must be signed in to change notification settings

nuclearsandwich/w3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

w3d

Load JavaScript and CSS files in ~/.w3, based on their filename via Browser Extension.

Requirements

  • Ruby 1.9+ is needed to serve the files under ~/.w3 via the included w3d command
  • Chrome/Chromium or Firefox

Installing the browser extension in Chrome/Chromium

  1. Hit chrome://extensions
  2. Enable developer mode
  3. Load unpacked extension
  4. Navigate to your local .w3 folder and select the chrome-ext subfolder

Installing the browser extension in Firefox

  1. Open about://addons
  2. Click "Get Addons"
  3. Search for "dotjs"
  4. Find "dotjs 1.10 by Ricky Rosario" and install it. (Source: https://github.com/rlr/dotjs-addon)

Customization

If for some reason you really really need port 3132 for something, you can specify a different port by changing the port in both chrome-ext/w3.js and bin/w3d.

Runnin'

Start w3d and add some stuff to your ~/.w3/ directory.

Credits

w3d 2.0 is a fork with minor changes from the djsd binary included in defunkt/dotjs.

@azer for the original .w3 scripts and extension.

Inspired from and based on defunkt/dotjs and stewart/dotcss.

About

A Google Chrome extension that executes JavaScript and CSS files in ~/.w3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published