Skip to content

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.

License

Notifications You must be signed in to change notification settings

LoveDoLove/memos-freebsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues License


Logo

memos-freebsd

FreeBSD-compatible build and port of the memos server.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. <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>
    

About The Project

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

(back to top)

Built With

(back to top)

Getting Started

To build and run memos on FreeBSD, follow these steps to set up your environment and compile the binary.

Prerequisites

  • Go (latest recommended)
  • Clang with FreeBSD cross-compilation support
  • FreeBSD sysroot (e.g., /opt/freebsd)
  • Git

Installation

  1. Clone this repository:
    git clone https://github.com/LoveDoLove/memos-freebsd.git
    cd memos-freebsd
  2. 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.
  3. Build the memos binary for FreeBSD:
    ./build.sh
    This will produce a memos binary in the project root, built for FreeBSD x86_64.

(back to top)

Usage

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
./memos

(back to top)

Contributing

Contributions are welcome! Please use the provided issue templates for bug reports and feature requests. See CONTRIBUTING if available, or follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Top contributors:

contrib.rocks image

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

LoveDoLove - @LoveDoLove

Project Link: https://github.com/LoveDoLove/memos-freebsd

(back to top)

Sponsorship

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.

(back to top)

Acknowledgments

(back to top)

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages