tic2bar.js
A downloadable tool
About
This command-line application uploads TIC-80 cartridges to IPFS and encodes the url into barcodes or QR codes (default) for distribution.
It's also able to decode them back and download the cartridges from IPFS.
It uploads them to IPFS through the INFURA gateway
and stores the hash of the upload in the barcodes
or just the url of the cartridge in QR Codes.
QR Codes can be decoded with any QR Scanner, but I've built one in this application for convenience's sake.
I took inspiration from this video from MattKC.
GitHub
Installation
> npm install --global tic2bar
Usage
> tic2bar
Config
You can change the encoding and decoding type in the config.json5 file.
/* encoder & decoder type: qr or 128 (code128 barcode) */ type: 'qr'
Dependencies
- "canvas": "^2.6.1",
- "ipfs-mini": "^1.1.5",
- "jsbarcode": "^3.11.0",
- "jshint": "^2.12.0",
- "json5": "^2.1.3",
- "node-qrdecode": "^1.0.3",
- "prompt-sync": "^4.2.0",
- "qrcode": "^1.4.4",
- "quagga": "^0.12.1"
TIC-80
TIC-80 is a open source fantasy computer for making, playing and sharing little games.
[tic.computer](https://tic.computer/)
[nesbox/TIC-80](https://github.com/nesbox/TIC-80)
Ending words
The application is very bare bones and more of an idea.
The project is as it stands very gimmicky and not that useful,
but i quite like the idea of storing TIC-80 cartridges in barcodes or QR codes
for distribution and i can only imagine what kinds of stuff you could pull of,
like scanning a QR Codes on mobile and playing it directly through some kind of app.
License
GPL-3.0 see LICENSE.md for details.
The word "QR Code" is registered trademark of:
DENSO WAVE INCORPORATED
Status | Released |
Category | Tool |
Author | ๐ฌ๐ฑ๐ช๐ป๐ต๐ ๐ |
Tags | cartridge, Retro, TIC-80, virtual-console |
Code license | GNU General Public License v3.0 (GPL) |
Asset license | Creative Commons Zero v1.0 Universal |
Average session | A few seconds |
Languages | English |
Inputs | Keyboard |
Accessibility | Color-blind friendly |
Links | Source code |
Download
Click download now to get access to the following files:
Development log
- Now with QR Code encoding and decoding!Aug 13, 2020
Leave a comment
Log in with itch.io to leave a comment.