{"id":15105550,"url":"https://github.com/emelleme/wheat-stack","last_synced_at":"2026-02-26T04:52:22.665Z","repository":{"id":226679517,"uuid":"769343742","full_name":"emelleme/wheat-stack","owner":"emelleme","description":"A minimal template for the WHEAT stack (Wrangler, HTMX, Eleventy, Alpine, Tailwindcss).","archived":false,"fork":false,"pushed_at":"2024-07-03T22:03:04.000Z","size":287,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T12:25:45.828Z","etag":null,"topics":["eleventy","htmx","tailwindcss","vitejs"],"latest_commit_sha":null,"homepage":"","language":"Twig","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/emelleme.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-03-08T21:13:33.000Z","updated_at":"2024-07-03T22:03:07.000Z","dependencies_parsed_at":"2024-09-20T13:01:57.037Z","dependency_job_id":null,"html_url":"https://github.com/emelleme/wheat-stack","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"a1ed9fd58ee4df260a318fb9cfdec2cbf1f4932f"},"previous_names":["emelleme/wheat-stack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emelleme/wheat-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emelleme%2Fwheat-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emelleme%2Fwheat-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emelleme%2Fwheat-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emelleme%2Fwheat-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emelleme","download_url":"https://codeload.github.com/emelleme/wheat-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emelleme%2Fwheat-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29849050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"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":["eleventy","htmx","tailwindcss","vitejs"],"created_at":"2024-09-25T20:40:51.762Z","updated_at":"2026-02-26T04:52:22.632Z","avatar_url":"https://github.com/emelleme.png","language":"Twig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🌾 The WHEAT Stack\n\nWelcome to the WHEAT stack, a powerful combination of tools for quickly spinning up web apps on Cloudflare Pages. WHEAT stands for Wrangler, HTMX, Eleventy, Alpine, and Tailwind CSS, bringing the TEA stack into a quick and usable form.\n\n## 🧰 Tools\n\nThis project uses the following frameworks and libraries:\n\n-   [Wrangler](https://developers.cloudflare.com/workers/wrangler/)  - Cloudflare Workers CLI\n-   [HTMX](https://htmx.org/)  - High power tools for HTML\n-   [Eleventy](https://www.11ty.dev/)  - Static site generator\n-   [Alpine.js](https://alpinejs.dev/)  - Lightweight JavaScript framework\n-   [Tailwind CSS](https://tailwindcss.com/)  - Utility-first CSS framework\n-   [DaisyUI](https://daisyui.com/)  - Tailwind CSS component library\n-   [Vite](https://vitejs.dev/)  - Fast development build tool\n\n## ⭐️ Requirements\n\n-   [Node](https://nodejs.org/en/)\n-   [NVM](https://github.com/nvm-sh/nvm)\n\n## 🛠 Getting Started\n\n1.  Clone the repository:\n    \n    Copy code\n    \n    `git clone https://github.com/emelleme/wheat-stack.git cd wheat-stack`\n    \n2.  Switch to the valid Node version:\n    \n    Copy code\n    \n    `nvm use`\n    \n3.  Install dependencies:\n    \n    Copy code\n    \n    `npm install`\n    \n4.  Start the development server:\n    \n    Copy code\n    \n    `npm run dev`\n    \n5.  Build the production-ready site:\n    \n    Copy code\n    \n    `npm run build`\n    \n\nFeel free to check the `package.json` file to see all available scripts and packages being utilized.\n\n### 🔥 Tip: Running  `npm run build \u0026\u0026 npx wrangler pages dev dist`  will boot up a local server of your production site to preview before deployment.\n\n## 🚀 Deployment\n\nTo deploy your WHEAT stack app to Cloudflare Pages:\n\n1.  Ensure you have a Cloudflare account and have set up a new Pages project.\n2.  Configure your project's build settings:\n    -   Build command:  `npm run build`\n    -   Build output directory:  `dist`\n3.  Connect your GitHub repository to Cloudflare Pages.\n4.  Deploy your site and enjoy the lightning-fast performance of Cloudflare Pages!\n\n## 🔧 Cloudflare Pages Functions\n\nThe WHEAT stack supports Cloudflare Pages Functions, allowing you to run serverless functions directly from your Cloudflare Pages project. To create and use functions:\n\n1.  Create a new JavaScript file in the  `functions`  folder for each function you want to add.\n2.  Implement your function logic in the respective JavaScript file.\n3.  Deploy your project to Cloudflare Pages.\n4.  Access your functions using the generated URLs provided by Cloudflare Pages.\n\nFor example, if you create a function file named `hello.js` in the `functions` folder, it will be accessible at a URL like `https://your-project.pages.dev/hello`.\n\n## 📜 Prebuild Script\n\nThe WHEAT stack includes a `prebuild.sh` file that runs during the Cloudflare Pages build process. This script can be used to perform any necessary setup or preprocessing tasks before the build.\n\nTo customize the prebuild script:\n\n1.  Open the  `prebuild.sh`  file in your project.\n2.  Add your desired commands or scripts to be executed during the prebuild phase.\n3.  Save the file and deploy your project to Cloudflare Pages.\n\nThe `prebuild.sh` script will be automatically executed before the build process begins, allowing you to prepare your project environment or perform any necessary setup tasks.\n\n### 👋🏻 Thank you!\n\nI appreciate you taking the time to check out the WHEAT stack. Please leave a star and share it if you found it useful!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femelleme%2Fwheat-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femelleme%2Fwheat-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femelleme%2Fwheat-stack/lists"}