display.Service now exposes a SchemeHandler interface; new scheme_handler.go implements the core:// dispatcher covering the 7 RFC routes: - settings, store, network, models → core.QUERY dispatch - agent, wallet, identity → core.ACTION dispatch Validates URL shape (rejects paths beyond the scheme host, malformed URLs), unknown routes return a named error. Good/Bad/Ugly tests + godoc example. AssetServer startup wiring deferred — no tracked Wails bootstrap (application.New / wails.Run / AssetServer config) exists in this worktree yet; handler is ready for wiring when that lands. Closes tasks.lthn.sh/view.php?id=15 Co-authored-by: Codex <noreply@openai.com> Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| assets | ||
| docs | ||
| .gitignore | ||
| api.go | ||
| api_test.go | ||
| api_wrappers_test.go | ||
| background.go | ||
| background_test.go | ||
| display.go | ||
| display_contextmenu_test.go | ||
| display_layout_wrappers_test.go | ||
| display_test.go | ||
| events.go | ||
| events_test.go | ||
| FEATURES.md | ||
| hlcrf.go | ||
| hlcrf_test.go | ||
| interfaces.go | ||
| interfaces_test.go | ||
| LICENSE | ||
| manifest.go | ||
| manifest_test.go | ||
| marketplace.go | ||
| marketplace_test.go | ||
| messages.go | ||
| ml.go | ||
| ml_test.go | ||
| mocks_test.go | ||
| network.go | ||
| network_test.go | ||
| p2p.go | ||
| p2p_test.go | ||
| preload.go | ||
| preload_test.go | ||
| README.md | ||
| scheme.go | ||
| scheme_handler.go | ||
| scheme_handler_example_test.go | ||
| scheme_handler_test.go | ||
| scheme_test.go | ||
| sidecar.go | ||
| sidecar_test.go | ||
| storage.go | ||
| storage_test.go | ||
Display
This repository is a display module for the core web3 framework. It includes a Go backend, an Angular custom element, and a full release cycle configuration.
Getting Started
-
Clone the repository:
git clone https://github.com/Snider/display.git -
Install the dependencies:
cd display go mod tidy cd ui npm install -
Run the development server:
go run ./cmd/demo-cli serveThis will start the Go backend and serve the Angular custom element.
Building the Custom Element
To build the Angular custom element, run the following command:
cd ui
npm run build
This will create a single JavaScript file in the dist directory that you can use in any HTML page.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the EUPL-1.2 License - see the LICENSE file for details.