Skip to content

Experimental TypeScript/JavaScript runtime #121

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Experimental TypeScript/JavaScript runtime #121

wants to merge 3 commits into from

Conversation

aron
Copy link
Contributor

@aron aron commented Jun 26, 2025

Requires building the standalone executable with:

deno compile --allow-read --allow-write --allow-net --allow-env -o coglet-deno deno-coglet/coglet.ts

This will produce a ./coglet-deno binary that conforms to the IPC interface expected by the runner.

The cog-fixture directory contains an example JavaScript model:

// Example function-based predictor
export function simplePredictFunction({ text }) {
  return `hello ${text}`;
}
CleanShot.2025-06-26.at.17.12.26.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant