{"id":16797127,"url":"https://github.com/jdockerty/jsonnet-playground","last_synced_at":"2026-05-19T10:03:39.364Z","repository":{"id":237529367,"uuid":"793506529","full_name":"jdockerty/jsonnet-playground","owner":"jdockerty","description":"Playground for Jsonnet, inspired by Go/Rust projects of similar names. ","archived":false,"fork":false,"pushed_at":"2024-06-06T08:55:28.000Z","size":242,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T16:43:37.431Z","etag":null,"topics":["golang","htmx","jsonnet","jsonnet-playground","kubecfg","templ"],"latest_commit_sha":null,"homepage":"https://jsonnet.jdocklabs.co.uk","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdockerty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-29T10:56:56.000Z","updated_at":"2024-06-06T08:55:32.000Z","dependencies_parsed_at":"2024-05-14T10:26:49.108Z","dependency_job_id":"c3650bc1-856e-4ab3-a78e-1171daccf9d9","html_url":"https://github.com/jdockerty/jsonnet-playground","commit_stats":null,"previous_names":["jdockerty/jsonnet-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdockerty/jsonnet-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdockerty%2Fjsonnet-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdockerty%2Fjsonnet-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdockerty%2Fjsonnet-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdockerty%2Fjsonnet-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdockerty","download_url":"https://codeload.github.com/jdockerty/jsonnet-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdockerty%2Fjsonnet-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273410261,"owners_count":25100450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","htmx","jsonnet","jsonnet-playground","kubecfg","templ"],"created_at":"2024-10-13T09:21:12.863Z","updated_at":"2026-05-19T10:03:39.211Z","avatar_url":"https://github.com/jdockerty.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsonnet-playground\n\nInspired by the [Go playground](https://go.dev/play/) and others.\n\nThis project is built with Go, [`templ`][templ], and [htmx][htmx].\n\nIt is available at [jsonnet.jdocklabs.co.uk][hosted-playground] for anyone[^1] to use.\n\n## How it works\n\nPages are directly rendered and served by the Go HTTP server through the `templ`\nlibrary.\n\nJsonnet is taken as input and evaluated through the Jsonnet VM, available through\nthe `/api/run` path, and htmx's target functionality displays the evaluated input\nor error message in the corresponding output box.\n\nSharing is achieved through the creation of a shareable hash, the Jsonnet must be\nvalid to be shared.\nIf a shareable snippet has recently been created, it can be shared with others\nby simply sending them the link. This will then be loaded by the server and displayed.\n\n### Features\n\n- Evaluate Jsonnet in browser\n- Share snippets with others\n- Format snippets inline with `jsonnetfmt`\n- Utilise the extended functionality of [`kubecfg`](https://github.com/kubecfg/kubecfg)\n\n## Development\n\nThe `justfile` in this repository provides various commands for local development.\n\n`just run` will run the server and make the relevant static assets available[^2].\n\n[^1]: Shared snippets are currently stored in memory, this is to keep the project near-free to run.\n[^2]: The assets are named `kodata` alongside the server as the application is built and deployed with `ko`.\n\n[htmx]: https://htmx.org/docs/#introduction\n[templ]: https://github.com/a-h/templ\n[hosted-playground]: https://jsonnet.jdocklabs.co.uk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdockerty%2Fjsonnet-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdockerty%2Fjsonnet-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdockerty%2Fjsonnet-playground/lists"}