Show HN: I am building an open-source Confluence and Notion alternative (opens in a new tab)github.com
551 pointsHello HN,
I am building Docmost, an open-source collaborative wiki and documentation software.
It is an open-source alternative to Confluence and Notion.
I have been working on it for the past 12 months. This is the first public release (beta).
The rich-text editor has support for real-time collaboration, LaTex, inline comments, tables, and callouts to name a few.
Features
- Collaborative real-time editor
- Spaces (Teamspace)
- User permissions
- Groups
- Comments
- Page history
- Nested pages
- Search
- File attachments
You can find screenshots of the product on the website.
Website: https://docmost.com
Github: https://github.com/docmost/docmost
Documentation: https://docmost.com/docs
I would love to hear your feedback.
Thank you.
Comments (217) 44 threads
Show all comments
Showing thread 2 of 44
One thing to remember: devs and tech-savvy people skip everything and look directly at the terminal commands/code. It’s the reason you should never insert the “don’ts” in your repository readme too high on the page: they will be the first things we’ll cut and paste :D
This is not a criticism; it seems you did a wonderful job. Just the feedback of one of many dummy experimenters that you might lose on that page :)
1. https://docmost.com/docs/installation
Also I would use a .env file to manage the env variables, without requiring the user to modify the docker compose file. It’s very likely that people will version the yaml file, so it’s not a good idea to keep secrets in plaintext there.
https://docs.docker.com/compose/environment-variables/set-en...
It's very useful to have a complete 'getting started' page that get you from zero to working, without assuming that the reader understands what every intermediate step means. But as you said, the parts that are dependencies for other products can be encapsulated so that savvy users can skip them easily.
Focus the energy of your own docs on your own product itself, and let the docs of your dependencies cover most of the general steps regarding those.
Continue this thread — 1 reply
Storing passwords or secrets in git should be avoided; the .env file structure allows you to leave untouched the yaml file. Anybody changing it? Git pull, and you’re ready to go, since you didn’t change the yaml file and you don’t have to substitute secrets again.
Continue this thread — 2 replies
Because for most small teams with the ability to run containers, that's going to be all they ever need - and it means your "let's try it" experience is just `docker run `.
I'd strongly encourage you to explore the image with dive after to visualize whats been added on which command while you're changing the dockerfile
https://github.com/wagoodman/dive
I'd push back on that being a good idea though. It's okayish, but it'd be better if the software had no dependencies, falling back to file storage/embedded DB. But that's obviously scope screep, so probably not worth the effort if your chosen framework doesn't give you a drop in option for that. Basically ymmv, I wouldn't touch a software that nests multiple daemons into the same image. It's a hack for easier demos or transient starts on dev machines, but that's it.
Your orm does support sqlite though, that'd probably be better then nesting a database daemon
Continue this thread — 3 replies
That said, I have had to do this before and if I ever have to do it again, I will be going right for a base image that has systemd. Red Hat provides UBI images that have systemd in it for reasons similar to this. Assuming that a pod or deployment using something like podman is not an option, This what I would use personally.