An open source, lightweight note-taking service. Easily capture and share your great thoughts.
Find a file
Athurg Gooth c72f221fc0
feat: support mysql as backend storage driver (#2300)
* Rename checkDSN to checkDataDir

* Add option to set DSN and db driver

* Add mysql driver skeleton

* Add mysql container in compose for debug

* Add basic function for mysql driver

* Cleanup go mod with tidy

* Cleanup go.sum with tidy

* Add DeleteUser support for mysql driver

* Fix UpdateUser of mysql driver

* Add DeleteTag support for mysql driver

* Add DeleteResource support for mysql driver

* Add UpdateMemo and DeleteMemo support for mysql driver

* Add MemoRelation support for mysql driver

* Add MemoOrganizer support for mysql driver

* Add Idp support for mysql driver

* Add Storage support for mysql driver

* Add FindMemosVisibilityList support for mysql driver

* Add Vacuum support for mysql driver

* Add Migration support for mysql driver

* Add Migration support for mysql driver

* Fix ListMemo failed with referece

* Change Activity.CreateTs type in MySQL

* Change User.CreateTs type in MySQL

* Fix by golangci-lint

* Change Resource.CreateTs type in MySQL

* Change MigrationHistory.CreateTs type in MySQL

* Change Memo.CreateTs type in MySQL
2023-09-28 09:09:52 -05:00
.github
.vscode
api chore: show unused resources in dashboard 2023-09-27 08:09:30 +08:00
cmd feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
common
docs chore: regenerate swagger docs 2023-09-27 00:52:42 +08:00
internal/cron
plugin
proto chore: show unused resources in dashboard 2023-09-27 08:09:30 +08:00
scripts chore: stop process on build error (#2295) 2023-09-27 11:56:39 +08:00
server feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
store feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
test chore: move migration and seed code into driver (#2294) 2023-09-27 11:56:20 +08:00
web fix: apiv2 failed in container (#2307) 2023-09-28 05:45:45 -05:00
.dockerignore
.gitignore
.golangci.yaml
CODEOWNERS chore: update readme (#1047) 2023-02-08 08:51:36 +08:00
docker-compose.dev.yaml feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
docker-compose.uffizzi.yml
docker-compose.yaml
Dockerfile
go.mod feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
go.sum feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
LICENSE
main.go feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
README.md
SECURITY.md

memos

✍️ memos

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

DocumentationLive Demo • Discuss in Discord / Telegram

GitHub stars Docker pull 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