A Linux tray app that quickly converts HTML to Jade, CSS to Stylus and JS to Coffee from clipboard
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
cli.py
miniclip.py

README.md

Miniclip

A Linux tray app that quickly converts HTML to Jade, CSS to Stylus and JS to Coffee from clipboard. A handy tool for Web developers.

Why Miniclip?

I'm a fan of minimalist things like Jade, Stylus and CoffeeScript.

Sometimes when surfing the web you may found some interesting HTML/CSS/JS snippets... and you want them to be short :)

Installation

You need a Linux with Python and Nodejs installed. Miniclip uses some nodejs's command-line tools that need to be installed globally. (You only have to install which you want, not all of them!)

npm install -g contextify
npm install -g html2jade
  • Install stylus
npm install -g stylus
npm install -g js2coffee

Note on Ubuntu users:

Ubuntu users with Unity desktop may have the problem of "missing system tray icons". In this case, please check the quick solution here

Usage

The GUI (miniclip.py)

Try scrolling around Twitter bootstrap, copy the code snippets there and see the results.

The CLI (cli.py)

The CLI version is intended to be used with system's global shortcuts. You can assign GNOME, KDE etc shortcuts to some commands. Please run with -h option to see more usage.

License

The GPL License v3

Copyright (c) 2012 Hoang Minh Thang