Skip to content

pmezard/gribouillis

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

What is it?

There are plenty of freemium applications letting you draw in a web canvas and save your masterpieces. It is much harder to come by a working free software self-hosted version which does not pull heaps of NodeJS brokenness. Fortunately, very nice folks have written a beautiful client-side drawing canvas widget named literallycanvas:

https://github.com/literallycanvas/literallycanvas

The only missing part was a small backend to save the drawings and expose them. Here comes gribouillis (French for scrawl).

Setup

From a working Go environment:

go get github.com/pmezard/gribouillis

Then in your server appdir/ directory, copy the literallycanvas/ subdirectory and the Go binary.

cd appdir
./gribouillis -http :5000

And voilà, here it is on port 5000. See --help for more options.

Bindings

SPACE key is bound to undo. I found it convenient to either draw with one hand and undo with the other, or bind it to drawing tablets command keys.

About

A self-hosted -working- drawing canvas with persistence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published