{"id":21763344,"url":"https://github.com/complexlity/simple-swap-ui","last_synced_at":"2026-04-16T11:02:26.995Z","repository":{"id":250278466,"uuid":"832803239","full_name":"Complexlity/simple-swap-ui","owner":"Complexlity","description":"A crypto swap ui for trading tokens","archived":false,"fork":false,"pushed_at":"2024-09-09T07:43:46.000Z","size":246,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T03:39:21.393Z","etag":null,"topics":["jotai","nextjs","shadcn-ui","tanstack-react-query"],"latest_commit_sha":null,"homepage":"https://simple-swap-ui-inky.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Complexlity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-23T18:54:27.000Z","updated_at":"2025-09-13T05:34:20.000Z","dependencies_parsed_at":"2024-09-09T09:08:03.927Z","dependency_job_id":"9fb0c2b0-df1d-430f-a5b5-532e4a60de35","html_url":"https://github.com/Complexlity/simple-swap-ui","commit_stats":null,"previous_names":["complexlity/simple-swap-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Complexlity/simple-swap-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Fsimple-swap-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Fsimple-swap-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Fsimple-swap-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Fsimple-swap-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Complexlity","download_url":"https://codeload.github.com/Complexlity/simple-swap-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Complexlity%2Fsimple-swap-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jotai","nextjs","shadcn-ui","tanstack-react-query"],"created_at":"2024-11-26T12:15:01.770Z","updated_at":"2026-04-16T11:02:26.946Z","avatar_url":"https://github.com/Complexlity.png","language":"TypeScript","readme":"# SIMPLE SWAP UI\n\nA crypto swap ui for trading tokens. \n\n![swap image](/swapImage.png)\n\nThere are two modes\n\n## Dynamic\n\nIn this mode, there's all kinds of state handling\n\n1. Input output tokens a loaded  (mocked) with loading skeletons\n2. The values get set depending on their price\n3. The tokens are cached depending on what the user has recently used\n4. Error and success toast depending on the swap transaction (mocked)\n5. Buttons that set the input value depending on the user's balance\n\n### Tech Stack\n- [Shadcn UI](https://ui.shadcn.com/) for ui and form components\n- [Tanstack Query](https://tanstack.com/query/latest) for async state management and mutations\n- [Jotai](https://jotai.org/) for local state handling and token caching\n\n## Stateless\n\nIn this mode there's no state handling just the ui\n\n## Tech Stack\n- [Shadcn UI]('https://ui.shadcn.com/) for ui and form components. \n\nYou can copy this one directly in your project if you have different stack and use your stack with it.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplexlity%2Fsimple-swap-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomplexlity%2Fsimple-swap-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplexlity%2Fsimple-swap-ui/lists"}