Skip to content

pikesley/dead-cockroach

Repository files navigation

Convert Uncle-Clive's JSON into something suitable for Pokrovsky's Github vandalism

v0.0.1

Introduction

A very simple webservice to take the 8-unit-high output from Uncle-Clive and convert it to 7 units for use in the Pokrovsky Github vandalism tool, according to the following rules:

  • if a character has a blank top row, that row will be excised, else
  • if a character has a blank bottom row, that row will be excised, else
  • rows[4] will be excised

API

/:text

Will return JSON content representing :text, rendered in the 1982 Sinclair Spectrum character set, but compressed into 7 rows, and with the 'on' pixels represented by 4s.