Nathaniel@SigP
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Wiki/KB project TLDR TikiWiki is looking pretty good, worth a first try. ## Desirables My guess on what we want out of a wiki solution. ### Critical - self hosted? - easy to contribute to - low barrier for entry - either good WISIWYG, or easy markup language, or both - easy to add/embed multimedia - Can have all the powerful features, but no good if people don't want to use it - good search function - backups - secure & private to non-sigp - cross-references/links to other notes ### Important - Nested structure - FOSS - permissioned access control - depends if storing sensitive "HR" docs - arguably infrastructure docs - category or tags for pages - templates for new articles - 2FA auth or VPN required - markdown or some other easy markup language - e.g. for mediawiki, might have a scriptable workflow that passes markdown content through pandoc, or a plugin - if supporting both markdown and some other syntax, we want it to be stored on the backend in a consistent format - i.e. users should be able to pick which syntax they use, not some people write pages in one, and others in another. And when they edit existing pages, they're forced to use one of them. - version or edit history - standalone or git-based - easy maintenance - software updates etc ### Nice to have - role-based permissions - google SSO? or OAUTH - offline-editor integration - note templates - drag and drop image/multimedia upload - comment/discussion - easy data export for other platforms - API integrations - e.g. for discord(?), idk about mattermost, syncing AWS network structure - plugin system ## Products ### Tiki Wiki FOSS groupware, but based on a wiki https://doc.tiki.org/Wiki - More popular than Dokuwiki (but both popular) - write in wiki syntax (similar to mediawiki, docuwiki), but apparently also markdown support - https://doc.tiki.org/PluginMarkdown?highlight=markdown - Can also have "structures", grouping pages into a tree or book https://doc.tiki.org/Structures - sounds like a good permission hierarchy - Has out of the box "profiles" to support common setups: https//profiles.tiki.org https://open.spotify.com/playlist/4t3Tlq0qbjxdxudE9T5lb4?si=Uy35Yq - Big dev team https://en.wikipedia.org/wiki/Tiki_Wiki_CMS_Groupware#Project_team #### Evaluation - Barrier for entry is too high, too many hurdles to make it nice to add notes so is unlikely that people will bother to add - Bit of a monolith - Better presets etc than mediawiki, and content, but editing is somewhat troublesome - Markdown plugin only supports md "blocks" in the wiki syntax page Rather than an editor mode - A solid amount of maintenance effort (not quite as much as mediawiki prob) - lots of plugins and docs are pretty old ### Wiki.js https://js.wiki/ - markdown + live preview, wysiwyg - seems "modern & trendy" - pretty popular on github - git-backed storage option - has a light/dark mode - postgres recommended (other dbs not supported in next major release) - I am more familiar with postgres anyway :) - has an aws marketplace image builder https://github.com/Requarks/wiki-packer - security reporting is a plaintext email - has higher resource recommendations than tiki, docuwiki - has an "upgrade companion" update helper for docker installations written in C#?! https://github.com/Requarks/wiki-update-companion ### Bookstack https://www.bookstackapp.com/ - docs tier of book -> chapter -> page - wysiwyg & markdown editing with live preview - live demo https://demo.bookstackapp.com/ - php (laravell) + mysql - has a light/dark mode ### Growi Docs https://docs.growi.org/ - First impression seems pretty suitable! - Markdown editing with side-by-side realtime preview, but more structurable for a wiki - in nodejs - Integration with codimd https://docs.growi.org/en/admin-guide/admin-cookbook/integrate-with-hackmd.html - BUT! - Seems a bit new/immature, likely more fiddly - Developers and most users are Japanese, so a bit of a language barrier in searching through issues, being notified of problems - A fair few recent security vulns reported - XSS, RCE: https://weseek.co.jp/tags/GROWI/ - Nicely reported (according to web translate), but recent + problematic + language barrier - Any feature difference to bookstack? ### Dokuwiki Like mediawiki syntax but no database, only flat files on the backend - Built in ACLs - Kinda slow out of the box, IIRC there's an AJAX plugin to make things smoother with partial page loading - Easier backups because no DB required - Only 1 editor at a time per page - Single developer, but well-maintained - Seems pretty small core that you extend with plugins/templates - Lots of plugins, inc markdown plugin - Not obvious, but looks like the markdown plugin lets you write a "markdown block" that's then rendered, rather than letting someone edit in markdown that's then converted to the same syntax. (So doesn't let people choose how they want to edit) ### Outline https://github.com/outline/outline - nodejs + react - whats the diff compared to wiki.js? - seems a little smaller in terms of integrations etc - not as many auth providers? - perhaps faster? that's their pitch - openapi - less full-fledged docs - security reporting is a plaintext email - more focused on their Saas hosted model? ### Notion.so - Docs/Notes, wiki & project management - Editor seems similar to hackmd but more fleshed out structuring - Tree-style nested docs - Apparently pretty nice/seamless to edit - Not FOSS or self-hosted - \$ for private team - \$10/user/month base plan https://www.notion.so/pricing (\$8 if paying annually, a bit sneaky) ### Mediawiki What wikipedia uses - Heaps of plugins and widely used - Big and massively used - But designed around the Wikipedia use-case - Not designed for granular permissions - Kinda annoying to embed files/images (at least by default) - Perhaps difficult to structure nicely (at the category and page level) - Arbitrary structure/categorization of pages - Enough flexibility to shoot yourself in the foot - Powerful - Small core, add what plugins you need - More geared to situations where the content is read much more than written? - Separate edit & publish - Also a wide set of possible authors - No real-time collab - WYSIWYG & wikitext - no good markdown support from the looks of things ### Bluespice Mediawiki Fork/extension of mediawiki for enterprise usage - Apparently better ACL, permissions management - Elasticsearch - normal mediawiki search isn't as strong? - Can use mediawiki plugins ### Gollum https://github.com/gollum/gollum - git-based - markdown and lots of syntax support - fairly minimal and no easy permissions setup - search? ### XWiki java-based enterprise wiki - admin can choose between many content syntax formats, inc markdown - Apparently a good FOSS alternative to confluence ### HackMD Like GDocs for Markdown notes & books - Collaborative markdown editor - Not FOSS or self-hosted - \$ for private team - \$5/user/month base plan https://hackmd.io/pricing - No WYSIWYG? - Seamless editing and real-time collab like GDocs - Can structure into "book mode" with various chapter sections - Better than individual docs/notes, but not great as a KB - so only 1 level of nested docs/categories - https://hackmd.io/s/features - Offline editor integration for vscode - a bit annoying to link to other pages (need uuid) ### CodiMD FOSS core of HackMD - Collaborative markdown editor - Previously "HackMD Community Edition" - No "book mode", so only grouped in individual notes ### Hedgedoc Community fork of CodiMD https://hedgedoc.org/ - Collaborative markdown editor - was originally called CodiMD - forked from before, doesn't share code with current HackMd or CodiMD https://hedgedoc.org/history/ - doesn't seem to have access list permissions - either private (you only), or all signed in, public - separate r and rw permissions - no "these people or groups can read" (unless multiple people can be nominated as "owners") - currently undergoing rewrite into typescript - separate frontend React Client, Typescript backend - (Current CodiMD is an open core for the rewritten "HackMD Enterprise") ### Github Wiki - Could have separate repos with wikis, and use repo permissions to control access - Seems a bit "shoehorny", messy - Not an obvious/easy way to search through - No real-time editing/collab - Only markdown-based - A bit annoying to embed images - Can't embed arbitrary file types ### https://etherpad.org Like a FOSS google doc - real time editing - individual documents (like Word), not really for a wiki/kb ### Nextcloud Self-hosted file storage, for the purposes of a wiki, closer to microsoft office + dropbox - Also calendar, groupware, chat, meetings ### Foswiki https://www.wikimatrix.org/show/foswiki - git & flat files ## Structuring/What to Include - Internal KB - e.g. question/answer, who? what? when? why? - Best practice/guidelines for various tasks, collection of relevant resources/links - coding style - security review tips/tricks - checklist - perhaps differentiating between official SigP - "you should do this" and general advice tips/tricks - Network/infrastructure docs - e.g. what server/service is where - Procedures - e.g. HR, backup, disaster recovery - expense reimbursement - individual computer requirements - e.g. encrypted storage ## Random useful links/resources - Wiki choice wizard: https://www.wikimatrix.org/wizard - https://www.wikimatrix.org/compare/tiki-wiki-cms-groupware+twiki - https://tiki.org/Tiki-vs-DokuWiki - https://tiki.org/Tiki-vs-MediaWiki

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully