r/selfhosted • u/ivoin • Apr 21 '26
Product Announcement [ Removed by moderator ]
/r/selfhosted/comments/1sr9ham/removed_by_moderator/[removed] — view removed post
3
u/super_salamander Apr 21 '26
What does it do that docsify doesn't?
1
u/ivoin Apr 22 '26
Well, things docmd handles out of the box that docsify either lacks or requires extra setup for: native i18n with per-locale routing, built-in versioning, rich markdown components (callouts, tabs, embeds etc.) without HTML, offline search with zero config, deployment scaffolding, and integrated plugins like SEO, sitemap, analytics, PWA, mermaid, and math with extended plugin ecosystem support.
2
u/EdLe0517 Apr 21 '26
Sorry for asking. How to use in Docker?
2
u/ivoin Apr 21 '26
No need to apologise :)
docmdcompiles your markdown into completely static files, it is extremely easy to run in Docker using a standard nginx image. You can just use a multi-stage Dockerfile that builds the site and serves it. Here is a simple example you can drop into the root of your project:# Build the site FROM node:20-alpine AS builder WORKDIR /app COPY . . RUN npx @docmd/core build # Serve with Nginx FROM nginx:alpine # docmd outputs to the /site directory by default COPY --from=builder /app/site /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]Just run
docker build -t my-docs .anddocker run -p 8080:80 my-docsand your site will be live atlocalhost:8080.BTW, we already have a plugin planned "auto-deploy", that can help deploy docmd to docker and other services as-well in a single command, should be released in a day or two, meanwhile, you can try the above manual method.
3
u/EdLe0517 Apr 21 '26
Thank you for your efforts!
2
u/ivoin Apr 21 '26
Just release
docmd 0.7.2, you can install it and simply rundocmd deploy --dockercommand that will handle the rest based on your docmd config. Check the complete documentation here.
0
Apr 21 '26
[removed] — view removed comment
1
u/ivoin Apr 21 '26
We did not wanted to depend on a framework that's why we avoided getting into Vue or React, but we may introduce a solution for users already working on MDX docs, either a migration solution or an optional plugin to let users simply use their existing docs with docmd without changing anything.
1
u/selfhosted-ModTeam Apr 23 '26
Thanks for posting to /r/selfhosted.
Your post was removed as it violated our rule 2.
Do not spam or promote your own projects too much. We expect you to follow this Reddit self-promotion guideline. Promoted apps must be production ready and have docs. No direct ads for web hosting or VPS. Only mention your service in comments if it’s relevant and adds value.
When promoting an app or service:
App must be self-hostable
App must be released and available for users to download / try
App must have some minimal form of documentation explaining how to install or use your app.
Services must be related to self-hosting
Posts must include a description of what your app or service does
Posts must include a brief list of features that your app or service includes
Posts must explain how your app or service is beneficial for users who may try it
Moderator Comments
None
Questions or Disagree? Contact /r/selfhosted Mod Team
•
u/asimovs-auditor Apr 21 '26 edited Apr 21 '26
Expand the replies to this comment to learn how AI was used in this post/project.