Notes'n'Todos logo

Notes'n'Todos

  •  0 ratings
In category: Note-taking & Editors

About Notes'n'Todos

Write notes and todos online in markdown with tag filtering and date sorting.

  •   477  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: N/A  
  •   N/A  
  •   N/A  
  •  Latest commit: N/A  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about Notes'n'Todos

Notes'n'Todos

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:

How to compile and run locally

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.

Hints for using vscode + pylance

To make pylance understand the python imports an extra path must be added to .vscode/settings.json:

{
    "python.analysis.extraPaths": [
        "src/backend"
    ]
}

Installing the docker on a Linux based server

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.

Nginx reverse proxy with http authentication

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
}

Automatic start using systemd

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

Links

Comments (0)

Please login to join the discussion on this project.

Notes'n'Todos Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

pCloud Lifetime

Popular Projects

FluxBB

in Social Networks and Forums
 33k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Libreddit

in Social Networks and Forums
 7k    0    1    0  

CasaOS

in Self-hosting Solutions
 5k    0    0    0  

Dashboard

in Personal Dashboards
 5k    0    0    0  

Audiobookshelf

in Audio Streaming
 5k    0    1    0  

Mediagoblin

in Photo and Video Galleries
 4k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Tube Archivist

in Automation
 3k    0    1    0  

OneDev

in Project Management
 2k    0    0    0  

iodine

in Proxy
 2k    0    0    0  

Alf.io

in Booking and Scheduling
 2k    0    0    0  

sysPass

in Password Managers
 1k    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

Memos logo
Memos cover

Memos

An open source, self-hosted knowledge base that works with …

Livebook logo
Livebook cover

Livebook

Realtime collaborative notebook app based on Markdown that …

Wreeto logo
Wreeto cover

Wreeto

Wreeto is an open source note-taking, knowledge management …