{"id":22556034,"url":"https://github.com/eccentricvamp/freshwind","last_synced_at":"2025-04-10T05:25:42.226Z","repository":{"id":59646039,"uuid":"538271436","full_name":"EccentricVamp/freshwind","owner":"EccentricVamp","description":"Deno Fresh plugin for working with Twind v1","archived":false,"fork":false,"pushed_at":"2023-03-05T14:45:27.000Z","size":18,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T23:47:45.294Z","etag":null,"topics":["deno"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/EccentricVamp.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":"2022-09-18T23:46:59.000Z","updated_at":"2024-12-31T18:02:52.000Z","dependencies_parsed_at":"2024-12-07T19:21:11.526Z","dependency_job_id":null,"html_url":"https://github.com/EccentricVamp/freshwind","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"90c043db86387566a23da14ec9eb13ae3e9ef1db"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EccentricVamp%2Ffreshwind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EccentricVamp%2Ffreshwind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EccentricVamp%2Ffreshwind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EccentricVamp%2Ffreshwind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EccentricVamp","download_url":"https://codeload.github.com/EccentricVamp/freshwind/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248162032,"owners_count":21057689,"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","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":["deno"],"created_at":"2024-12-07T19:11:02.018Z","updated_at":"2025-04-10T05:25:42.204Z","avatar_url":"https://github.com/EccentricVamp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Freshwind\n\nA [Fresh](https://fresh.deno.dev/) plugin for working with [Twind v1](https://github.com/tw-in-js/twind/)\n\nBased on the [existing plugin](https://github.com/denoland/fresh/tree/1b3c9f2569c5d56a6d37c366cb5940f26b7e131e/plugins)\nwith tweaks from psimk's [sanban](https://github.com/psimk/sanban/blob/main/plugins/twind.ts)\n\n## Usage\n\n```typescript\n// twind.config.ts\nimport { defineConfig } from \"@twind/core\";\nimport presetTailwind from \"@twind/preset-tailwind\";\n\n// Twind v1 configuration\n// Learn more at https://twind.style/installation\nexport default defineConfig({\n  presets: [presetTailwind()],\n});\n\n// Make sure you export your config's URL\n// so that it can referenced in islands\nexport const configURL = import.meta.url;\n```\n\n```typescript\n// main.ts\nimport { start } from \"$fresh/server.ts\";\nimport manifest from \"./fresh.gen.ts\";\n\nimport freshwind from \"freshwind/plugin.ts\";\nimport config, { configURL } from \"./twind.config.ts\";\n\nawait start(manifest, {\n  plugins: [freshwind(config, configURL)],\n});\n```\n\n```tsx\n// routes/index.tsx\nexport default function Home() {\n  return (\n    \u003cp class=\"text-slate-500 bg-slate-100 my-3\"\u003e\n        Welcome to `fresh`. Try update this message in the ./routes/index.tsx\n        file, and refresh.\n    \u003c/p\u003e\n  );\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feccentricvamp%2Ffreshwind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feccentricvamp%2Ffreshwind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feccentricvamp%2Ffreshwind/lists"}