Inst ASCII

A small Instafeed.js plugin that returns ASCII versions of images

And this is basically possible because of this tweet :

Take any Facebook/Instagram photo URL.

👉 append `.txt` → ASCII art
👉 append `.html` → colored ASCII art

E.g. https://t.co/GgnN8HJii4

— Mathias Bynens (@mathias) 28 Janvier 2016

Description

InstASCII is really simple, it will returns ASCII versions of your instagram images fetched with Instafeed.js

You can returns plain ol' text, or stylized colored HTML

Once instafeed.js and instascii.js loaded, you'll have to make your call directly with the InstASCII instance.
As shown in the API section

This plugin only can work with Instafeed.js , it will not work as a standalone script.

API

  instASCII({
    clientId: 'Your client_id'
    accessToken: 'Your access_token',
    userId: 'user_id',
    limit: x, 
    get: 'user',
    target: 'instafeed',
    resolution: 'standard_resolution',
    limit: '100',
    type: 'colored', // or Basic | By default : colored
    color: '#fff',    // Only if basic
    wrapper: 'pre', // By default : pre
    wrapperClass: 'instascii'// By default : instascii,
    
    // Because instagram servers
    // are protected, we need a server
    // that deals with CORS restriction
    // By default I created an heroku app
    // for it :
    // https://still-forest-36763.herokuapp.com/?u=
    cors: 'https://still-forest-36763.herokuapp.com/?u='
  })

All the parameters but type and color , are the same as the one used on Instafeed.js , so if you encounter any issues related to those parameters (except type and color ) , consider digging the Instafeed.js documentation

Download

Minified Expanded

Or just check the

github project

Always set a CORS server to avoid CORS restrictions.

Demo