Skip to content
An offline-first, secure, private notepad. 📔 ✏️
Go Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml May 14, 2020
static update readme Jul 4, 2019
.gitattributes Update .gitattributes May 29, 2019
.gitignore add binary May 27, 2019
Dockerfile add dockerifle Jul 4, 2019
README.md 8251~ not 8152 Oct 14, 2019
go.mod
go.sum update deps Jul 4, 2019
main.go add dockerifle Jul 4, 2019

README.md

offlinenotepad

https://offlinenotepad.com

offlinenotepad is an open-source offline note taking app. It is a browser-based offline-first notepad that securely syncs across your devices - including smartphones, laptops, and chromebooks. Ideally, its a minimalist note-writing experience that can be accessed anywhere, anytime.

Offline-first. All information is stored as encrypted data in the browser. Saving, editing, viewing, and searching are all done on the client.

Secure. offlinenotepad uses AES with the PBE algorithm (PBKDF2) with the crypto-js library to encrypt data on the client and the server.

Minimal. This offline notepad aims to do as much as possible with as little as possible.

Publish. Any page can be "published" so that is accessible by anyone with a simple random link, like offlinenotepad.com/50e5791a. The raw data can easily be easily cURLed by adding /raw to the end, e.g. offlinenotepad.com/50e5791a/raw.

Code. If the title of any document contains a period (".") then it will force the editor to be monospace and it will show the plain text in the viewer instead of transformed Markdown to HTML.

This writing tool is largely based of its predecessors: cowyo and rwtxt.com (both also available on Github).

Install

To run your own server for backing up notes you can simply install with Go.

$ git clone https://github.com/schollz/offlinenotepad
$ cd offlinenotepad
$ go generate -v -x
$ go build -v

And then you can run


$ ./offlinenotepad

Log into localhost:8251 to see the site.

Docker

Alternatively you can run with docker:

$ docker run -v /location/to/save/data:/data -p 8251:8251 schollz/offlinenotepad

Acknowledgements

I took a lot of help from @GoogleChromeLabs with their airhorn.

License

MIT

You can’t perform that action at this time.