Probably old hat to some…but documentation is important. Just for once…I am trying to keep documentation AHEAD of the inevitable bork that destroys everything… so that in 3 months time I don’t have to reconstitute everything out of thin air and swearing.

Anyhow, I came across this lovely little repo a while ago and though “yes, next time, use this”

https://github.com/Zavy86/WikiDocs

And so I am :)

I’ll let the author speak to the perks (no affiliation, I just like wikidocs and wanted to share it)

  • Open source
  • Plain text files
  • No database required
  • Markdown syntax
  • YAML Frontmatter
  • Editor full WYSIWYG
  • Support for KaTeX math
  • Support for Mermaid diagrams
  • Unlimited page revisions
  • Uploading and downloading attachments
  • Uploading images (also from clipboard)
  • Content can be categorized in namespaces
  • Public and private browsing
  • Desktop and remote sync
  • Syntax highlighting
  • Multiple languages
  • Dark mode

While I show off a happy snap

  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    13 hours ago

    This is good thinking, and you may still want something like this anyway, as there’s always room for additional documentation, but let me propose an alternative that takes this good way of thinking a step further:

    Infrastructure-as-code means my code is my documentation. How’s it configured? Look at the code. What’s it doing? Look at the code. Don’t understand why it’s doing that? Use more descriptive names for things and write more self-explanatory code. Is the code out of date with the current state? Stop implementing things manually and make the code run automatically instead so it’s never out of date anymore.

    I have complete confidence in my setup and life is easy now. Except when the IAC breaks. But that’s rarely a panic situation, just mildly frustrating.

    • punkibas@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 hours ago

      I tried both, as well as others, when searching for my wiki, ended up with otterwiki too, it’s just really good, I specially liked that the markdown files don’t need metadata hidden in each one of them, and the concept of the entire wiki being a repository. Also, being able to just drop markdown files wherever and the wiki will pick them up and put them in the correct order

  • Arda@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 hours ago

    Yeah yeah ill document everything one day, when all is “done”…

    Jokes aside I just use outline for everything but I wanted something more lightweight as a kind of backup that works with plain text, other ones I didn’t quite like but this seems just right

  • PlexSheep@infosec.pub
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 day ago

    This is coop but I tailored my need away by just not documenting.

    Or maybe I should say the docker compose files are the documentation?

  • solrize@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    If no database, how is revision history maintained? Of course while there’s nothing wrong with someone deciding to write yet another self-hosted wiki, is there anything special about this one? “apt install gitit” has worked ok for me when I’ve wanted a low hassle wiki.

    • SuspiciousCarrot78@aussie.zoneOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 day ago

      On revisions, I am not actually sure how WikiDocs stores the old versions internally. The project advertises unlimited revisions and rollback despite using flat files rather than a database. So…dunno.

      Gitit looks very capable too, especially if you already want Git as the storage and revision layer.

      What appealed to me about WikiDocs was less that it had some unique technical trick and more that it packaged the things I wanted into one nice interface: Markdown files, WYSIWYG editing, namespaces, attachments, Mermaid, etc etc

      EDIT: “WikiDocs stores revisions as timestamped Markdown snapshots alongside each page”.

      my-page/
      ├── content.md
      └── versions/
          ├── 1790201234567.md
          ├── 1790287654321.md
          └── 1790374567890.md
      
      
        • SuspiciousCarrot78@aussie.zoneOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          16 hours ago

          Dunno. Try it, see what happens. Probably nothing good :)

          OTOH, if you have a local LLM, you should be able to get it to template your existing .md into a sane wiki structure.

    • Eldaroth@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Well I assume this is thought to be used in conjunction with a Git repository (as its all just markdown files). So this would handle revision history for you.