eshanized bb19932a46
Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
🛠 refactor: rename chunks
2025-01-16 01:37:26 +05:30
2025-01-03 11:46:26 +05:30
2025-01-13 13:54:03 +05:30
2025-01-11 22:49:36 +05:30
2025-01-13 14:17:14 +05:30
2025-01-13 14:13:49 +05:30
2024-12-23 02:19:28 +05:30
2024-12-27 22:18:46 +05:30
2025-01-13 14:04:01 +05:30
2025-01-13 14:04:01 +05:30
2025-01-11 22:49:05 +05:30
2025-01-13 13:56:21 +05:30
2025-01-13 14:11:06 +05:30
2024-12-29 05:45:26 +05:30
2025-01-16 01:37:26 +05:30

Snigdha OS Web 🌐

Welcome to the Snigdha OS Web repository! This repository contains the source code, components, and resources used for building and maintaining the official website for Snigdha OS. 🚀

Netlify Status

Table of Contents 📑

Overview 🌟

The Snigdha OS Web repository powers the official Snigdha OS website. It includes various web development components, styles, and scripts necessary for the website's functionality. The website is designed to be clean, lightweight, and user-friendly, aligning with the philosophy of Snigdha OS. 🎨💻

Features 🔧

  • Responsive Design 📱: The website is fully responsive and works across various devices and screen sizes.
  • User Registration & Authentication 🔒: Integrated with the Snigdha OS user system for registration and authentication.
  • Region-based Downloads 🌍: Allows users to select regional mirrors for downloading Snigdha OS.
  • Customizable UI 🎨: Built with flexibility in mind for future enhancements and easy theming.
  • SEO Optimization 📈: The website is optimized for search engines to ensure better discoverability.

Technologies Used 🛠️

This project utilizes a range of modern web technologies to create a seamless and performant experience:

  • React.js ⚛️: A JavaScript library for building user interfaces, allowing for reusable components and a fast development workflow.
  • Node.js 🌐: A runtime environment for executing JavaScript on the server-side.
  • Express.js : A minimal web framework for Node.js used for backend API routes.
  • Redux 📦: A state management library to handle the application's state in a predictable way.
  • CSS3 🎨: For styling the website with modern layout techniques (Flexbox, Grid).
  • Sass 🧶: A CSS preprocessor to manage complex stylesheets and make the development process more efficient.
  • Webpack ⚙️: A module bundler for JavaScript and other assets, ensuring optimal performance and organization.
  • Jest 🧪: A testing framework used for running unit and integration tests.
  • ESLint 📝: A tool for identifying and fixing issues in JavaScript code to ensure consistency and adherence to coding standards.

Dependencies & Scripts Explanation 📦🛠️

Dependencies 🚀

These are the core libraries required for the website to run in production:

  • lucide-react 💎: A library of open-source, customizable SVG-based icons for React. It helps add vector icons to the UI.
  • octokit 🦑: A JavaScript library for interacting with GitHubs API, useful for fetching data from GitHub repositories.
  • react ⚛️: The core React library to build user interfaces. React components handle rendering and interactivity.
  • react-dom 🌐: Provides methods to render React components in the browser and manage updates.
  • react-icons 🔗: A set of icons packaged as React components. It simplifies adding icons to the UI.
  • react-router-dom 🛣️: A routing library for React, enabling navigation between pages and managing URL parameters.

DevDependencies 🧰

These are tools used during development to build, lint, and optimize the project:

  • @eslint/js 🧑‍💻: Core ESLint library to identify and fix JavaScript code issues.
  • @types/react and @types/react-dom 💬: TypeScript definitions for React and ReactDOM, providing type safety and better development experience.
  • @vitejs/plugin-react ⚙️: Vite plugin for React, enabling features like React Fast Refresh and JSX transformation.
  • autoprefixer 🌐: PostCSS plugin that automatically adds vendor prefixes to CSS to ensure cross-browser compatibility.
  • eslint 📝: The linter for JavaScript/TypeScript to ensure consistent code quality.
  • eslint-plugin-react-hooks 🪝: An ESLint plugin to enforce rules of React Hooks usage.
  • eslint-plugin-react-refresh 🔄: Ensures that React Fast Refresh works correctly during development.
  • globals 🌍: Provides a list of global variables in different environments, such as browser and Node.js, for linting.
  • postcss 🧩: A tool to transform CSS with plugins, such as autoprefixing, minification, and more.
  • tailwindcss 🌈: A utility-first CSS framework to rapidly build custom and responsive designs.
  • typescript 🔤: A superset of JavaScript that adds static typing for more maintainable and reliable code.
  • typescript-eslint 🔍: Enables ESLint to lint TypeScript code, enforcing consistent styling and error-free code.
  • vite : A fast, next-generation build tool optimized for modern web development.
  • lint-staged 🚀: Runs linters on staged files before committing, ensuring that only clean code is committed.
  • storybook 📚: A tool to develop and test UI components in isolation, ideal for building reusable UI elements.

