GithubHelp home page GithubHelp logo

imclab / seesaw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lancejpollard/seesaw

0.0 1.0 0.0 300 KB

Converting Content Back n Forth n Back n Forth

Home Page: http://meetseesaw.com

License: Other

seesaw's Introduction

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

seesaw's People

Contributors

lancejpollard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.