- Notifications
You must be signed in to change notification settings - Fork41
A cms for absolute minimalists.
License
schollz/rwtxt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A cms for absolute minimalists. Try it atrwtxt.com.
rwtxt is anopen-source website where you can store any text online for easy sharing and quick recall. In more specific terms, it is a light-weight and fast content management system (CMS) where you write in Markdown with emphasis on reading.
rwtxt builds offcowyo, a similar app I made previously. In improving withrwtxt I aimed to avoidsecond-system syndrome: I got rid of features I never used in cowyo (self-destruction, encryption, locking), while integrating a useful new feature not available previously: you can createdomains. Adomain is basically a personalized namespace where you can write private/public posts that are searchable. I personally userwtxt to collect and jot notes for work, personal, coding - each which has its own searchable and indexed domain.
rwtxt is backed by a singlesqlite3 database, so it's portable and very easy to backup. It's written in Go and all the assets are bundled so you can just download a single binary and start writing. You can also try the online version:rwtxt.com.
Reading. You can sharerwtxt links to read them on another computer.rwtxt is organized indomains - places where you can privately or publicly store your text. If thedomain is private, you must be signed in to read, even you have the permalink.
You can easilycreate your own domain in 10 seconds. When you make a new domain it will be private by default, so only you can view/search/edit your own text.
Once you make a domain you will see an option to make your domainpublic so that anyone can view/search it. However, only people with the domain password can edit in your domain - makingrwtxt useful as a password-protected wiki. (The one exception is the/public
domain, which anyone can edit/view - makingrwtxt useful as a pastebin).
Writing. To write inrwtxt, just create a new page and click "Edit", or goto a URL for the thing you want to write about - likerwtxt.com/public/write-something. When you write inrwtxt you can format your text inMarkdown.
In addition, writing triple backtick code blocks:
```javascriptconsole.log("hello, world");```
produces code highlighted withprism.js:
console.log("hello, world");
Deleting. You can easily delete your page. Just erase all the content from it and it will disappear forever within 10 seconds.
You can easily install and runrwtxt on your own computer.
You can download a binary for thelatest release.
Or you can install from source. First, make sure toinstall Go. Then clone the repo:
$ git clone https://github.com/schollz/rwtxt.git
Then you can make it with:
$ make
And then run it!
$export PATH="${PATH}:${GOPATH}/bin"$ rwtxt
You can also easily install and run with Docker.
$ docker pull schollz/rwtxt
Then run by using docker
$ docker run -v /place/to/store/data:/data -p 8000:8152 schollz/rwtxt
In this case-p 8000:8152
will have rwtxt will be running on port 8000.
By usingrwtxt.com you agree to theterms of service.
MIT
About
A cms for absolute minimalists.