Scripts 📝

These are various commands that help automate tasks in the development process:

  • dev 🔥: Starts the development server (vite), enabling hot reloading and fast builds.
  • build 🏗️: Builds the project for production with optimized assets.
  • lint ⚠️: Runs ESLint to check for any code quality issues.
  • preview 👀: Previews the production build locally.
  • start 🚀: Alias for pnpm dev, starts the development server.
  • test 🧪: Runs linting and builds the app as a testing workflow.
  • fix 🔧: Automatically fixes any linting errors.
  • format 🖋️: Runs Prettier to format code according to style conventions.
  • clean 🧹: Cleans the dist folder, removes node_modules, and reinstalls dependencies.
  • deploy 🌐: Builds the project and deploys it to Netlify.
  • analyze 📊: Analyzes the build output for performance improvements.
  • check-types : Checks TypeScript types without emitting code.
  • generate-icons 🖼️: Generates an SVG sprite from the icons in the src/assets/icons folder.
  • precommit : Runs lint-staged to lint files before committing.
  • storybook 📚: Starts Storybook to develop and test components in isolation.
  • build-storybook 🏗️: Builds the Storybook for deployment.
  • check-deps 🔍: Audits and updates dependencies.
  • postinstall 🧰: Runs additional commands after dependencies are installed (like starting Vite).

Repository Structure 📂

Here is the general structure of the repository:

snigdha-os.github.io/
.
├── CODE_OF_CONDUCT.md
├── config.sh
├── CONTRIBUTING.md
├── eslint.config.js
├── index.html
├── LICENSE
├── package.json
├── package-lock.json
├── postcss.config.js
├── public
│   ├── 404.html
│   ├── favicon.ico
│   ├── favicon.svg
│   ├── snigdhaos-logo.png
│   └── snigdhaos-og.png
├── push.sh
├── readme.md
├── src
│   ├── App.tsx
│   ├── components
│   │   ├── about
│   │   │   ├── MissionSection.tsx
│   │   │   ├── TeamSection.tsx
│   │   │   └── Timeline.tsx
│   │   ├── developers
│   │   │   ├── ContributorCard.tsx
│   │   │   ├── ContributorStats.tsx
│   │   │   ├── RepoCard.tsx
│   │   │   └── TeamMemberCard.tsx
│   │   ├── donate
│   │   │   ├── DonationTier.tsx
│   │   │   ├── DonorWall.tsx
│   │   │   ├── GithubSponsorButton.tsx
│   │   │   ├── KeySponsors.tsx
│   │   │   ├── SponsorshipStats.tsx
│   │   │   └── SponsorshipTiers.tsx
│   │   ├── download
│   │   │   ├── Checksum.tsx
│   │   │   ├── DownloadButton.tsx
│   │   │   ├── MirrorList.tsx
│   │   │   ├── NetworkSpeed.tsx
│   │   │   ├── SuggestedMirror.tsx
│   │   │   └── SystemRequirements.tsx
│   │   ├── features
│   │   │   ├── CategoryFilter.tsx
│   │   │   ├── SearchBar.tsx
│   │   │   └── ToolCard.tsx
│   │   ├── gallery
│   │   │   ├── CategoryFilter.tsx
│   │   │   └── GalleryImage.tsx
│   │   ├── home
│   │   │   ├── ComparisonSection.tsx
│   │   │   ├── FeatureCard.tsx
│   │   │   ├── HeroSection.tsx
│   │   │   ├── StatsSection.tsx
│   │   │   ├── TestimonialCard.tsx
│   │   │   └── ToolsShowcase.tsx
│   │   ├── layout
│   │   │   ├── Footer
│   │   │   │   ├── ContactSection.tsx
│   │   │   │   └── index.tsx
│   │   │   ├── Footer.tsx
│   │   │   └── Navbar.tsx
│   │   └── ui
│   │       └── ErrorBoundary.tsx
│   ├── data
│   │   ├── donations.ts
│   │   ├── download.ts
│   │   ├── footerNavigation.ts
│   │   ├── gallery.ts
│   │   ├── mirrors
│   │   │   ├── africa.ts
│   │   │   ├── americas.ts
│   │   │   ├── asia.ts
│   │   │   ├── europe.ts
│   │   │   ├── index.ts
│   │   │   └── oceania.ts
│   │   ├── mirrors.ts
│   │   ├── navigation.ts
│   │   ├── team.ts
│   │   ├── testimonials.ts
│   │   └── tools.ts
│   ├── hooks
│   │   ├── useLocation.ts
│   │   └── useNetworkSpeed.ts
│   ├── index.css
│   ├── lib
│   │   ├── currency.ts
│   │   ├── github.ts
│   │   ├── location.ts
│   │   ├── network.ts
│   │   └── utils.ts
│   ├── main.tsx
│   ├── pages
│   │   ├── About.tsx
│   │   ├── Developers.tsx
│   │   ├── Donate.tsx
│   │   ├── Download.tsx
│   │   ├── Features.tsx
│   │   ├── Gallery.tsx
│   │   └── Home.tsx
│   ├── routes.tsx
│   ├── types
│   │   └── download.ts
│   └── vite-env.d.ts
├── tailwind.config.js
├── tsconfig.app.json
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts

