/embedded-writeable

Programs that store data inside of its binary

Primary LanguageGo

embedded-writeable

Example programs that modify itself while being ran

asciicast Simply adds the data at the end of program binary seperated by a signifier

Compiling examples

Both of the below programs save data in the binary by recompiling itself, meaning you need go installed on your system

Program that shows the last time you opened it

Recompiles itself with new information as the program closes

Sqlite database with simple REPL you can play around with

Stores the database in virtual FS and moves it out of that into a temp folder