website

command module
v0.0.0-...-2725824 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 46 Imported by: 0

README

Gosuda Website

Website

This repository contains the source code for the Gosuda static website and blog. All content is written in Markdown and automatically processed through CI/CD for translation and deployment.

🖥️ Local Development

Prerequisites
  • golang (1.25+)
  • bun
  • LLM API Key (for translation features)
LLM API Configuration
# Google Vertex AI (default)
export LOCATION="us-central1"
export PROJECT_ID="your-gcp-project-id"

# Or Google AI Studio
export PROVIDER="aistudio"
export AI_STUDIO_API_KEY="your-key"

# Disable translation
export LLM_INIT="false"
Build & Translate
make build
Start local server
make run

✍️ Writing a new post

1. Create a Markdown file in /root/blog/
blog/my-new-post.md
2. Add frontmatter metadata (at the top of the file)
---
author: <Your Name>
title: <Post Title>
---
3. Write your content in Markdown
4. Commit, Push, and Open a Pull Request
git add blog/my-new-post.md
git commit -m "Add new blog post: my-new-post"
git push origin my-branch

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ogimage
Package ogimage provides functionality for generating Open Graph images.
Package ogimage provides functionality for generating Open Graph images.
ogimage/example command
templ: version: v0.3.960
templ: version: v0.3.960

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL