{"id":22518238,"url":"https://github.com/theelegantcoding/git_hook","last_synced_at":"2025-06-23T04:38:03.089Z","repository":{"id":228046624,"uuid":"678588199","full_name":"TheElegantCoding/git_hook","owner":"TheElegantCoding","description":"⚙️comprehensive set of git hooks designed to streamline your development workflow, automate routine tasks, and ensure code quality. This powerful suite empowers you to maintain a consistent and organized development environment, enhancing productivity and reducing the risk of errors.","archived":false,"fork":false,"pushed_at":"2024-02-04T20:37:18.000Z","size":577,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T17:53:47.594Z","etag":null,"topics":["bash","changelog-generator","clean-architecture","clean-code","commitlint","design-pattern","git","git-hook","github","performance"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/TheElegantCoding.png","metadata":{"files":{"readme":".github/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":"2023-08-14T22:53:05.000Z","updated_at":"2024-03-16T13:20:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"537a1174-98aa-46aa-9ce6-06a861ab3b92","html_url":"https://github.com/TheElegantCoding/git_hook","commit_stats":null,"previous_names":["theelegantcoding/git_hook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheElegantCoding%2Fgit_hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheElegantCoding%2Fgit_hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheElegantCoding%2Fgit_hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheElegantCoding%2Fgit_hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheElegantCoding","download_url":"https://codeload.github.com/TheElegantCoding/git_hook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245958955,"owners_count":20700537,"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":["bash","changelog-generator","clean-architecture","clean-code","commitlint","design-pattern","git","git-hook","github","performance"],"created_at":"2024-12-07T04:14:59.921Z","updated_at":"2025-03-28T02:37:02.835Z","avatar_url":"https://github.com/TheElegantCoding.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./asset/cover.svg\" alt=\"edge\" width=\"100%\" align=\"center\" /\u003e\n\n\u003cbr /\u003e\n\n\u003ch1 id=\"astro-template-webpage\"\u003e📦️ Astro template webpage\u003c/h1\u003e\n\n---\n\n\u003ch2 id=\"about\"\u003e📝 About\u003c/h2\u003e\n\n\u003ctable border\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\nTired of sluggish websites and SEO headaches? Unleash the power of lightning-fast performance and built-in optimization with this Astro template builder! Crafted for developers who value speed and simplicity, this robust toolkit empowers you to build stunning websites that soar in search engines and captivate users.\n\nDitch the struggle and focus on what matters most - crafting impactful content that drives engagement. Welcome to the future of web development - where SEO and performance work hand-in-hand.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#astro-template-webpage\"\u003e⬆️ back to top\u003c/a\u003e)\u003c/p\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n---\n\n## 📚 Table of content\n\n- [📝 About](#about)\n- [🛰️ Features](#features)\n- [⚡️ Requirements](#requirements)\n- [📦 Installation](#installation)\n- [⚙️ Configuration](#configuration)\n- [🚀 Usage](#usage)\n- [⚡️ Scripts](#scripts)\n- [🌎 Browser support](#browser-support)\n\n---\n\n\u003ch2 id=\"features\"\u003e🛰️ Features\u003c/h2\u003e\n\n- `🌌 Astro` - Astro Framework\n- `🦾 Typescript` - Extremely strict type checking\n  - `✅ Absolute imports` -  No more bad imports\n- `💎 Sass` - Css framework for ui development\n  - `✅ BEMIT` - Arquitecture for sass\n  - `✅ Mobile firts` - Best performance for css\n  - `✅ Reset` - Reset css for match style between browsers\n  - `✅ Join media queries` - Join media queries for small file size\n  - `✅ Vendor prefixes` - Vendor prefixes for all support\n  - `✅ Remove unused css` - Remove unused css in build\n- `🏗️ Clean arquitecture` - For clean code and scalablility\n- `🌎 SEO` - SEO meta data, open graph and more\n  - `✅ Sitemap` - Sitemap generator\n  - `✅ RSS` - RSS generator\n  - `✅ ️Robot` - Robot txt configuration\n  - `✅ Canonical` - Auto canonical url\n  - `✅ Google analytincs` - For positioning the webpage\n- `📐 Linter` - Linter and formatting all kind of files\n  - `✅ Eslint` - Litner and formatting ts and js files\n  - `✅ Stylelint` - Linter css files\n- `🕹️ Git` - Control version and more\n  - `✅ Github issue template` - Github issues organization\n  - `✅ Githooks` - Git hook for validate code quality\n  - `✅ Changelog` - Changelog and realese for github\n  - `✅ Sematic release` - Automatization of releases\n- `⚙️ Confugiration` - Vscode, env variables and more\n  - `✅ Vscode configuration` - Vscode recommendations, extensions and more\n  - `✅ Env validation` - Enviroment variables validation\n- `🧩 Components`\n  - `✅ Image component` - Ready to use optimize image component\n  - `✅ Show component` - Ready to use show component\n  - `✅ For component` - Ready to use show\n- `️⚡️ Performance`\n  - `✅ Bundler analizer` - Analize your bundle size\n  - `✅ Compress` - Compress images, font, css, js, and html\n  - `✅ Non blocking` - Non blocking js, css and more\n  - `✅ Font optimization` - Font transformation and declaration\n- `📦 Pnpm` - Fast package manager\n- `💯 Perfect lighthouse score` - Because performance matters\n\n---\n\n\u003ch2 id=\"requirements\"\u003e⚡️ Requirements\u003c/h2\u003e\n\n- node \u003e= **20.10.0**\n- git \u003e= **2.38**\n- pnpm \u003e= **8.2.0**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#webpage-pablote-beef\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003ch2 id=\"installation\"\u003e📦 Installation\u003c/h2\u003e\n\nAfter cloning the repo run this command to install all the dependencies\n\n```bash\npnpm install\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#webpage-pablote-beef\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003ch2 id=\"configuration\"\u003e⚙️ Configuration\u003c/h2\u003e\n\nThe configuration needed for this project is to set up the env variables here are the examples:\n\nfile: **.example.dev.env**\n\n```yml\nVITE_PORT=3000\nVITE_BASE_URL=http://localhost:$VITE_PORT\n```\n\nfile: **.example.prod.env**\n\n```yml\nVITE_BASE_URL=\n```\n\nfile: **.example.staging.env**\n\n```yml\nVITE_PORT=4173\nVITE_BASE_URL=http://localhost:$VITE_PORT\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#webpage-pablote-beef\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003ch2 id=\"usage\"\u003e🚀 Usage\u003c/h2\u003e\n\nBefore installing all the dependencies you can run the project with\n\n```bash\npnpm dev\n```\n\nTo see the production ready page you can run\n\n```bash\npnpm staging\n```\n\nBuilds the app for production to the `dist` folder.\n\nIt correctly bundles Solid in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes, also it compress all the assets and images in the dist folder.\n\nYour app is ready to be deployed.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#webpage-pablote-beef\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003ch2 id=\"scripts\"\u003e⚡️ Scripts\u003c/h2\u003e\n\nThe following scripts are available in the `package.json`:\n\n- `preinstall`: This script is for only allow pnpm as package manager\n- `postinstall`: This script is for setting up the git hooks and validate the error after commit to github\n- `dev`: This script is for see the webpage in dev mode\n- `staging`: This script is for see production, this run the env variables an set the webpage with all the settings\n- `build-dev`: This script compile the project in dev mode\n- `build`: This script is for build in production\n- `lint`: This script is for format and lint all the files\n- `lint-eslint`: This script is for lint ts, tsx and more files\n- `lint-stylelint`: This script is for lint css files\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#webpage-pablote-beef\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003ch2 id=\"browser-support\"\u003e🌎 Browser support\u003c/h2\u003e\n\nHere is the list of all the browser this website support\n\n\u003ctable align=\"center\" border\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cdiv \u003e\n        \u003cimg src=\"./asset/edge.svg\" alt=\"edge\" width=\"24\" /\u003e\n        \u003cbr /\u003e\n        \u003cstrong\u003eIE / Edge\u003c/strong\u003e\n      \u003c/div\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"./asset/firefox.svg\" alt=\"firefox\" width=\"24\" /\u003e\n      \u003cbr /\u003e\n      \u003cstrong\u003eFirefox\u003c/strong\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"./asset/safari.svg\" alt=\"safari\" width=\"24\" /\u003e\n      \u003cbr /\u003e\n      \u003cstrong\u003eSafari\u003c/strong\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"./asset/safari.svg\" alt=\"safari\" width=\"24\" /\u003e\n      \u003cbr /\u003e\n      \u003cstrong\u003eSafari IOS\u003c/strong\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"./asset/samsung_internet.svg\" alt=\"samsung internet\" width=\"24\" /\u003e\n      \u003cbr /\u003e\n      \u003cstrong\u003eSamsung\u003c/strong\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"./asset/opera.svg\" alt=\"opera\" width=\"24\" /\u003e\n      \u003cbr /\u003e\n      \u003cstrong\u003eOpera\u003c/strong\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      ✔️\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      ✔️\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      ✔️\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      ✔️\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      ✔️\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      ✔️\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#astro-template-webpage\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheelegantcoding%2Fgit_hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheelegantcoding%2Fgit_hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheelegantcoding%2Fgit_hook/lists"}