Commit graph

9 commits

Author SHA1 Message Date
Snider
c36f62c311 chore: add .core/ and .idea/ to .gitignore
Some checks failed
release / goreleaser (push) Failing after 21s
2026-03-15 15:39:08 +00:00
Snider
3882aa1fa5 fix: update stale import paths and dependency versions from extraction
Resolve stale forge.lthn.ai/core/cli v0.1.0 references (tag never existed,
earliest is v0.0.1) and regenerate go.sum via workspace-aware go mod tidy.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 13:38:59 +00:00
Snider
ad5418f3b1 refactor(api): update import path from go-api to core/api
Part of the polyglot merge — forge.lthn.ai/core/go-api is now
forge.lthn.ai/core/api.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:10:53 +00:00
Snider
5143c211d3 feat: modernise template with core/go-api provider pattern
Replace Cobra CLI + raw net/http with core/go-api Engine.
DemoProvider implements RouteGroup for plug-and-play registration.
Lit element updated to fetch from Go API.
Add .core/build.yaml and CLAUDE.md.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:49:41 +00:00
a5de52ac6e
Merge pull request #1 from Snider/feat-lit-element-draft
Draft: Explore using Lit for custom element
2025-11-14 15:47:24 +00:00
google-labs-jules[bot]
627018d5d8 This change replaces the Angular-based custom element with a "Hello World" example using Lit. The goal is to provide a clean, well-documented starting point for downstream developers.
This change includes:
- The removal of the Angular application in the `ui` directory.
- A new Lit-based "Hello World" custom element in the `ui` directory.
- An `index.html` file to demonstrate the use of the component.
- An updated `README.md` with instructions for building and running the Lit component.
- An updated Go server to serve the Lit component.

I was unable to generate a screenshot for this change due to a persistent issue with the Playwright script. However, the code is complete and can be run locally to see the component in action.
2025-11-14 15:46:22 +00:00
google-labs-jules[bot]
99910a83c6 This change introduces a Lit-based custom element as a proof-of-concept to explore alternatives to the existing Angular-based custom element. The goal is to reduce bundle size and decouple styling and functionality.
This change includes:
- A new `ui-lit` directory with a simple Lit-based custom element.
- A comparison of the bundle sizes between the Angular and Lit versions.
- The Lit version is significantly smaller (1.2 KB vs. 149.31 KB).

This is a draft change for exploration and is not intended to be merged. The original Angular implementation has been restored.
2025-11-14 15:21:39 +00:00
4f5d5a8ca6
Revise EUPL text for clarity and consistency
Updated the European Union Public Licence text for clarity and consistency.
2025-11-12 14:19:20 +00:00
google-labs-jules[bot]
581d09bc65 feat: Create template for custom HTML elements
This commit introduces a new template repository for creating custom HTML elements for the core web3 framework. The template includes a Go backend, an Angular custom element, and a full release cycle configuration.

The Go backend is a simple HTTP server that serves the frontend and provides a basic API. The Angular custom element is a simple "Hello, world!" component that can be used as a starting point for more complex elements. The release cycle is configured with GoReleaser and GitHub Actions.
2025-11-10 02:59:45 +00:00