{"id":18614891,"url":"https://github.com/andrewjbateman/next-tailwind-optimised","last_synced_at":"2026-04-17T00:34:20.668Z","repository":{"id":96860759,"uuid":"416403684","full_name":"AndrewJBateman/next-tailwind-optimised","owner":"AndrewJBateman","description":":clipboard: A Next app using Tailwind styles and optimised Lighthouse score","archived":false,"fork":false,"pushed_at":"2022-03-21T13:12:28.000Z","size":2312,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T11:22:13.683Z","etag":null,"topics":["lighthouse-audits","nextjs","pwa","react","reactjs","rest-api","ssr","tailwind","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/AndrewJBateman.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}},"created_at":"2021-10-12T15:57:56.000Z","updated_at":"2022-03-21T13:13:10.000Z","dependencies_parsed_at":"2023-06-19T01:00:48.993Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/next-tailwind-optimised","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/next-tailwind-optimised","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-tailwind-optimised","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-tailwind-optimised/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-tailwind-optimised/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-tailwind-optimised/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/next-tailwind-optimised/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-tailwind-optimised/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31910165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","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":["lighthouse-audits","nextjs","pwa","react","reactjs","rest-api","ssr","tailwind","tailwindcss"],"created_at":"2024-11-07T03:27:20.226Z","updated_at":"2026-04-17T00:34:20.639Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Next Tailwind Optimised\n\n* A Next/Tailwind SSR app that displays data \u0026 images from an API with perfect Lighthouse scores\n* This is a template for a portfolio website (Work in progress)\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/next-tailwind-optimised?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/next-tailwind-optimised?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/next-tailwind-optimised?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/next-tailwind-optimised?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Next Tailwind Optimised](#zap-next-tailwind-optimised)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General Info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:clipboard: Status \u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General Info\n\n* Next.js used for frontend is for server-rendered react apps. It has automatic code splitting, simple page-based routing, built-in CSS support and hot reloading.\n* Tailwind CSS added to Next.js\n* Latest Next/Image optimisation used so image downloaded as Webp format and automatically sized. This is a major advantage over non-optimised Images. Working for datalist page but not used for News API page as all sources have to be added to `next.config.js`\n* Converted to Progressive Web App (PWA).\n* [Custom `Document`](https://nextjs.org/docs/advanced-features/custom-document) file `./pages/_document.js` created to override and extend default `Document`. It injects meta tags into every page\n\n## :camera: Screenshots\n\n![Example screenshot](./imgs/list.png)\n![Example screenshot](./imgs/card.png)\n\n## :signal_strength: Technologies\n\n* [React v17](https://reactjs.org/) Javascript library.\n* [React icons v4](https://www.npmjs.com/package/react-icons)\n* [Next v12](https://nextjs.org/) minimalist framework for rendering react apps on the server.\n* [Tailwind CSS v3](https://tailwindcss.com/) utility-first CSS framework\n* [PostCSS v8](https://postcss.org/) tool for transforming CSS with JavaScript\n* [Vercel](https://vercel.com) site hosting\n* [pngTree](https://pngtree.com/) downloadable images, png etc.\n* [pwa-asset-generator v4](https://www.npmjs.com/package/pwa-asset-generator) Automated PWA asset generation and image declaration. Creates icons and JSON array for PWA manifest.json file\n\n## :floppy_disk: Setup\n\n* `npm run dev` runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n* `npm run build` builds the app for production to the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\n* `npm run start` to run the built app.\n\n## :computer: Code Examples\n\n* tba\n\n```javascript\n\n```\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: In work\n* To-Do: Complete\n\n## :clap: Inspiration\n\n* [Install Tailwind CSS with Next.js](https://tailwindcss.com/docs/guides/nextjs)\n* [Convert your website into a PWA in 8 simple steps](https://milindsoorya.site/blog/convert-your-website-into-a-pwa-in-8-simple-steps-next-js-pwa-series-part-2#step-6-edit-your-_documentjs-file)\n* [How to Deploy Next.js Sites to Netlify](https://www.netlify.com/blog/2020/11/30/how-to-deploy-next.js-sites-to-netlify/)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnext-tailwind-optimised","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnext-tailwind-optimised","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnext-tailwind-optimised/lists"}