OpenBSD Handbook

    Theme
    • Part I. Install & Configure
      • Introduction to OpenBSD
      • Installing OpenBSD
      • The X Window System
      • Networking on OpenBSD
      • System Configuration
      • OpenBSD Basics
      • Managing Software: Packages and Ports
    • Part II. Daily Operations
      • OpenBSD Desktop Environments
      • Multimedia
      • Printing
      • Linux Compatibility
      • Windows Compatibility
      • Games
    • Part III. System Administration
      • Virtualization
      • Storage and File Systems
      • Updating and Upgrading
      • Localization
      • The OpenBSD Boot Process
      • Security
    • Part IV. Networking & Daemons
      • Services
        • Database
          • MariaDB
          • PostgreSQL
          • Redis
          • memcached
        • Directory
          • YP (NIS)
          • LDAP
        • File
          • NFS
          • Samba
        • FTP Services
          • ftpd
          • ProFTPD
          • vsftpd
          • Pure-FTPd
          • TFTP
        • Mail
          • OpenSMTPD Mail Server
          • Dovecot IMAP and POP3 Server
          • Postfix
          • Exim
          • Rspamd
        • Name
          • Unbound DNS Resolver
          • NSD Authoritative DNS Server
          • BIND DNS Server
        • Networking
          • OpenBGPD
          • rad
          • DHCP on OpenBSD
          • slaacd
        • Web
          • Apache HTTP Server
          • nginx Web Server
          • OpenBSD httpd Web Server
          • relayd Reverse Proxy
        • Logging
          • syslogd
        • Monitoring
          • SNMP
        • Remote Access
          • Audit OpenSSH
          • OpenSSH Server
        • File Synchronization
          • rsync
        • Messaging
          • RabbitMQ Message Broker
        • Time
          • NTP Time Synchronization
      • PF
        • pfctl cheat sheet
        • PF Anchors
        • PF Filter Rules
        • PF Forwarding
        • PF Lists and Macros
        • PF Load Balancing
        • PF Logging
        • PF NAT
        • PF Options
        • PF Policies
        • PF Shortcuts
        • PF Tables
      • Advanced Networking
        • High Availability and State Replication
        • Multi-WAN and Policy-Based Routing
        • VPN and Cryptographic Tunneling
        • Classic and Lightweight Tunnels
        • IPv6 at Scale
        • QoS and Traffic Shaping
        • MPLS and Label Distribution
        • Network Services at Scale
        • Virtualization and Host Networking
        • Large-Scale L2 and L3 Design
        • Telemetry, Logging, and Flow Export
        • Hardening and Operational Safety
        • Reference Architectures
        • Troubleshooting Playbooks
      • Serial Communication
    • Part V. Miscellaneous
      • Virtualization Cheat Sheet
      • OpenBSD Cheatsheet
      • How-to Guides
        • Complete the First 30 Minutes After Installation
        • Check Hardware Compatibility Before Installing
        • Bootstrap Wi-Fi Firmware Without Ethernet
        • Set Up OpenBSD as a Laptop or Workstation
        • Configure Laptop Power Management
        • Run OpenBSD as a Virtual Machine Guest
        • Install OpenBSD on a VPS or Cloud Server
        • Install OpenBSD with Full-Disk Encryption
        • Troubleshoot Web Browsers on OpenBSD
        • Create an Administrator Account with doas and SSH Keys
        • Establish a Conservative Security Baseline
        • Manage OpenBSD with Ansible
        • Recover Access and Reset the Root Password
        • Collect OpenBSD Diagnostic Evidence
        • Configure Secure Remote Access with OpenSSH
        • Set Up WordPress on OpenBSD
        • Build Third-Party Software from Ports
        • Use FIDO Security Keys with OpenSSH
        • Build OpenBSD from Source
        • Configure Wi-Fi Roaming and Wired Failover
        • Dual-Boot OpenBSD on a UEFI System
        • Troubleshoot PF, NAT, and Routing
        • Automate OpenBSD Installation with Autoinstall and PXE
        • Route Multiple VLANs with PF
        • Configure a Road-Warrior WireGuard VPN
        • Troubleshoot Package Installation and Update Failures
        • Route IPv6 Networks without NAT
        • Schedule Recurring Maintenance
        • Plan a Docker Workload Migration to OpenBSD
        • Build a Mail Server with OpenSMTPD, Dovecot, and Rspamd
        • Build a Simple Router and Firewall
        • Monitor an OpenBSD System
        • Back Up and Restore an OpenBSD System
        • Configure softraid RAID1
        • Recover an OpenBSD System That Does Not Boot
        • Install Z shell (zsh)
      • OpenBSD for Linux Users
      • OpenBSD for FreeBSD Users
      • OpenBSD for macOS Users
    • OpenBSD FAQ
    • OpenBSD Architectures
      • OpenBSD Package Search

        mycorrhiza-1.15.1

        Package search / Categories / OpenBSD 8.0 release
        โ† Back to search
        OpenBSD branch
        OpenBSD 8.0 releaseCurrent snapshot

        OpenBSD 8.0 release ยท amd64

        plain-text driven engine for personal wikis

        Project homepage: https://mycorrhiza.wiki

        Description

        Mycorrhiza can be used for personal wikis, digital gardens and wikis for small teams or communities. It doesn't require a database, everything is stored as plain-text files. Content is stored as hyphas which can be just text articles or media such as pictures and videos. History of changes is managed using git in automated fashion - mycorrhiza creates and manages git repository for you. One can serve mycorrhiza to be accessible via http, it's web ready. It also features few authentication options and user management.

        Package information

        Ports path
        www/mycorrhiza
        Package architecture
        amd64
        Maintainer
        la ninpre <aaoth@aaoth.xyz>
        Categories
        www, lang/go
        Available flavors
        None listed
        Only for architectures
        aarch64, amd64, arm, i386, riscv64

        Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.

        Direct dependencies

        Runtime

        • devel/git

        Build

        • lang/go
        • archivers/unzip
        OpenBSD README

        This README contains unresolved ports variables; replace them before using its commands.

        +-------------------------------------------------------------------------------
        | Running mycorrhiza on OpenBSD
        +-------------------------------------------------------------------------------
        
        Initial setup
        =============
        
        By default, Mycorrhiza listens on localhost:1737.  To make it reachable
        as a web service, it needs to be put behind a TLS terminating proxy.
        Here's a sample httpd(8) and relayd(8) configuration provided for
        reference:
        
        /etc/httpd.conf:
        
        	server "mycorrhiza.example.com" {
        		listen on * port http
        		location "/.well-known/acme-challenge/*" {
        			root "/acme"
        			request strip 2
        		}
        		location "*" {
        			block return 302 "https://$HTTP_HOST$REQUEST_URI"
        		}
        	}
        
        
        /etc/relayd.conf:
        
        	ext_ip="123.45.67.89"
        	ext_ip6="1234:5678:dead:beef"
        	mycorrhiza_port="1737"
        	table <mycorrhiza> { 127.0.0.1 ::1 }
        
        	http protocol https {
        		match request header append "X-Forwarded-For" \
        			value "$REMOTE_ADDR"
        		match request header append "X-Forwarded-By" \
        			value "$SERVER_ADDR:$SERVER_PORT"
        		match request header set "Connection" value "close"
        
        		match request header "Host" value "mycorrhiza.*" \
        			forward to <mycorrhiza>
        
        		tcp { sack, backlog 128 }
        		tls keypair mycorrhiza.example.com
        	}
        
        	relay https {
        		listen on $ext_ip port https tls
        		listen on $ext_ip6 port https tls
        		protocol https
        		forward to <mycorrhiza> port $mycorrhiza_port check tcp
        	}
        
        Don't forget to set up a TLS certificate (for example using
        acme-client(1)) and start httpd(8) and relayd(8):
        
        	# rcctl enable httpd relayd
        	# rcctl start httpd relayd
        
        
        Setup
        =====
        
        See the official documentation for details about configuration and
        deployment.  Be sure to set up proper authentication.
        
        By default the wiki will be created in ${LOCALSTATEDIR}/mycorrhiza, but
        it's possible to change it by overwriting the daemon flags with rcctl(8)
        
        	# rcctl set mycorrhiza flags '/path/to/wiki/dir'
        
        Finally, enable and start the daemon:
        
        	# rcctl enable mycorrhiza
        	# rcctl start mycorrhiza
        

        Package guides

        • Installing and updating packages

        Package details as JSON

        Report a bug