musselman
846de5c396
for improved user experience This commit refactors the newuser.html template for improved user experience by adding a title, meta viewport tag, and Bootstrap CSS. It also enhances the layout and styling, including the use of Bootstrap alerts and input groups. The form for creating a new file is now displayed in a more organized manner. |
||
---|---|---|
editor_templates | ||
static | ||
templates | ||
.env.example | ||
.gitignore | ||
database.go | ||
docker-compose.yaml | ||
Dockerfile | ||
editor.go | ||
export.go | ||
go.mod | ||
go.sum | ||
Jenkinsfile | ||
LICENSE | ||
list.go | ||
main.go | ||
README.md | ||
tables.go | ||
user.go | ||
wait-for-postgres.sh |
Notatio
💡 About
Notatio is currently under heavy development, and as such there is the possibility breaking changes
Notatio is a self-hostable, containerized, web-based text editor. The main objective of the project is to create a platform independent text editor (and productivity management suite). I hope to develop this as an alterniative to propriatry software like obsidian and Notion.so which I have loved and used in the past. This software is currently being created as part of a Senior Capstone, but there are plans to continue developing it afterwards.
🛣️ Roadmap
In Progress
- 🕓 Building Custom Text Editor
- 🕓 Add Kanban Board
Planned V1 Release
- Flesh out File Management Operations
- NoSQL setup option
Planned V1.1 Release
- Collaborative Editing
- File Versiong
Planned v1.2 Releaase
- End to End Encryption
💾 Download
Downloading Notatio is simple! Just clone the repository using the command below:
git clone https://codeberg.org/musselman/notatio
🚀 Running
There are two ways to run Notatio.
📦Container (Recommended)
Docker
Before running the Docker container, make sure to copy .env.example
to .env
and customize the environment variables to your preferences:
cp .env.example .env
Launch the containers using the following command:
docker-compose up -d
Podman (Alternative to Docker)
- Make sure you have Podman and Podman-Compose installed on your system.
- Copy
.env.example
to.env
and modify the environment variables as per your requirements. - Edit the docker-compose.yaml to have
:Z
's at the end of volumes. This is to tell SELinux that the volumes should be labeled with the appropriate security context. - Launch the containers using the following command:
podman-compose up -d
Please note that using Podman instead of Docker requires you to have Podman installed and properly configured on your system. The usage and setup of Podman may differ from Docker, so please consult the Podman documentation for further information.
🛠️ Go Binary (Advanced)
Note: This setup requires a running PostgreSQL database. Please set it up before proceeding.
To run Notatio using the Go binary, follow the steps below:
- Build the Go binary.
- Pass the necessary environment variables to the program, editing them to provide the required information for your database.
Example command:
DB_HOST=127.0.0.1 PGPORT=5432 DB_USER=postgres POSTGRES_PASSWORD=mysecretpassword DB_SSL_MODE=disable ADMIN_USER=admin_user ADMIN_PASS=admin_is_not_a_good_password! ./notatio
Please note that this method is more advanced and requires additional setup.
🤝 Contributing
As this is currently an accademic project I cannot accept contributions! If you are interested in doing so please reach out to me on or after December 7th.
📄 License
This project is licensed under the AGPL - see the LICENSE file for details