Giter Club home page Giter Club logo

blinkot's Introduction

blinkot

Blinkot is a decentralized, democratized, and robust way to collect and distribute short-form information.

Think of a blinkot as somewhere between a tweet and a blog post that anyone can edit and re-share with their changes (i.e. post on twitter, facebook, google+, or embed).

See the blinkot homepage for more info: http://www.blinkot.com


Blinkot Overview

In a nutshell, a blinkot is a simple way to embed arbitrary HTML in a URL-contained wrapper that can be easily shared.

Requiring the link to remain < 2048 characters allows it to be posted on most social media sites and URL shorteners with minimal overhead. This leads to ~1440 characters of content.

Inherent in each blinkot is also the ability to modify and create new blinkots. Since the content is contained in the URL's hash ("#..."), no data needs to be transferred to the minimalistic site hosting the blinkot's viewer/editor code.

Blinkot URL Structure

The URL's hash has 4 parts and looks like this...

http://.../#TITLE_THEME_CONTENTTYPE_CONTENT_DATE
TITLE:       base64 encoded title text
THEME:       single letter (l,d)   - see: themeNames
CONTENTTYPE: single letter (h,r,t) - see: typeNames
TITLE:       base64 encoded content text
DATE:        base32 -- new Date().getTime().toString(32);

Here's a real-world, correctly formed example URL.

For more details, view comments in the src/blinkot.js file.

Design Considerations

Blinkot is served from a single, static index.html file. This makes scaling up crazy simple since it can be uploaded anywhere and used immediately.

Blinkot is designed to be super lightweight. It doesn't even need jQuery.

Blinkots can always be edited / forked by anyone.

Blinkots are easy to share, either directly via the full URL, or indirectly via a URL shortener (such as goo.gl when requested by the user).


Open Source

Blinkot is released as open source under The MIT License (MIT).

If you run into problems or have suggestions for improvement, please file an issue.

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.