https://github.com/aceberg/rediary
Emotional resource diary
https://github.com/aceberg/rediary
golang-application self-hosted selfhosted
Last synced: over 1 year ago
JSON representation
Emotional resource diary
- Host: GitHub
- URL: https://github.com/aceberg/rediary
- Owner: aceberg
- License: mit
- Created: 2023-03-06T16:48:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-04T07:14:01.000Z (over 2 years ago)
- Last Synced: 2025-03-20T00:11:15.500Z (over 1 year ago)
- Topics: golang-application, self-hosted, selfhosted
- Language: Go
- Homepage: https://hub.docker.com/r/aceberg/rediary
- Size: 354 KB
- Stars: 42
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aceberg/rediary/actions/workflows/main-docker.yml)
[](https://goreportcard.com/report/github.com/aceberg/rediary)
[](https://codeclimate.com/github/aceberg/rediary/maintainability)

Resource Diary
Emotional resource diary
- [Quick start](https://github.com/aceberg/rediary#quick-start)
- [Usage](https://github.com/aceberg/rediary#usage)
- [Config](https://github.com/aceberg/rediary#config)
- [Options](https://github.com/aceberg/rediary#options)
- [Thanks](https://github.com/aceberg/rediary#thanks)

## Quick start
```sh
docker run --name rediary \
-e "TZ=Asia/Novosibirsk" \
-v ~/.dockerdata/rediary:/data/rediary \
-p 8847:8847 \
aceberg/rediary
```
Or use [docker-compose.yml](docker-compose.yml)
## Usage
Add your own Tags and Actions on Config page.
## Config
Configuration can be done through config file or environment variables
| Variable | Description | Default |
| -------- | ----------- | ------- |
| DB | Path to Database | /data/rediary/sqlite.db |
| HOST | Listen address | 0.0.0.0 |
| PORT | Port for web GUI | 8847 |
| THEME | Any theme name from https://bootswatch.com in lowcase | minty |
| BGCOLOR | Background color: light or dark | light |
| MOODMAX | Length of Minus and Plus scales | 5 |
| TZ | Set your timezone for correct time | "" |
| AUTH | Enable Session-Cookie authentication | false |
| AUTH_USER | Username | "" |
| AUTH_PASSWORD | Encrypted password (bcrypt). [How to encrypt password with bcrypt?](docs/BCRYPT.md) | "" |
| AUTH_EXPIRE | Session expiration time. A number and suffix: **m, h, d** or **M**. | 7d |
## Options
| Key | Description | Default |
| -------- | ----------- | ------- |
| -c | Path to config file | /data/rediary/config.yaml |
## Thanks
- All go packages listed in [dependencies](https://github.com/aceberg/rediary/network/dependencies)
- [Bootstrap](https://getbootstrap.com/)
- Themes: [Free themes for Bootstrap](https://bootswatch.com)
- Favicon and logo: [Flaticon](https://www.flaticon.com/icons/)