{"id":25990389,"url":"https://github.com/harshdoesdev/quick","last_synced_at":"2026-05-28T21:31:19.325Z","repository":{"id":199332931,"uuid":"702656515","full_name":"harshdoesdev/quick","owner":"harshdoesdev","description":"a fastn library for creating forms, quick!","archived":false,"fork":false,"pushed_at":"2023-10-10T13:18:14.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T13:54:29.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/harshdoesdev.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}},"created_at":"2023-10-09T18:28:14.000Z","updated_at":"2023-10-09T18:33:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd07aa48-792f-45db-b198-f54ace5c41d6","html_url":"https://github.com/harshdoesdev/quick","commit_stats":null,"previous_names":["harshdoesdev/quick"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harshdoesdev/quick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2Fquick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2Fquick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2Fquick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2Fquick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshdoesdev","download_url":"https://codeload.github.com/harshdoesdev/quick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2Fquick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33627934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2025-03-05T13:54:32.102Z","updated_at":"2026-05-28T21:31:19.307Z","avatar_url":"https://github.com/harshdoesdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quick 🚀\na blazing-fast fastn library for creating forms, quick! [DEMO](https://harshdoesdev.github.io/quick/demo/)\n\n## Table of Contents\n- [Installation](#installation)\n- [Getting Started](#getting-started)\n- [Example Usage](#example-usage)\n- [Todos](#todos)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\nTo get started with `quick`, simply add it as a dependency in your `FASTN.ftd` and import it into your project using the following import statement:\n\n`FASTN.ftd`\n```\n-- fastn.dependency: harshdoesdev.github.io/quick\n```\n\n`index.ftd`\n```ftd\n-- import: harshdoesdev.github.io/quick\n```\n\n## Getting Started\n\n1. Define a form key using the following syntax:\n\n```ftd\n-- string form-key: user-registration-form\n```\n\n2. Create an initial state and data models for your form:\n\n```ftd\n-- string $state: *$quick.initial-state\n\n-- record user-model:\nstring id:\n\n-- user-model user:\nid: $ftd.empty\n```\n\n## Example Usage\n\nHere's a simple example of creating a form using `quick`:\n\n```ftd\n-- ftd.column:\nalign-content: center\nwidth: fill-container\nheight: fill-container\nspacing.fixed.rem: 2\n\n-- ftd.row:\nspacing.fixed.rem: 1\nif: { state == \"SUCCESS\" }\n\n-- ftd.text: Your User Id is:\n\n-- ftd.text: $user.id\n\n-- end: ftd.row\n\n;; PRINT CURRENT FORM STATE\n\n-- ftd.text: $state\n\n;; FORM\n\n-- quick.form:\n\n-- ftd.column:\nwidth: fill-container\nalign-content: center\nspacing.fixed.rem: 1\n\n-- ftd.text-input:\nplaceholder: Your name\n$on-input$: $quick.handle-input(key = $form-key, name = name, value = $VALUE)\n\n-- ftd.text-input:\nplaceholder: Your job position\n$on-input$: $quick.handle-input(key = $form-key, name = job, value = $VALUE)\n\n-- ftd.text: Submit\nrole: $inherited.types.copy-small\nbackground.solid: $inherited.colors.cta-primary.base\npadding.rem: .5\n$on-click$: $submit-form(action = https://reqres.in/api/users, key = $form-key, $state = $state, data = $user)\n\n-- end: ftd.column\n\n-- end: quick.form\n\n-- end: ftd.column\n\n\n\n\n\n-- void submit-form(key, action, state, data):\nstring key:\nstring action:\nstring $state:\nuser-model data:\n\nform = quickform(key);\nform.post(action, state, null, data)\n```\n\n## Todos\n\nMy todos:\n- [x] Basic Async Form\n- [x] Data mapping\n\n## Contributing\n\nWe welcome contributions from the fastn community to make `quick` even better!\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\nMade with ❤️ by [harshdoesdev]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshdoesdev%2Fquick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshdoesdev%2Fquick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshdoesdev%2Fquick/lists"}