Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Converting Content Back n Forth n Back n Forth
JavaScript Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
locales
public
views
.DS_Store
.gems
.gitignore
LICENSE.markdown
README.markdown
Rakefile
_config.yml
app.rb
config.ru

README.markdown

SeeSaw

Text Beautifier, Minifier, and Converter

What's it do?

SeeSaw was built to make it easier to learn from other people's code, to convert textile and markdown to html, and to convert html to haml. Now it does much more:

  • HTML to Textile, Markdown, HAML
  • Textile to HTML, HAML
  • Markdown to Textile, HTML, HAML
  • HAML to HTML, Textile, and Markdown
  • Javascript Beautification and Minification
  • CSS Beautification and Minification

How do I use it?

You can use it programmatically by making POST requests (below), or by using it at http://meetseesaw.com.

The online version takes advantage of keyboard shortcuts to render text transformation with minimal effort. It's annoying to have to press "Submit" and reload a new page every time you convert. This way you can press 'left' and 'right', or 'tab' and everything changes in real-time.

Is there an API?

Yep. Make a POST request to http://meetseesaw.com/see with the following parameters: input (your text), input_format, and output_format. The response body will have your modified output.

Format options are:

  • input_format
    • html
    • textile
    • haml
    • markdown
    • sass
    • tlf
    • css
    • js
  • output_format
    • html
    • textile
    • haml
    • markdown
    • css
    • minified

Currently beautification is done through javascript as there weren't any available ruby scripts to prettify javascript or css that I could find (I'm running this on Heroku so I can't install Java or PHP apps). If you know of a server side beautifier, let me know.

TODO:

  1. Add progress indicator
  2. Flash's Text Layout Framework to HTML
  3. XML and HTML pretty printer
Something went wrong with that request. Please try again.