Developers 👨‍💻👩‍💻

  • Eshanized - Lead Developer, Web Architect 🔧
  • RiO - Developer & Maintainer

If you would like to contribute or join the team, feel free to reach out! 📬

Development Guide 📚

Prerequisites 📥

To get started with development, you need:

  • Node.js and pnpm installed on your local machine.
  • A modern web browser (Chrome, Firefox, etc.) for testing and debugging.
  • A code editor (VSCode, Sublime Text, etc.).
  • Familiarity with React.js, JavaScript, CSS, and Git.

Setting Up the Development Environment 🛠️

  1. Clone the repository:

    git clone https://github.com/Snigdha-OS/snigdha-os.github.io.git
    cd snigdha-os.github.io
    
  2. Install dependencies:

    pnpm install
    
  3. Run the development server:

    pnpm dev
    

    This will start the development server at http://localhost:5173. Any changes

made to the code will be reflected immediately. 🔄

Contribution Guidelines ✍️

  • Fork the repository and clone your fork locally.
  • Create a new branch for each feature or bug fix:
    git checkout -b feature-name
    
  • Make your changes, commit them with clear and descriptive commit messages.
  • Push your changes to your fork and create a pull request to the main branch.

Code Style and Best Practices 💡

  • Follow a consistent style guide for JavaScript and CSS.
  • Use meaningful variable names, and avoid long functions.
  • Comment complex logic to explain the reasoning behind it.
  • Use pnpm run lint to check for code style issues before committing.

Testing 🧪

To test changes locally, run:

pnpm run test

This will run the Jest test suite for any components or functions that have been set up for testing.

Contributing 🤝

We welcome contributions from everyone! If you'd like to contribute to Snigdha OS Web, please follow these steps:

  1. Fork the repository.
  2. Clone your fork locally and create a new branch.
  3. Make your changes and test them.
  4. Create a pull request with a clear description of your changes.

If you have any ideas or suggestions, please feel free to open an issue or start a discussion. 💬

License 📜

This project is licensed under the MIT License. See the LICENSE file for more information.

Thanks for contributing to Snigdha OS Web! 🌟
Description
🕒 This repository contains the core source code and configuration files for the website. Feel free to modify, extend, and contribute to its development to improve functionality, add new features, and ensure the ongoing success of the project.
Readme 101 MiB
Languages
TypeScript 91.7%
HTML 3.9%
Shell 3.1%
JavaScript 1.2%