Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/errornointernet/termcanvas

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/errornointernet/termcanvas

  • v0.0.0-20240127071134-00f8bf3c0d62
  • Source
  • Go
  • Socket score

Version published
Created
Source

termcanvas

Draw stuff in your terminal! Screenshot0 Screenshot1

Features

  • Placing pixels
  • 16 different colors
  • Drawing filled squares
  • Drawing empty boxes
  • Displaying custom text
  • Saving & loading (CSV)
  • Multiplayer support
Colors

It's possible to use more than 16 colors, by modifying the color names saved in the CSV files to hex codes. See examples/hex-colors.csv for an example.

Multiplayer support

To host a termcanvas server, run termcanvas -host, which starts a server on port 55055 (you can change this with termcanvas -host -port XXXXX). To connect to a termcanvas server, run termcanvas -connect example.com (or termcanvas -connect example.com -port XXXXX for a custom port). The server host knows the IP addresses of whoever connects (clients can only see the server IP), and multiple clients can connect to the same server.

Controls

esc: exit termcanvas
left click: place a pixel (works with the Region tool, which draws a region)
right click: remove a pixel (works with the Region tool, which removes a region)

Compiling

Requirements

  • Go 1.18 or higher recommended
git clone https://github.com/ErrorNoInternet/termcanvas
cd termcanvas
go build

If you would like to modify or use this repository (including its code) in your own project, please be sure to credit!

FAQs

Package last updated on 27 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc