A somewhat simple web-app for notes.
Go to file
2024-01-05 21:14:55 +01:00
sql wip: rewrite to webservice library 2024-01-05 20:00:02 +01:00
static User session fixes 2024-01-05 21:14:55 +01:00
.gitignore File uploads 2023-06-22 06:52:27 +02:00
config.go Converted to JSON slog 2023-12-28 09:09:56 +01:00
connection_manager.go Converted to JSON slog 2023-12-28 09:09:56 +01:00
file.go wip: rewrite to webservice library 2024-01-05 20:00:02 +01:00
go.mod Initial commit 2023-06-15 07:24:23 +02:00
go.sum Initial commit 2023-06-15 07:24:23 +02:00
key.go wip: rewrite to webservice library 2024-01-05 20:00:02 +01:00
main.go User session fixes 2024-01-05 21:14:55 +01:00
node.go User session fixes 2024-01-05 21:14:55 +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
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 Version handling from file 2023-12-28 07:47:23 +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