Skip to content

About

Open Weights · ตำราเปิด — OpenCode on open-weights models through Workers AI: a big-type launcher, a chat window in English and Thai, tested on seven models. · ใช้โมเดลเปิดแทน Claude

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPEN WEIGHTS · ตำราเปิด
=======================

The one-person workshop kit, for AI models anyone can download and run.

  kit/     the free kit: AGENTS.md, chat-window.txt (.th.txt in Thai), STYLE.md, scripts, night
           jobs, the closed-folder sandbox, the memory filter, the installer
  site/    the bilingual page: index.html, card.png, llms.txt, robots.txt,
           sitemap.xml
  tools/   check.sh (gates), card.py (share card), scrub.py (personal-trace
           gate), serve.py (preview), exam/ (the chat-window test)


INSTALL (Mac)

  brew install anomalyco/tap/opencode
  sh kit/install.sh

Six questions: your name, your money lanes, where field photos go, what needs
your word with no default, the folders the agent must not read, how you read.
Then the Cloudflare account ID and an API token with Workers AI permission;
both go to the macOS keychain. Add --jobs to schedule the night jobs.

Start with the double-click launcher it leaves on the Desktop. The launcher
rebuilds the filtered copy of your memory, writes the sandbox profile from
closed.txt, and starts OpenCode inside it.


IN A CHAT WINDOW

Attach ~/.config/open-weights/chat-window.txt (or chat-window.th.txt) as the first message of a chat in
DeepSeek or any chat app.

The ABOUT notes in the file end up in posts: models copy them into public
text. Write them as instructions to the writer ("short plain words"), not as
facts about you or your work.


GATES

  sh tools/check.sh             scrub, style, compile, dry install, sandbox
  sh tools/check.sh --publish   also fails while the site has an open {{…}} slot


LICENCE

Words CC BY 4.0, code MIT. Made by NaN, nan@motdang.net.


EXAM

  cd tools/exam
  python3 run.py ../../kit/chat-window.txt <model,model,...>
  python3 score.py

Eight everyday requests (a post, a LINE notice, two choices, two About texts, a
file it cannot open, a phone number) sent to each model with the file attached.
Needs CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_KEY.

About

Open Weights · ตำราเปิด — OpenCode on open-weights models through Workers AI: a big-type launcher, a chat window in English and Thai, tested on seven models. · ใช้โมเดลเปิดแทน Claude

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages