Skip to content

open-devhub/website

Repository files navigation

DevHub

The official website for the DevHub developer community. Built with Next.js, TypeScript, and Tailwind CSS.

What's in here

  • Community docs and guides
    • rules
    • getting started
    • how-to's
  • Resource library, curated tools and learning materials
  • Documentations:
    • Getting Started
    • Join Guide
    • Server Info
    • How to Ask
    • How to Help
    • Code of Conduct
    • Contributing
    • Moderation Guide
    • Staff Roles
    • FAQ

Tech Stack

  • Framework - Next.js
  • Language - TypeScript
  • Styling - Tailwind CSS
  • Animation Libriary - GSAP and Framer Motion
  • Icons - Lucide
  • Deployment - Vercel

Getting Started

Prerequisites

  • Node.js 18+
  • npm, yarn, or pnpm

Setup

# Clone the repo
git clone https://github.com/open-devhub/website
cd devhub-website

# Install dependencies
npm install

# Start the dev server
npm run dev

Open http://localhost:3000 and you're in.

Project Structure

├── 📄 .eslintrc.json
├── 📄 .gitignore
├── 📁 .vscode
│   └── 📄 settings.json
├── 📄 CONTRIBUTING.md
├── 📄 LICENSE
├── 📄 README.md
├── 📁 app
│   ├── 📄 globals.css
│   ├── 📄 layout.tsx
│   ├── 📄 page.tsx
│   ├── 📁 pages
│   │   ├── 📄 [slug]
│   │   ├── 📄 layout.tsx
│   │   └── 📄 page.tsx
│   ├── 📁 resources
│   │   └── 📄 page.tsx
│   └── 📁 rules
│       └── 📄 page.tsx
├── 📄 components.json
├── 📁 components
│   ├── 📄 AnimatedText.tsx
│   ├── 📄 Badge.tsx
│   ├── 📄 BorderGlowButton.tsx
│   ├── 📄 Footer.tsx
│   ├── 📄 GlowButton.tsx
│   ├── 📄 Navbar.tsx
│   ├── 📄 Section.tsx
│   ├── 📄 ShinyText.tsx
│   ├── 📄 TargetCursor.tsx
│   ├── 📁 home
│   │   ├── 📄 BelongSection.tsx
│   │   ├── 📄 CTASection.tsx
│   │   ├── 📄 FeaturesSection.tsx
│   │   ├── 📄 HeroSection.tsx
│   │   ├── 📄 ShowcaseSection.tsx
│   │   └── 📄 StatsSection.tsx
│   └── 📁 ui
│       ├── 📄 accordion.tsx
│       ├── 📄 alert-dialog.tsx
│       ├── 📄 alert.tsx
│       ├── 📄 aspect-ratio.tsx
│       ├── 📄 avatar.tsx
│       ├── 📄 badge.tsx
│       ├── 📄 breadcrumb.tsx
│       ├── 📄 button.tsx
│       ├── ...
├── 📁 hooks
│   └── 📄 use-toast.ts
├── 📁 lib
│   ├── 📄 animations.ts
│   ├── 📄 pages.config.ts
│   ├── 📄 redirects.config.ts
│   ├── 📄 staticdata.config.ts
│   └── 📄 utils.ts
├── 📄 next.config.js
├── 📄 package-lock.json
├── 📄 package.json
├── 📄 postcss.config.js
├── 📄 tailwind.config.ts
└── 📄 tsconfig.json

Contributing

We welcome contributions of all kinds: bug fixes, new features, documentation improvements, and design feedback.

See CONTRIBUTING.md for the full guide. The short version:

  1. Fork the repo
  2. Create a branch (git checkout -b feature/your-cool-feature)
  3. Make your changes
  4. Run npm run lint
  5. Open a PR with a clear description

First time contributing to open source? Look for issues tagged good first issue.

Scripts

npm run dev        # Start development server
npm run build      # Production build
npm run start      # Start production server
npm run lint       # Run ESLint
npm run format     # Run Prettier

Community

License

Licensed under the GNU GPL v3.0 License. See the LICENSE file for details.

About

The official website for the DevHub developer community

Topics

Resources

License

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Contributors