An open source, lightweight note-taking service. Easily capture and share your great thoughts.
Go to file
Lincoln Nogueira c8961ad489
fix: database is locked (#1992)
* fix: database is locked

The option "_journal_mode=WAL" is currently *not* being applied when
provided in the DSN.

This issue affects only new memos installations, not older ones where
the database journal was properly set to WAL mode by the previous sqlite
library go-sqlite3.

modernc.org/sqlite DSN parsing is different from go-sqlite3. It requires
the `_pragma=` prefix and even some options order matter.

https://gitlab.com/cznic/sqlite/-/issues/115

Closes #1985

* chore: upgraded notes on sqlite DSN
2023-07-20 20:51:25 +08:00
.github chore: upgrade pnpm version (#1833) 2023-06-15 22:35:41 +08:00
.vscode chore: update vscode setting enforcement for go111module="on" (#1738) 2023-05-25 22:00:32 +08:00
api/v1 feat: use username instead of uid (#1977) 2023-07-20 19:48:39 +08:00
cmd refactor: migrate auth routes to v1 package (#1841) 2023-06-17 21:25:46 +08:00
common chore: update common utils (#1908) 2023-07-06 22:53:38 +08:00
docs docs: add rowStatus parameter for memo api document (#1984) 2023-07-18 22:20:22 +08:00
plugin feat: format message from telegram and upload attachments (#1924) 2023-07-14 00:18:44 +08:00
scripts chore: add demo banner (#1739) 2023-05-25 19:29:30 +08:00
server chore: upgrade version to v0.14.0 (#1970) 2023-07-16 13:48:10 +08:00
setup chore: update common utils (#1908) 2023-07-06 22:53:38 +08:00
store fix: database is locked (#1992) 2023-07-20 20:51:25 +08:00
test feat: use username instead of uid (#1977) 2023-07-20 19:48:39 +08:00
web feat: use username instead of uid (#1977) 2023-07-20 19:48:39 +08:00
.dockerignore chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
.gitignore chore: setup project workspace for better DX (#1048) 2023-02-08 18:43:13 +08:00
.golangci.yaml chore: update golangci-lint config (#168) 2022-08-24 22:03:07 +08:00
CODEOWNERS chore: update readme (#1047) 2023-02-08 08:51:36 +08:00
docker-compose.dev.yaml chore: split Go binary and src for dev (#1932) 2023-07-12 15:39:56 +08:00
docker-compose.uffizzi.yml feat(mode): add demo mode (#1121) 2023-02-19 13:36:45 +08:00
docker-compose.yaml chore: update readme 2022-09-03 18:46:16 +08:00
Dockerfile chore: clean Dockerfile to exclude musl-dev (#1787) 2023-06-01 20:16:13 +08:00
go.mod feat: add support for auto backup db file (#1950) 2023-07-14 20:05:07 +08:00
go.sum feat: add support for auto backup db file (#1950) 2023-07-14 20:05:07 +08:00
LICENSE feat: responsive view (#75) 2022-06-19 11:32:49 +08:00
main.go feat: disable CGO_ENABLED (#1766) 2023-05-29 13:29:42 +08:00
README.md chore: update readme (#1947) 2023-07-14 00:00:08 +08:00
SECURITY.md chore: add SECURITY.md (#562) 2022-11-25 09:05:52 +08:00

memos

✍️ memos

A privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.

DocumentationLive Demo • Discuss in Discord / Telegram

GitHub stars Discord

demo

Key points

  • Open source and free forever. Embrace a future where creativity knows no boundaries with our open-source solution free today, tomorrow, and always.
  • Self-hosting with Docker in just seconds. Enjoy the flexibility, scalability, and ease of setup that Docker provides, allowing you to have full control over your data and privacy.
  • Pure text with added Markdown support. Say goodbye to the overwhelming mental burden of rich formatting and embrace a minimalist approach.
  • Customize and share your notes effortlessly. With our intuitive sharing features, you can easily collaborate and distribute your notes with others.
  • RESTful API for third-party services. Embrace the power of integration and unleash new possibilities with our RESTful API support.

Deploy with Docker in seconds

docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos ghcr.io/usememos/memos:latest

The ~/.memos/ directory will be used as the data directory on your local machine, while /var/opt/memos is the directory of the volume in Docker and should not be modified.

Learn more about other installation methods.

Contribution

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. We greatly appreciate any contributions you make. Thank you for being a part of our community! 🥰


Acknowledgements

  • Thanks Uffizzi for sponsoring preview environments for PRs.

Star history

Star History Chart