Skip to content

Hona/temple-oc

Repository files navigation

Temple-OC header

Temple-OC

TEMPLE-OC
PUBLIC DOMAIN CODING STATION
READY.

Temple-OC is a TempleOS-flavored OpenCode plugin.

White field. Blue bars. Red borders. HolyC-first machine voice. Public-domain oracle mood. The goal is not subtlety. The goal is impact.

This plugin has two engines:

  • a server prompt that makes the assistant think in HolyC first and speak like a compact Temple-style kernel oracle
  • a TUI plugin that redraws OpenCode with Temple-style bars, tabs, borders, side panes, and startup chrome

Install

Local repo install:

opencode plugin temple-oc

Global install:

opencode plugin temple-oc --global

OpenCode will:

  • install temple-oc from npm
  • detect the ./server and ./tui plugin exports in package.json
  • patch .opencode/opencode.json and .opencode/tui.json

Font

TempleOS used a tiny fixed bitmap look. For the closest practical terminal font, use the converted TempleOS font here:

Recommended file:

  • templeos_font.ttf

If your terminal supports per-profile font settings, use something like:

"font": {
  "face": "templeos_font",
  "size": 16
}

If it looks too cramped, increase the size. The font is right. The terminal must obey.

HolyC Law

Temple-OC thinks in HolyC first.

If the repository is written in TypeScript, JavaScript, Go, Rust, Python, shell, or some other host language, the patch is treated as a translation of the HolyC idea into that syntax. The machine does not rewrite whole repos unless you ask for that migration.

Local Dev

This repo includes .opencode/opencode.json and .opencode/tui.json pointing to ../, so OpenCode can load the plugin directly from the working tree.

Options

Server:

  • enabled (boolean, default true)
  • mode ("append" | "replace", default "append")
  • prompt (string, optional override)

TUI:

  • enabled (boolean, default true)
  • theme (string, default "temple-os")
  • set_theme (boolean, default true)
  • overlay (boolean, default true)
  • sidebar (boolean, default true)
  • tips (boolean, default true)

Maintainer Notes

Before shipping an update:

  1. Run bunx oxfmt --check .
  2. Run npm pack --dry-run
  3. Publish with npm publish

After publish, verify from a clean repo:

opencode plugin temple-oc

License

Temple-OC is public domain software under The Unlicense.

See LICENSE.

DONE.

About

Public domain coding station for OpenCode. HolyC first. White field. Red frame. Oracle ready.

Resources

License

Stars

Watchers

Forks

Contributors