A somewhat simple web-app for notes.
Go to file
2024-04-19 13:34:30 +00:00
notification Implemented reminder 2024-03-30 17:43:21 +01:00
sql Event schedule 2024-04-17 18:43:24 +02:00
static #6, initial continuous adding of items 2024-04-18 07:47:35 +02:00
.gitignore File uploads 2023-06-22 06:52:27 +02:00
config.go Implemented rudimentary notification with NTFY and acknowledgement 2024-03-29 20:24:53 +01:00
connection_manager.go Converted to JSON slog 2023-12-28 09:09:56 +01:00
db.go Schedule and notification 2024-03-28 21:49:48 +01:00
file.go wip: rewrite to webservice library 2024-01-05 20:00:02 +01:00
go.mod Implemented rudimentary notification with NTFY and acknowledgement 2024-03-29 20:24:53 +01:00
go.sum Implemented rudimentary notification with NTFY and acknowledgement 2024-03-29 20:24:53 +01:00
key.go wip: rewrite to webservice library 2024-01-05 20:00:02 +01:00
main.go Event schedule 2024-04-17 18:43:24 +02:00
node.go Fixed bug deleting all schedules 2024-04-18 20:08:07 +02:00
notification_manager.go Fixed #1 2024-03-30 22:26:26 +01:00
README.md Update README.md 2024-04-19 13:34:30 +00:00
request_response.go Added wrappederror explicit logging 2024-04-05 09:01:59 +02:00
schedule.go Removed unnecessary logging 2024-04-17 18:48:25 +02:00
TODO Tree nodes aren't selectable 2023-07-22 10:50:24 +02:00
user.go wip: rewrite to webservice library 2024-01-05 20:00:02 +01:00
version Bumped to v28 2024-04-18 20:08:25 +02:00

Run from scratch

Database

Create an empty database. The configured user needs to be able to create and alter stuff.

Configuration

Create a configuration file $HOME/.config/notes.yaml with the following content:

network:
  address: '[::]'
  port: 1371

websocket:
  domains:
    - notes.com

database:
  host: 127.0.0.1
  port: 5432
  name: notes.com
  username: notes
  password: SomePassword

application:
  directories:
    static: /usr/local/share/notes
    upload: /usr/local/lib/notes/upload

session:
  daysvalid: 31

User

Create a user by running

notes --createuser