Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ against the same typed contract.

| Path | What |
| --- | --- |
| `lib/` | Kotlin core (`dev.kolektiv.keel:core`) — seed, manifest, `PageRegistry`, `ActionRegistry`, `FrontendBundle`, typegen. No Ktor dependency. |
| `ktor/` | `dev.kolektiv.keel:ktor` — binds the registry, `respondPage`, actions, HTML shell, visits, pack files. |
| `lib/` | Kotlin core (`computer.kolektiv.keel:core`) — seed, manifest, `PageRegistry`, `ActionRegistry`, `FrontendBundle`, typegen. No Ktor dependency. |
| `ktor/` | `computer.kolektiv.keel:ktor` — binds the registry, `respondPage`, actions, HTML shell, visits, pack files. |
| `samples/harbor` | In-memory message board: Ktor + Svelte pack. `./gradlew :samples:harbor:run` → http://127.0.0.1:8090 |
| `packages/core` | `@kolektiv/keel` — visits, history, prefetch, `action()` |
| `packages/svelte` | `@kolektiv/keel-svelte` — `Link`, `Form`, `Head`, `page()`, `useForm`, `useAction` |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Host-owned routing and render-time frontend packs for Kotlin servers.

| Coordinate | Name |
| --- | --- |
| Maven | `dev.kolektiv.keel:core`, `dev.kolektiv.keel:ktor` |
| Maven | `computer.kolektiv.keel:core`, `computer.kolektiv.keel:ktor` |
| npm router | `@kolektiv/keel` |
| npm adapters | `@kolektiv/keel-svelte`, `@kolektiv/keel-react`, `@kolektiv/keel-vue`, `@kolektiv/keel-solid`, `@kolektiv/keel-preact`, `@kolektiv/keel-lit`, `@kolektiv/keel-angular` |
| npm pack toolchain | `@kolektiv/keel-pack` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ plugins {
val febDisplayName = providers.gradleProperty("keel.displayName").orElse("Keel")
val febDescription = providers.gradleProperty("keel.description")
.orElse("Host-owned routing and swappable frontend packs for Kotlin servers.")
val febUrl = providers.gradleProperty("keel.url").orElse("https://github.com/kolektiv/keel")
val febScm = providers.gradleProperty("keel.scm").orElse("scm:git:https://github.com/kolektiv/keel.git")
val febUrl = providers.gradleProperty("keel.url").orElse("https://github.com/KolektivComputer/keel")
val febScm = providers.gradleProperty("keel.scm").orElse("scm:git:https://github.com/KolektivComputer/keel.git")
val febLicenseName = providers.gradleProperty("keel.licenseName").orElse("Apache-2.0")
val febLicenseUrl = providers.gradleProperty("keel.licenseUrl")
.orElse("https://www.apache.org/licenses/LICENSE-2.0.txt")
Expand Down
55 changes: 55 additions & 0 deletions docs/CI_DUAL_PUBLISH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Dual-publish (GH Packages + Yuri + JSR)

Org epic: [KolektivComputer/.github#2](https://github.com/KolektivComputer/.github/issues/2)
Spine: [gradle-conventions#1](https://github.com/KolektivComputer/gradle-conventions/pull/1) → plugin `computer.kolektiv.publishing`

## Maven
- GroupId: `computer.kolektiv.keel` (org family `computer.kolektiv.*`)
- Dual repositories: GitHub Packages `https://maven.pkg.github.com/KolektivComputer/keel` **and** Yuri Capital (`maven-releases` / `maven-snapshots`) when credentials are present
- Prefer `id("computer.kolektiv.publishing")` once the conventions plugin is published; until then repos are inlined to match that plugin

## npm
- Scope **`@kolektiv/...` only** — do not invent a second JS scope
- Dual: existing Yuri Capital npm (where used) + `https://npm.pkg.github.com` with `@kolektiv:registry=…`
- Auth: `NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}` with `permissions.packages: write`

## JSR
- Scope `@kolektiv` (owned)
- Actions: OIDC only — `permissions.id-token: write` — **no org `JSR_TOKEN`**
- Mey: link each package on jsr.io for GitHub Actions trusted publishing
- Not a substitute for npm publish

## Workflow paste (token may lack `workflows` scope)

```yaml
permissions:
contents: read
packages: write
id-token: write # JSR OIDC
```

Maven job env:
```yaml
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# optional Yuri dual:
# YURI_CAPITAL_REPO_USERNAME / YURI_CAPITAL_REPO_PASSWORD (org secrets)
```

npm → GitHub Packages:
```yaml
- uses: actions/setup-node@v4
with:
registry-url: https://npm.pkg.github.com
scope: "@kolektiv"
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```

JSR:
```yaml
- run: npx jsr publish
```

Kotlin packages remain `dev.kolektiv.keel.*` until a follow-up; Maven group is `computer.kolektiv.keel`.
npm stays `@kolektiv/*`.
6 changes: 3 additions & 3 deletions docs/src/content/docs/getting-started/host.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The pack (framework pages, Vite, `.feb`) is the next page:
## 1. Gradle project

Java 17+, Kotlin 2.2, Ktor 3. Add the **releases** repo and
`dev.kolektiv.keel:core` from
`computer.kolektiv.keel:core` from
<a href={path("/docs/getting-started/server")}>Server Installation</a>.
This walkthrough also needs the Ktor adapter and a server engine.

Expand All @@ -43,7 +43,7 @@ repositories {
}

dependencies {
implementation("dev.kolektiv.keel:ktor:0.1.0")
implementation("computer.kolektiv.keel:ktor:0.1.0")
implementation("io.ktor:ktor-server-netty:3.1.3")
}

Expand All @@ -67,7 +67,7 @@ repositories {
}

dependencies {
implementation 'dev.kolektiv.keel:ktor:0.1.0'
implementation 'computer.kolektiv.keel:ktor:0.1.0'
implementation 'io.ktor:ktor-server-netty:3.1.3'
}

Expand Down
10 changes: 5 additions & 5 deletions docs/src/content/docs/getting-started/server.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Server installation
description: Add the Yuri Capital Maven releases repo and dev.kolektiv.keel:core.
description: Add the Yuri Capital Maven releases repo and computer.kolektiv.keel:core.
category: getting-started
order: 2
---
Expand All @@ -20,7 +20,7 @@ A version like `0.0.2-SNAPSHOT.4` is **not** a canonical Maven snapshot:
snapshots end in `-SNAPSHOT`, and `maven-snapshots` rejects every other
version. Do not add more than one. Gradle will mix channels.

This page is **core** only (`dev.kolektiv.keel:core`). It has no Ktor
This page is **core** only (`computer.kolektiv.keel:core`). It has no Ktor
dependency. Protocol format `keel/1`. Seed version `1`.

## Releases (recommended)
Expand All @@ -41,7 +41,7 @@ Current release: `0.1.0`.
}

dependencies {
implementation("dev.kolektiv.keel:core:0.1.0")
implementation("computer.kolektiv.keel:core:0.1.0")
}`,
},
{
Expand All @@ -54,14 +54,14 @@ dependencies {
}

dependencies {
implementation "dev.kolektiv.keel:core:0.1.0"
implementation "computer.kolektiv.keel:core:0.1.0"
}`,
},
]}
/>

