Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Hono Interfaces #86

Merged
merged 13 commits into from
Feb 19, 2025
Merged

Support Hono Interfaces #86

merged 13 commits into from
Feb 19, 2025

Conversation

Brayden
Copy link
Member

@Brayden Brayden commented Feb 12, 2025

Purpose

Adding a new plugin, Interface, that supports server & client rendered frontend components. StarbaseDB as it stands today provides a great interface into Durable Objects and the SQLite database in particular. This helps expand the vision that a Starbase can not only serve as an interface, but you can additionally build your own interfaces or panes of glass into Cloudflare primitives.

Two fun side effects to what is being offered in this PR include:

  1. Orbit, a new Hono specific design component library that provides key components for building interfaces
  2. Pushes this codebase to be able to be a singular codebase for AI agents which will likely best succeed when the code is fully self-contained

Tasks

  • New plugin for providing/serving frontend code with access to Cloudflare primitives
  • Orbit UI design library
  • Support build step with UI included - npm run build-with-ui

Verify

Before

After

Copy link

github-actions bot commented Feb 12, 2025

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 77.8% (🎯 75%) 1514 / 1946
🟢 Statements 77.41% (🎯 75%) 1560 / 2015
🟢 Functions 82.29% (🎯 75%) 344 / 418
🔴 Branches 48.41% (🎯 75%) 306 / 632
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/index.ts 0% 0% 0% 0% 18-311
Generated in workflow #83 for commit f554b3d by the Vitest Coverage Report Action

@Brayden Brayden self-assigned this Feb 17, 2025
@Brayden Brayden added the enhancement New feature or request label Feb 18, 2025
@Brayden Brayden marked this pull request as ready for review February 18, 2025 17:32
@Brayden Brayden merged commit 303e04f into main Feb 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant