A somewhat simple web-app for notes.
Go to file
2023-12-28 08:13:21 +01:00
sql Hashed passwords. 2023-07-20 10:06:28 +02:00
static Tree nodes aren't selectable 2023-07-22 10:50:24 +02:00
.gitignore File uploads 2023-06-22 06:52:27 +02:00
config.go Added file uploads 2023-06-21 23:52:21 +02:00
connection_manager.go Initial commit 2023-06-15 07:24:23 +02:00
db.go Version handling from file 2023-12-28 07:47:23 +01:00
file.go File uploads 2023-06-22 16:48:31 +02: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 Work on cryptokeys 2023-07-12 22:35:38 +02:00
main.go Create a user from command line 2023-12-28 08:08:59 +01:00
node.go Search on node name 2023-07-20 07:27:29 +02: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
session.go Hashed passwords. 2023-07-20 10:06:28 +02:00
TODO Tree nodes aren't selectable 2023-07-22 10:50:24 +02:00
user.go Create a user from command line 2023-12-28 08:08:59 +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