• Stars
    star
    424
  • Rank 98,518 (Top 2 %)
  • Language
    Go
  • License
    MIT License
  • Created about 2 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Draw in your terminal

Draw

draw is an simple drawing tool in the terminal. Hold your mouse down and move it across the screen to draw anything you want!

Draw

Installation

go install github.com/maaslalani/draw@latest

Usage

draw

Boxes

Draw boxes by clicking and dragging the right mouse button, releasing the right mouse button will draw the box.

Voila! You have a box drawn where you want it.

Draw Boxes

Text Insertion

Tap the right mouse button to set an anchor for inserting text and type away! Press ESC to exit insert mode.

Insert Text

Saving Drawings

draw automatically saves your latest masterpiece to /tmp/draw.txt by default. You can change this location by setting the environment variable $DRAW_FILE.

export DRAW_FILE=/path/to/draw.txt

To view this drawing use cat or mv the drawing to somewhere more permanent. If you already know you want to save the drawing, run draw with the file path where you want to save the drawing: draw masterpiece.txt.

Controls

  • ctrl+c to exit.
  • Press any key to draw with that character.
  • Press 1 for red.
  • Press 2 for green.
  • Press 3 for yellow.
  • Press 4 for blue.
  • Press 5 for magenta.
  • Press 6 for cyan.
  • Press 7 for gray.
  • Press Alt+0 - Alt+9 to draw with digits.

More Repositories

1

slides

Terminal based presentation tool
Go
9,083
star
2

invoice

Command line invoice generator
Go
1,654
star
3

nap

Code snippets in your terminal
Go
1,612
star
4

gambit

Play chess in your terminal
Go
728
star
5

typer

Typing test in your terminal
Go
452
star
6

confetty

Confetti in your TTY
Go
372
star
7

crow

Run commands when files change.
Go
144
star
8

glyphs

Unicode symbols on the command line
Go
61
star
9

_

dotfiles
Nix
40
star
10

notion-todo

Command Line Interface for adding notion todo tasks
Python
36
star
11

cue

Cue cards in your terminal
Go
23
star
12

quote

Generate aesthetic quote images
Elm
20
star
13

Dungeon

A text-based adventure game coded in Java.
Java
19
star
14

vangogh

CLI for artistic image manipulation.
Go
12
star
15

maaslalani.github.io

My personal website.
HTML
9
star
16

twttr

Twitter in the terminal
Go
8
star
17

gitscrape

A tool that allows you to to enter a repository or organization and retrieve information on all contributors, stargazers, and forkers.
JavaScript
8
star
18

JustFocus

Website blocker.
HTML
8
star
19

reminders

CLI for Reminders.app
Rust
7
star
20

ntbk

CLI for managing notes
Rust
7
star
21

startup-cli

CLI for startup ideas.
JavaScript
6
star
22

CookieDB

NoSQL-like structured data in the browser.
JavaScript
6
star
23

vim.world

A collaborative space for VIM users
JavaScript
5
star
24

Codev

Coding tutorials for everyone.
HTML
3
star
25

awkward.nvim

Evaluate AWK expressions within neovim
Lua
3
star
26

MafiaList

Companies founded by X-Company employees
JavaScript
3
star
27

PicturePerfect

Analyzing social media profiles to discover potential mental illnesses.
Python
3
star
28

scribble

Better writing.
Swift
2
star
29

Dorsbon

A computer assistant to improve your posture.
Python
2
star
30

Pomodoro

A pomodoro timer.
JavaScript
2
star
31

ProjectFolded

Origami as a service.
HTML
2
star
32

Euley

CLI for using projecteuler.net offline.
JavaScript
2
star
33

OffsetList

Companies that have committed to offsetting their carbon emissions.
JavaScript
2
star
34

FounderRewind

Old interviews of famous people, showing their beginnings.
HTML
2
star
35

UnicornFarmer

Cookie Clicker with shopify and unicorns
JavaScript
1
star
36

dotfiles

~
Shell
1
star