A somewhat simple web-app for notes.
Go to file
Magnus Åhall f9f083367e Fixed #1
2024-03-30 22:26:26 +01:00
notification Implemented reminder 2024-03-30 17:43:21 +01:00
sql Implemented reminder 2024-03-30 17:43:21 +01:00
static Better timezone handling 2024-03-30 09:46:48 +01: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 Fixed CORS 2024-03-30 17:58:51 +01:00
node.go Better timezone handling 2024-03-30 09:46:48 +01:00
notification_manager.go Fixed #1 2024-03-30 22:26:26 +01:00
README.md Added structure to readme 2023-12-28 08:13:21 +01:00
request_response.go Wip 2023-06-17 09:11:14 +02:00
schedule.go Implemented reminder 2024-03-30 17:43:21 +01: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 v26 2024-03-30 17:59:15 +01: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:

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