All Projects → quaintdev → pinotes

quaintdev / pinotes

Licence: MIT license
Self hosted notes for Raspberry Pi

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to pinotes

NotesReview
📝 Interface for searching and resolving OpenStreetMap notes
Stars: ✭ 34 (-5.56%)
Mutual labels:  notes
melrose
interactive programming of melodies, producing MIDI
Stars: ✭ 130 (+261.11%)
Mutual labels:  notes
compsci
Lecture notes, projects, and more resources on the courses I attended for my Bachelor's and Master's degrees in Computer Science
Stars: ✭ 15 (-58.33%)
Mutual labels:  notes
Solution-to-Algebra-Chapter-0
Solution to Algebra, Chapter 0
Stars: ✭ 39 (+8.33%)
Mutual labels:  notes
College-Notes
Contribute your handwritten PDF notes and help other students ✌ #DecodersCommunity 🖤
Stars: ✭ 30 (-16.67%)
Mutual labels:  notes
notes
个人笔记
Stars: ✭ 24 (-33.33%)
Mutual labels:  notes
devlog
Command-line tool for tracking your day-to-day software development work
Stars: ✭ 16 (-55.56%)
Mutual labels:  notes
til
Personal Wiki of Interesting things I learn every day at the intersection of software, life & stuff aka my second brain 🧠️
Stars: ✭ 41 (+13.89%)
Mutual labels:  notes
samwise.nvim
samwise is a line-wise note-taking plugin for neovim.
Stars: ✭ 30 (-16.67%)
Mutual labels:  notes
MLOps-Specialization-Notes
Notes for Machine Learning Engineering for Production (MLOps) Specialization course by DeepLearning.AI & Andrew Ng
Stars: ✭ 143 (+297.22%)
Mutual labels:  notes
learning-computer-science
Learning data structures, algorithms, machine learning and various computer science constructs by programming practice from resources around the web.
Stars: ✭ 28 (-22.22%)
Mutual labels:  notes
note-keeper
📓 A tiny bash tool for taking and organizing notes.
Stars: ✭ 58 (+61.11%)
Mutual labels:  notes
electron-vue3-inote
使用electron11+vue3.x+ts的桌面端便笺项目,拥有漂亮的过渡动画效果,以富文本形式储存在本地,可多开输入窗口。(The desktop note project using electron11+vue3.x+ts has beautiful transition animation effects, stored locally in the form of rich text, and can open more input windows.)
Stars: ✭ 168 (+366.67%)
Mutual labels:  notes
QuickNotes
一款简单、轻量、高效的Android记事、记账应用
Stars: ✭ 19 (-47.22%)
Mutual labels:  notes
onepile
Playground for the future of private notes and document management
Stars: ✭ 41 (+13.89%)
Mutual labels:  notes
scout
CLI interface to Tomboy and Gnote
Stars: ✭ 23 (-36.11%)
Mutual labels:  notes
SilentNotes
SilentNotes is a simple note taking app which respects your privacy.
Stars: ✭ 98 (+172.22%)
Mutual labels:  notes
gtd.vim
Getting things done with Vim
Stars: ✭ 42 (+16.67%)
Mutual labels:  notes
PhotoMarker
实现了对图片的标注功能,用户可以添加标注点,并且可以对标注点进行重命名,改变坐标位置,或者删除标注点。以及选择标记点的字体颜色,以及标注点的图标!一系列操作以后可以将编辑过的图片保存至本地相册 (PhotoMarker allows you to take notes on your photos, so that you can make it more expressive. You can add mark points and edit them, change the color of the mark point text, and change the mark point icon. It also allows you to save edited images to…
Stars: ✭ 16 (-55.56%)
Mutual labels:  notes
guitar-tabs-to-MIDI
A program that converts Guitar Tabs into MIDI files.
Stars: ✭ 38 (+5.56%)
Mutual labels:  notes

pinotes

Self-hosted notes solution. Primarily targeting Raspberry PI but should work on any other system.

Breaking change
5th Sept 21: The application now uses sqlite instead of plain markdown files. If you had like to migrate your existing notes to sqlite database you can use the command line -migrate option. All the markdown files in current directory will be migrated to sqlite database.

Setup

Configure Firewall

We want to make sure that the notes are served within LAN and not on the Internet.

# on raspbian/ubuntu
 sudo ufw default deny incoming       # disables all incoming connections
 sudo ufw allow from 192.168.0.0/16   # allows connections within local LAN

Install

The setup below is for raspbian. You may have to modify some steps as per your distribution.

  1. Clone the repository to your desktop git clone https://github.com/quaintdev/pinotes.git

  2. Create a systemd service file as below and move it to /etc/systemd/system/pinotes.service on your Raspberry pi.

    [Unit]
    Description=A self hosted notes service
    After=network.target
    
    [Service]
    User=pi
    WorkingDirectory=/home/user/pinotes
    LimitNOFILE=4096
    ExecStart=/home/user/pinotes/pinotes.bin
    Restart=always
    RestartSec=10
    StartLimitIntervalSec=0
    
    [Install]
    WantedBy=multi-user.target
  3. Create a deployment script as below. You will have to modify it for your env and Pi version. This is for Raspberry Pi 2 B.

    cd build
    export CGO_ENABLED=1
    export CC=arm-linux-gnueabi-gcc
    GOOS=linux GOARCH=arm GOARM=7 go build github.com/quaintdev/pinotes/cmd/
    mv cmd pinotes.bin
    scp pinotes.bin user@piaddress:/home/user/pinotes/
    ssh user@piaddress <<'ENDSSH'
    cd ~/user/pinotes
    sudo systemctl stop pinotes
    rm pinotes.bin
    sudo systemctl start pinotes
    ENDSSH
  4. Create a config file as per your requirement. You can use config.json in this repository.

  5. Verify your setup by visiting http://piaddress:8008/. You will see an empty list of topics [] if this is your first time.

Browser Config

  1. Create a search engine in your browser using url http://piaddress:8008/add?q=%s
  2. Assign a keyword such as pi. You should now be able to add notes like below
    pi todo - buy groceries
    pi readlater - http://wikipedia.com/
  3. All your notes will be saved in 'defaultTopic' defined in config.json
  4. You can view any topic using http://piaddress:8008/topic/topicname
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].