Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrinjamul/gnote

A note taking web based application
https://github.com/mrinjamul/gnote

api cli command-line gin go note note-taking productivity utilities

Last synced: 19 days ago
JSON representation

A note taking web based application

Awesome Lists containing this project

README

        


secret logo

gnote



A notetaking and snippet sharing web based application.


hosted at [note.mrinjamul.in](https://note.mrinjamul.in).

Note: Work in progress.

## Requirements

- [Golang](https://golang.org/dl/)
- [Docker](https://docs.docker.com/get-docker/) (Optional but recommended)
- [Postgresql](https://www.postgresql.org/download/) (**Only if you are not using `docker`**)

### Development

To get started, you can clone the repository and run the following commands:

```bash
git clone https://github.com/mrinjamul/gnote.git
```

To install the dependencies, run the following commands:

```bash
cd gnote
go mod download
```

Copy environment variables file and replace the values with your own.

```bash
cp .env.example .env
```

To run the application, run the following commands:

```bash
export $(cat .env | xargs)
make dev
./gnote
```

To build the application (production), run the following commands:

```bash
make
export $(cat .env | xargs)
./gnote
```

### License

- Backend is open sourced under the [MIT license](LICENSE)
- CLI is open sourced under the [Apache 2 license](cmd/gnote/LICENSE)