A somewhat simple web-app for notes.
Go to file
2024-01-09 16:59:28 +01:00
sql Added Markdown support 2024-01-09 16:28:40 +01:00
static Fixed CSS wrapping header icons 2024-01-09 16:59:17 +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 Use websocket from library 2024-01-07 16:20:21 +01:00
go.sum Added Markdown support 2024-01-09 16:28:40 +01:00
key.go wip: rewrite to webservice library 2024-01-05 20:00:02 +01:00
main.go Added Markdown support 2024-01-09 16:28:40 +01:00
node.go Added Markdown support 2024-01-09 16:28:40 +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 Bumped to v17 2024-01-09 16:59:28 +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