Thanks for your interest in making AVC better! Here's how to help.
- New view types β
graph,diff,table,tree,timeline,kanban,form,mindmap, and more are on the roadmap. Pick one and ship a prototype. - Platform verification β Linux (WebKitGTK) and Windows (WebView2) builds aren't yet verified in CI. If you successfully run AVC on either, please open an issue (or a PR adding a CI runner) so we can flip the platform from β to β .
- UI translations β the WebView UI ships in 7 languages today (
en,zh,ja,ko,es,fr,de). To add another, extend theI18Ndictionary at the top ofui/app.jsand thehtmlLangMapininit(). - README translations β the full README is currently in English and Chinese (
README.md/README_CN.md). Drop a newREADME_XX.mdand link it from the language switcher in the existing READMEs.
The codebase is structured to make this easy:
- Create
ui/views/<your-view>.js. Define arender<Name>View()function and callregisterView('<name>', renderFn)at the bottom of the file. - Add
//go:embed ui/views/<your-view>.jstoembed.goand concatenate it intoviewsJS. - Add any view-specific CSS to
ui/styles.css. - Drop an example JSON into
examples/<your-view>.jsonand add it toexamples/README.md. - Update the "Supported Views" table in
README.mdandREADME_CN.md. - Run
go build -o avc . && cat examples/<your-view>.json | ./avc --no-thresholdto confirm the popup renders.
- Extend
I18Ninui/app.jswith a new entry; all 15 keys are required. - Extend
htmlLangMapininit()so the<html lang>attribute is set correctly. - Update the language table in both
README.mdandREADME_CN.md. - Update the supported-langs note in
skills/avc/SKILL.mdandAGENTS.md.
git clone https://github.com/study8677/Agent_View_Controller-AVC.git
cd Agent_View_Controller-AVC
go build -o avc .
go test ./...The repo runs CI on macOS only today (see .github/workflows/ci.yml). Tests should pass on Linux too β they don't touch the WebView. CGO + WebKitGTK on Linux is the unverified part.
- Keep PRs focused on one change.
- New view types and i18n changes should include a screenshot of the resulting WebView when possible.
- Run
gofmt -l .andgo vet ./...β CI will reject mis-formatted Go.
By contributing, you agree your contributions are licensed under Apache 2.0.