Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/levlaz/braindump
BrainDump is a simple, powerful, and open note taking platform that makes it easy to organize your life.
https://github.com/levlaz/braindump
Last synced: 3 months ago
JSON representation
BrainDump is a simple, powerful, and open note taking platform that makes it easy to organize your life.
- Host: GitHub
- URL: https://github.com/levlaz/braindump
- Owner: levlaz
- License: mit
- Archived: true
- Created: 2015-11-22T20:15:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-18T07:21:16.000Z (almost 8 years ago)
- Last Synced: 2024-07-10T23:28:31.769Z (4 months ago)
- Language: Python
- Homepage:
- Size: 6.09 MB
- Stars: 528
- Watchers: 17
- Forks: 57
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-github-stars - levlaz/braindump - BrainDump is a simple, powerful, and open note taking platform that makes it easy to organize your life. (Python)
README
**DEPRECATED: Read more [here](https://levlaz.org/standard-notes-is-a-better-project-than-braindump/) and join me in using and contributing to [Standard Notes](https://standardnotes.org/) instead.**
# braindump
BrainDump is a simple, powerful, and open note taking platform that makes it easy to organize your life.
# Features
* RESTful API (WIP)
* Full Markdown Editing
* Full Markdown Viewing
* Share Notes via Email
* Categorize Notes into Notebooks
* Categorize Notes with Tags
* Full Text Search
* Mark notes as Favorites# Screenshots
## Organize your Notes with Notebooks
![Notebooks](https://github.com/levlaz/braindump/blob/master/app/static/images/notebooks.png)## Powerful Markdown based Editing with [Prose Mirror](https://prosemirror.net/)
![New Note](https://github.com/levlaz/braindump/blob/master/app/static/images/new_note.png)## All of your Notes in One Place
![All Notes](https://github.com/levlaz/braindump/blob/master/app/static/images/all_notes.png)# Development
The easiest way to hack on braindump is with Vagrant
## Requirements
1. VirtualBox
2. Vagrant
3. Git## Development Instructions
1. Fork and Clone this repo locally
2. `cd` into the new repo
3. Run `vagrant up`
4. The first time you run `vagrant up` the provisioner (scripts/bootstrap.sh) will run which takes a bit of time. Each subequent time will be much quicker.
5. Run `vagrant ssh` to enter the Vagrant box.
6. Go to the `/vagrant` directory with `cd /vagrant` which is a synced folder of your local git repo.
6. Run `scripts/start-dev.sh` to start the application
7. Go to localhost:5000 to view the app, any changes you make locally will be reflected in the Vagrant environment.# Deploying to Production
The only official method of deploying Braindump is with Docker. Braindump.pw is currently running on an Ubuntu 16.04 LTS server on [Linode](https://www.linode.com/?r=15437cfec0948d105bf7478af2422241ed5da188). You can view `scripts/deploy.sh` to see how braindump is currently being deployed to production via CircleCI.## Requirements
1. Docker and Docker Compose
2. SMTP (Required for Creating new Accounts and Sharing Notes)## Deployment Instructions
1. Log into your Production Server and install Docker and Docker Compose
2. Create a new directory for braindump `mkdir -p /var/www/braindump`
3. Edit `scripts/secrets.sh` and add your site specific environment credentials.
4. Edit `etc/conf/nginx.conf` and add your site specific nginx configuration
5. From your local repo, send latest scripts to production Server```
rsync -avz scripts/ $USER@SERVER:/var/www/braindump/scripts/
rsync -avz etc/ $USER@SERVER:/var/www/braindump/etc/
scp docker-compose.yml $USER@SERVER:/var/www/braindump
```6. From your local repo, log into production server, pull and restart Docker
```
ssh $USER@SERVER 'cd /var/www/braindump && docker-compose pull'
ssh $USER@SERVER 'cd /var/www/braindump && docker-compose build'
ssh $USER@SERVER 'cd /var/www/braindump && source scripts/secrets.sh && docker-compose up -d'
```7. (Optional) to set up automatic backups (every 6 hours) add the backup script to your crontab `crontab scripts/braindump-backup`
If all goes well, you will be able to navigate to $YOUR_SERVER in a browser and see the app. If you get a bad gateway error, or some other error try to run docker-compose in the foreground to get additional logging `cd /var/www/braindump && source scripts/secrets.sh && docker-compose up`