[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-1bcc1850":3,"seo:featured-workflow:1bcc1850-4db9-11f1-9bc6-00163e2b0d79:zh":84,"workflow-related-asset-1bcc1850-1bcc1850-4db9-11f1-9bc6-00163e2b0d79":85},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":13,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":15,"tags":22,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":29,"asset_kind":30,"target_tools":31,"install_mode":35,"entrypoint":19,"risk_profile":36,"dependencies":38,"verification":43,"agent_metadata":46,"agent_fit":59,"trust":71,"provenance":80,"created_at":82,"updated_at":83},3210,"1bcc1850-4db9-11f1-9bc6-00163e2b0d79","asset-1bcc1850","Javalin — Simple Lightweight Web Framework for Java and Kotlin","Javalin is a lightweight web framework for Java and Kotlin built on top of Jetty, designed for simplicity with a small learning curve and first-class support for both languages.","8a911193-3180-11f1-9bc6-00163e2b0d79","AI Open Source","",0,3,"en",[16],{"id":17,"step_order":18,"title":19,"description":11,"prompt_template":20,"variables":11,"depends_on":21,"expected_output":11},3773,1,"Javalin Overview","# Javalin — Simple Lightweight Web Framework for Java and Kotlin\n\n## Quick Use\n```xml\n\u003Cdependency>\n  \u003CgroupId>io.javalin\u003C\u002FgroupId>\n  \u003CartifactId>javalin\u003C\u002FartifactId>\n  \u003Cversion>6.4.0\u003C\u002Fversion>\n\u003C\u002Fdependency>\n```\n\n```java\nimport io.javalin.Javalin;\n\npublic class App {\n    public static void main(String[] args) {\n        var app = Javalin.create().start(8080);\n        app.get(\"\u002Fhello\u002F{name}\", ctx ->\n            ctx.result(\"Hello, \" + ctx.pathParam(\"name\")));\n    }\n}\n```\n\n## Introduction\nJavalin is a lightweight web framework that runs on the JVM, targeting both Java and Kotlin developers. It wraps Jetty into a clean API where routes are defined as lambdas, WebSocket handlers are first-class, and OpenAPI documentation can be generated from code. It fills the gap between bare-metal servlet programming and heavyweight enterprise frameworks.\n\n## What Javalin Does\n- Creates HTTP and WebSocket endpoints with a simple lambda-based API\n- Runs on an embedded Jetty server with no external container required\n- Validates request data with built-in type-safe validators\n- Generates OpenAPI 3.0 specifications from annotated handlers\n- Supports both blocking and async request handling\n\n## Architecture Overview\nJavalin is a thin layer over Jetty that translates servlet concepts into a simpler API. When a request arrives, it passes through a before-handler chain, matches against registered routes by method and path pattern, executes the handler, then runs after-handlers. The Context object wraps the servlet request and response, providing helpers for path parameters, query strings, JSON serialization (via Jackson or Gson), and file uploads.\n\n## Self-Hosting & Configuration\n- Add the Maven or Gradle dependency; Jetty is included transitively\n- Start a server with `Javalin.create().start(port)`\n- Configure the embedded Jetty via `Javalin.create(config -> config.jetty.server(...))`\n- Enable CORS with `config.bundledPlugins.enableCors(cors -> cors.addRule(...))`\n- Add the OpenAPI plugin for automatic Swagger UI at `\u002Fswagger-ui`\n\n## Key Features\n- First-class Kotlin support with extension functions and coroutine adapters\n- WebSocket and Server-Sent Events built into the core API\n- Plugin architecture for OpenAPI, SSL redirects, and rate limiting\n- Type-safe path parameter and query parameter extraction\n- Context-based API that avoids global state and thread-local patterns\n\n## Comparison with Similar Tools\n- **Spark Java** — similar micro approach but Java-only, less active development\n- **Spring Boot** — full enterprise framework with DI, far more setup for simple APIs\n- **Ktor** — Kotlin-native async framework by JetBrains, more idiomatic for pure Kotlin projects\n- **Micronaut** — compile-time DI and GraalVM support, steeper learning curve\n\n## FAQ\n**Q: Can Javalin be used with Kotlin coroutines?**\nA: Yes. Javalin provides a coroutine plugin that lets you write suspend handlers and use structured concurrency.\n\n**Q: Does Javalin support GraalVM native images?**\nA: Javalin can work with GraalVM, but Jetty requires reflection configuration. Community guides are available for setup.\n\n**Q: How does Javalin handle JSON serialization?**\nA: It uses Jackson by default. You can swap in Gson or any other library by configuring a custom JSON mapper.\n\n**Q: Is Javalin suitable for microservices?**\nA: Yes. Its small footprint, fast startup, and embedded server make it well suited for containerized microservices.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fjavalin\u002Fjavalin\n- https:\u002F\u002Fjavalin.io","0",[23],{"id":24,"name":25,"slug":26,"icon":27},12,"Configs","config","⚙️",false,"e3c54524a147c0de06b8e792d7390e285dd7ab33e31c40630fe08ba407e02463","skill",[32,33,34],"claude_code","codex","gemini_cli","single",{"executes_code":28,"modifies_global_config":28,"requires_secrets":37,"uses_absolute_paths":28,"network_access":28},[],{"npm":39,"pip":40,"brew":41,"system":42},[],[],[],[],{"commands":44,"expected_files":45},[],[19],{"asset_kind":30,"target_tools":47,"install_mode":35,"entrypoint":19,"risk_profile":48,"dependencies":50,"content_hash":29,"verification":55,"inferred":58},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":49,"uses_absolute_paths":28,"network_access":28},[],{"npm":51,"pip":52,"brew":53,"system":54},[],[],[],[],{"commands":56,"expected_files":57},[],[19],true,{"target":33,"score":60,"status":61,"policy":62,"why":63,"asset_kind":30,"install_mode":35},98,"native","allow",[64,65,66,67,68,69,70],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":29,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":74,"review_status":75,"signals":76},"established","hash_only",[],"unreviewed",[77,78,79],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":81,"content_hash":29,"visibility":18,"created_at":82,"updated_at":83},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-1bcc1850","2026-05-12 12:14:45","2026-05-12 19:50:22",null,[86,139,185,232],{"id":87,"uuid":88,"slug":89,"title":90,"description":91,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":92,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":93,"tags":94,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":96,"asset_kind":30,"target_tools":97,"install_mode":35,"entrypoint":98,"risk_profile":99,"dependencies":101,"verification":106,"agent_metadata":109,"agent_fit":121,"trust":123,"provenance":127,"created_at":129,"updated_at":130,"__relatedScore":131,"__relatedReasons":132,"__sharedTags":137},1029,"25e2a55c-35b8-11f1-9bc6-00163e2b0d79","lit-simple-library-fast-lightweight-web-components-25e2a55c","Lit — Simple Library for Fast Lightweight Web Components","Lit is a simple library for building fast, lightweight web components. Built by Google on top of the standard Web Components APIs, it provides reactive properties, scoped styles, and a declarative templating system in about 5KB.",108,[],[95],{"id":24,"name":25,"slug":26,"icon":27},"278a6c7c3593fbefefc74f3e6d12d47323a5c1ffbf362c251fb06ab568ef65c1",[32,33,34],"SKILL.md",{"executes_code":28,"modifies_global_config":28,"requires_secrets":100,"uses_absolute_paths":28,"network_access":28},[],{"npm":102,"pip":103,"brew":104,"system":105},[],[],[],[],{"commands":107,"expected_files":108},[],[11],{"asset_kind":30,"target_tools":110,"install_mode":35,"entrypoint":98,"risk_profile":111,"dependencies":113,"content_hash":96,"verification":118},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":112,"uses_absolute_paths":28,"network_access":28},[],{"npm":114,"pip":115,"brew":116,"system":117},[],[],[],[],{"commands":119,"expected_files":120},[],[11],{"target":33,"score":60,"status":61,"policy":62,"why":122,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":96,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":124,"review_status":75,"signals":125},[],[126,77,78,79],"asset has usage views",{"owner_uuid":9,"owner_name":10,"source_url":128,"content_hash":96,"visibility":18,"created_at":129,"updated_at":130},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Flit-simple-library-fast-lightweight-web-components-25e2a55c","2026-04-11 23:07:25","2026-05-12 18:01:21",126.05613974691093,[133,134,135,136],"topic-match","same-kind","same-target","same-author",[26,138],"configs",{"id":140,"uuid":141,"slug":142,"title":143,"description":144,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":145,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":146,"tags":147,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":149,"asset_kind":30,"target_tools":150,"install_mode":35,"entrypoint":98,"risk_profile":151,"dependencies":153,"verification":158,"agent_metadata":161,"agent_fit":173,"trust":175,"provenance":178,"created_at":180,"updated_at":181,"__relatedScore":182,"__relatedReasons":183,"__sharedTags":184},3206,"ce628bdc-4db8-11f1-9bc6-00163e2b0d79","asset-ce628bdc","Spark Java — Micro Framework for Building Web APIs in Java","Spark is a micro framework for Java inspired by Sinatra, letting developers create web applications and REST APIs with minimal boilerplate using a simple lambda-based DSL.",6,[],[148],{"id":24,"name":25,"slug":26,"icon":27},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":152,"uses_absolute_paths":28,"network_access":28},[],{"npm":154,"pip":155,"brew":156,"system":157},[],[],[],[],{"commands":159,"expected_files":160},[],[],{"asset_kind":30,"target_tools":162,"install_mode":35,"entrypoint":98,"risk_profile":163,"dependencies":165,"content_hash":149,"verification":170,"inferred":58},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":164,"uses_absolute_paths":28,"network_access":28},[],{"npm":166,"pip":167,"brew":168,"system":169},[],[],[],[],{"commands":171,"expected_files":172},[],[],{"target":33,"score":60,"status":61,"policy":62,"why":174,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":149,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":176,"review_status":75,"signals":177},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":179,"content_hash":149,"visibility":18,"created_at":180,"updated_at":181},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-ce628bdc","2026-05-12 12:12:35","2026-05-12 20:40:04",125.26764706002139,[133,134,135,136],[26,138],{"id":186,"uuid":187,"slug":188,"title":189,"description":190,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":191,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":192,"tags":193,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":195,"asset_kind":30,"target_tools":196,"install_mode":35,"entrypoint":197,"risk_profile":198,"dependencies":200,"verification":205,"agent_metadata":208,"agent_fit":220,"trust":222,"provenance":225,"created_at":227,"updated_at":228,"__relatedScore":229,"__relatedReasons":230,"__sharedTags":231},2207,"8e9001d7-41cf-11f1-9bc6-00163e2b0d79","uikit-lightweight-modular-front-end-framework-8e9001d7","UIkit — Lightweight Modular Front-End Framework","A lightweight and modular front-end framework for developing fast and powerful web interfaces. UIkit provides a comprehensive collection of HTML, CSS, and JS components with consistent styling.",71,[],[194],{"id":24,"name":25,"slug":26,"icon":27},"7dd62a7e56574380cfc3fc21a66f0d52b85e6073af703625fb69735a2ee775a1",[32,33,34],"UIkit Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":199,"uses_absolute_paths":28,"network_access":28},[],{"npm":201,"pip":202,"brew":203,"system":204},[],[],[],[],{"commands":206,"expected_files":207},[],[197],{"asset_kind":30,"target_tools":209,"install_mode":35,"entrypoint":197,"risk_profile":210,"dependencies":212,"content_hash":195,"verification":217},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":211,"uses_absolute_paths":28,"network_access":28},[],{"npm":213,"pip":214,"brew":215,"system":216},[],[],[],[],{"commands":218,"expected_files":219},[],[197],{"target":33,"score":60,"status":61,"policy":62,"why":221,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":195,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":223,"review_status":75,"signals":224},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":226,"content_hash":195,"visibility":18,"created_at":227,"updated_at":228},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fuikit-lightweight-modular-front-end-framework-8e9001d7","2026-04-27 08:25:13","2026-05-12 10:27:32",111.7859987446469,[133,134,135,136],[26,138],{"id":233,"uuid":234,"slug":235,"title":236,"description":237,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":238,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":239,"tags":240,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":242,"asset_kind":30,"target_tools":243,"install_mode":35,"entrypoint":244,"risk_profile":245,"dependencies":247,"verification":252,"agent_metadata":255,"agent_fit":267,"trust":269,"provenance":272,"created_at":274,"updated_at":275,"__relatedScore":276,"__relatedReasons":277,"__sharedTags":278},2401,"2d8c7349-446d-11f1-9bc6-00163e2b0d79","sinatra-lightweight-ruby-web-framework-2d8c7349","Sinatra — Lightweight Ruby Web Framework","A DSL for quickly creating web applications in Ruby with minimal effort and elegant syntax.",78,[],[241],{"id":24,"name":25,"slug":26,"icon":27},"b3aa656bd0e2a1b593d5d9051662de62936bc1e2cd14e5e86b5901822ae4e433",[32,33,34],"Sinatra Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":246,"uses_absolute_paths":28,"network_access":28},[],{"npm":248,"pip":249,"brew":250,"system":251},[],[],[],[],{"commands":253,"expected_files":254},[],[244],{"asset_kind":30,"target_tools":256,"install_mode":35,"entrypoint":244,"risk_profile":257,"dependencies":259,"content_hash":242,"verification":264},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":258,"uses_absolute_paths":28,"network_access":28},[],{"npm":260,"pip":261,"brew":262,"system":263},[],[],[],[],{"commands":265,"expected_files":266},[],[244],{"target":33,"score":60,"status":61,"policy":62,"why":268,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":242,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":270,"review_status":75,"signals":271},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":273,"content_hash":242,"visibility":18,"created_at":274,"updated_at":275},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fsinatra-lightweight-ruby-web-framework-2d8c7349","2026-04-30 16:18:33","2026-05-12 10:48:22",110.84644063693567,[133,134,135,136],[26,138]]