<Callout title="Ktor is a separate artifact">
A Ktor process also needs `dev.kolektiv.keel:ktor` and a server engine.
A Ktor process also needs `computer.kolektiv.keel:ktor` and a server engine.
That wiring lives on the <a href={path("/docs/getting-started/host")}>Host (Ktor)</a> page, not here.
</Callout>

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group=dev.kolektiv.keel
group=computer.kolektiv.keel
version=0.1.0

org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
Expand Down
4 changes: 2 additions & 2 deletions llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Host-owned routing and render-time frontend packs. The server owns URLs, page ids, and payload types. Packs implement ids — never paths.

Keel is a protocol plus Kotlin/JS libraries. Format `keel/1`. First host adapter is Ktor; seven pack adapters ship — Svelte 5, React 18/19, Vue 3, Solid 1.9, Preact 10, Lit 3, and Angular 19 (Svelte was the first). Maven: `dev.kolektiv.keel:core`, `dev.kolektiv.keel:ktor`. npm: `@kolektiv/keel`, `@kolektiv/keel-svelte`, `@kolektiv/keel-react`, `@kolektiv/keel-vue`, `@kolektiv/keel-solid`, `@kolektiv/keel-preact`, `@kolektiv/keel-lit`, `@kolektiv/keel-angular`, `@kolektiv/keel-pack`.
Keel is a protocol plus Kotlin/JS libraries. Format `keel/1`. First host adapter is Ktor; seven pack adapters ship — Svelte 5, React 18/19, Vue 3, Solid 1.9, Preact 10, Lit 3, and Angular 19 (Svelte was the first). Maven: `computer.kolektiv.keel:core`, `computer.kolektiv.keel:ktor`. npm: `@kolektiv/keel`, `@kolektiv/keel-svelte`, `@kolektiv/keel-react`, `@kolektiv/keel-vue`, `@kolektiv/keel-solid`, `@kolektiv/keel-preact`, `@kolektiv/keel-lit`, `@kolektiv/keel-angular`, `@kolektiv/keel-pack`.

Live contract: `GET /__keel/schema` on any Keel host. Scaffold a pack with `keel-scaffold <origin> <dir>`.

Expand All @@ -11,7 +11,7 @@ Docs: https://keel.mey.cat/ (Cloudflare Pages; local `pnpm dev` is http://127.0
## Docs

- [What is Keel](https://keel.mey.cat/docs/getting-started/): host-owned routing, packs implement ids
- [Server Installation](https://keel.mey.cat/docs/getting-started/server/): Maven — one repo (`maven-releases`, `maven-snapshots`, or `keel-maven` for unique pre-releases), `dev.kolektiv.keel:core`
- [Server Installation](https://keel.mey.cat/docs/getting-started/server/): Maven — one repo (`maven-releases`, `maven-snapshots`, or `keel-maven` for unique pre-releases), `computer.kolektiv.keel:core`
- [Client Setup](https://keel.mey.cat/docs/getting-started/client/): npm — `keel-npm` registry, `@kolektiv/keel*`, install and bootstrap per adapter
- [Host (Ktor)](https://keel.mey.cat/docs/getting-started/host/): stand up a Keel host
- [Pack](https://keel.mey.cat/docs/getting-started/pack/): keel-scaffold (`--framework`) or keelPack in Vite
Expand Down
Loading