FreeBSD-compatible build and port of the memos server.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
- About The Project
- Getting Started
- Usage
<li><a href="#contributing">Contributing</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
This project provides a FreeBSD-compatible build and porting scripts for the memos self-hosted knowledge base server. It enables building and running memos natively on FreeBSD systems using cross-compilation and custom build tooling.
Key Features:
- Cross-compilation scripts for FreeBSD (x86_64)
- MIT License
- Community issue templates and contribution guidelines
- Upstream compatibility with usememos/memos
- Go (cross-compiled for FreeBSD)
- Clang (for FreeBSD target)
- memos (upstream)
To build and run memos on FreeBSD, follow these steps to set up your environment and compile the binary.
- Go (latest recommended)
- Clang with FreeBSD cross-compilation support
- FreeBSD sysroot (e.g.,
/opt/freebsd) - Git
- Clone this repository:
git clone https://github.com/LoveDoLove/memos-freebsd.git cd memos-freebsd - Ensure you have a FreeBSD sysroot and clang cross-compiler installed. Example for x86_64:
- Download or build a FreeBSD sysroot and place it at
/opt/freebsd. - Install clang with FreeBSD target support.
- Download or build a FreeBSD sysroot and place it at
- Build the memos binary for FreeBSD:
This will produce a
./build.sh
memosbinary in the project root, built for FreeBSD x86_64.
After building, transfer the memos binary to your FreeBSD system and run it as you would the upstream memos server. Refer to usememos/memos documentation for configuration and usage details.
Example:
scp memos user@freebsd-host:/path/to/deploy/
ssh user@freebsd-host
cd /path/to/deploy
./memosContributions are welcome! Please use the provided issue templates for bug reports and feature requests. See CONTRIBUTING if available, or follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
LoveDoLove - @LoveDoLove
Project Link: https://github.com/LoveDoLove/memos-freebsd
This project is proudly supported by ZMTO as part of their open-source VPS program. We extend our sincere gratitude to ZMTO for their valuable resources and commitment to empowering open-source innovation.
- usememos/memos - Upstream project
- Best-README-Template