Write notes and todos online in markdown with tag filtering and date sorting.
Deploy this app to Linode with a free $100 credit!
Note'n'Todos is an open source web app for managing personal notes and todos. The notes are written in markdown and have time stamps, tags and embedded todos. The back end stores the notes as plain text files on the server.
Try the playground here:
Install dependencies
sudo apt install python3.9-venv python3.9-dev
If python3.9 is not available you may add the PPA deadsnakes: sudo add-apt-repository ppa:deadsnakes/ppa
Pull the repository
git clone https://github.com/larspontoppidan/notesntodos
cd notesntodos
Install, build and serve the app: (for development purposes)
npm install
npm run build
npm run serve
Now, Notes'n'Todos should be available locally at: http://localhost:8081/notes/
If npm
is not available, consider following installation instructions such as these: https://github.com/nodesource/distributions and the suggestions here: https://stackoverflow.com/a/55274930 - to avoid version and permission issues.
To make pylance understand the python imports an extra path must be added to .vscode/settings.json
:
{
"python.analysis.extraPaths": [
"src/backend"
]
}
Pull the latest docker image:
sudo docker pull larspontoppidan/notesntodos:latest
Create a script for starting the docker
sudo nano /usr/bin/start_notesntodos
Now paste the contents of docker-run.sh
from this repository into the start script. Edit the setup()
function and set the desired configuration values.
Test that the script can start up successfully:
sudo chmod +x /usr/bin/start_notesntodos
sudo /usr/bin/start_notesntodos
At this point the Notes'n'Todos app should be available according to the configuration. Press Ctrl-c
to stop it.
Note'n'Todos doesn't currently have login management, but http authentication can be used to restrict access.
Running the following will shift user to root, ask for username and password and store the digest as /etc/notesntodos.htpasswd
sudo su
printf "`read -p Username:\ ; echo $REPLY`:`openssl passwd -apr1`\n" >> /etc/notesntodos.htpasswd
exit
Example server block for nginx for serving Notes'n'Todos. Adjust server_name
and enter the correct port in the proxy_pass
statement:
server {
server_name example.com;
location /notes/ {
proxy_pass http://localhost:5000;
auth_basic "Login";
auth_basic_user_file /etc/notesntodos.htpasswd;
}
# OBS! please enable HTTPS using your favorite method and remove the following listen 80:
listen 80
}
Using sudo edit the file: /etc/systemd/system/notesntodos.service
and enter contents:
[Unit]
After=network.target
[Service]
User=root
Group=root
ExecStart=/usr/bin/start_notesntodos
[Install]
WantedBy=multi-user.target
Check that starting, stopping and status for the service work without errors:
sudo service notesntodos start
sudo service notesntodos status
sudo service notesntodos stop
sudo service notesntodos status
Then enable it for automatic start at boot:
sudo systemctl enable notesntodos
Please login to review this project.
No reviews for this project yet.
Simple and private notes app. Protect your privacy while ge…
The last Markdown editor, ever.
Personal notes stream with Markdown support.
Comments (0)
Please login to join the discussion on this project.