A lightweight, self-hosted memo hub. Open Source and Free forever.
Go to 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 chore: remove arm/v7 form platforms 2023-09-19 00:34:27 +08:00
.vscode chore: update golangci-lint config 2023-09-17 22:55:13 +08:00
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 chore: generate ts definition (#2156) 2023-08-21 02:09:41 +08:00
docs chore: regenerate swagger docs 2023-09-27 00:52:42 +08:00
internal/cron chore: update golangci-lint config 2023-09-17 22:55:13 +08:00
plugin fix: content sanitization in getimage endpoint (#2241) 2023-09-18 12:45:26 +08:00
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 chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
.gitignore fix: content sanitization in getimage endpoint (#2241) 2023-09-18 12:45:26 +08:00
.golangci.yaml chore: update golangci-lint config 2023-09-17 22:55:13 +08:00
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 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: update dockerfile 2023-09-18 23:23:13 +08:00
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 feat: responsive view (#75) 2022-06-19 11:32:49 +08:00
main.go feat: support mysql as backend storage driver (#2300) 2023-09-28 09:09:52 -05:00
README.md chore: update some detail styles (#2168) 2023-08-24 21:52:16 +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 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