This repository contains the source code and content for the MemMachine website, built with Hugo, a fast and flexible static site generator.
hugo.toml— Main Hugo configuration filearchetypes/— Archetype templates for new contentcontent/— Site content (pages, blog posts, etc.)data/— Structured data files (YAML)public/— Generated static site output (do not edit directly)resources/— Hugo-generated resourcesstatic/— Static assets (images, text files, etc.)themes/— Hugo themes (main:memmachine)package.json— Node.js dependencies for asset buildingpostcss.config.js— PostCSS configuration
- Hugo Extended edition, version 0.161.1 or newer (the Extended edition is required for Sass support)
- Go 1.26.3 or newer (Hugo module dependency)
- Node.js 22.x or newer (for asset building)
-
Install Hugo Extended (version 0.161.1 or newer):
See the official Hugo installation guide for your platform, or use Homebrew (macOS/Linux):
brew install hugo # Or, to upgrade: brew upgrade hugo # Or, download from https://github.com/gohugoio/hugo/releases
To verify your Hugo version (must show
extended):hugo version # Should show: hugo v0.161.1+extended ... -
Install Go (required as a Hugo module dependency):
Download from go.dev/dl or use your system package manager.
-
Clone the repository:
git clone https://github.com/sscaragal/memmachine.github.io.git cd memmachine.github.io -
Install Node.js dependencies:
npm install
To start a local development server:
hugo serverVisit http://localhost:1313 to view the site.
To bind to all network interfaces (use this in remote development environments, devcontainers, or cloud VMs):
hugo server --bind 0.0.0.0Then open http://<your-server-ip>:1313 in your browser.
To preview draft content (new blog posts start as drafts):
hugo server --buildDraftsTo build the static site for production:
hugo --gc --minifyThe output will be in the public/ directory.
Pull requests and issues are welcome! Please see CONTRIBUTING.md for guidelines.
All commits must be signed. Use git commit -sS (both -s for Signed-off-by and -S for GPG signing).
If you are an AI coding assistant (Claude, CodeX, Gemini, etc.), read AGENTS.md for a complete orientation: tech stack, directory structure, build commands, content conventions, and critical constraints.
See LICENSE for details.