Introducing Rocketbin

Today I’m excited to launch my first Flask app named Rocketbin.

There is a stage in the life of a front-end developer where we want to build our own back-end.

We want to be able to manipulate databases, build APIs, and all that cool stuff that we need to make cool apps.

The micro-framework

Recently I started to play with Flask, a micro-framework for Python based on Werkzeug, Jinja2 (A templating language) and good intentions.

Because its simplicity, the amount of documentation and the community involved in the project, I found Flask a very good fit in my needs.

First Project

For my first project I wanted to create a Pastebin clone, using Python in the back-end and JavaScript in the front-end.

Why Not Node?

I found Python a lot simpler than Node, that’s it.

So… What is Rocketbin?

Rocketbin is a very simple Pastebin clone, without user management, without title and with a very few supported languages:

  • HTML
  • CSS
  • Sass
  • Less
  • JavaScript
  • CoffeeScript
  • Python
  • Ruby
  • PHP

Features?

Most of the features are provided by Ace in the editor, and those include:

  • Syntax highlighting using Github theme
  • Automatic indent
  • Live syntax checker
  • Emmet
  • Vim and Emacs key bindings
  • Autocompletion

Here are some gifs to show the features in action:

Autocomplete in JavaScript

image

Autocomplete in Python

image

What technologies are involved?

Back-end

  • Flask
  • MongoDB

Front-end

  • HTML
  • CSS using Sass
  • jQuery (Yes I’m lazy)

Obviously this is an open-source project, hosted in Github with a GPL License.

This is still a work in progress, so if you find any bug please submit a ticket on the Github repository.

Happy Coding!