Skip to content

ashish7802/devsuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•
β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  
β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•”β•β•β•  
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•  β•šβ•β•β•β•  β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•   β•šβ•β•   β•šβ•β•β•β•β•β•β•

DevSuite

The Developer's Swiss Army Knife

A collection of essential developer tools in a modern, open-source monorepo.

npm version License: MIT PRs Welcome Made with Node.js GitHub stars

Features β€’ Installation β€’ Usage β€’ Contributing β€’ License


✨ What is DevSuite?

DevSuite is a comprehensive collection of developer tools designed to streamline your workflow and boost productivity. Built as a modern monorepo, it includes three powerful packages:

  1. πŸ› οΈ DevToolkit CLI - A command-line Swiss Army Knife for developers
  2. πŸ“š Snippet Vault - A beautiful code snippet manager
  3. 🌍 API Graveyard - A curated directory of 50+ free public APIs

Whether you're scaffolding projects, managing environment variables, organizing code snippets, or discovering new APIs, DevSuite has you covered.


πŸš€ Features Overview

Package Description Key Features
CLI Command-line toolkit Project scaffolding, Git helpers, Env management, System utilities, Snippet manager
Web Snippet Vault Syntax highlighting, Search & filter, Import/Export, Dark mode, Keyboard shortcuts
API Directory Public API catalog 55+ APIs, Live status checking, Code examples, Category filtering

πŸ“ Monorepo Structure

devsuite/
β”œβ”€β”€ πŸ“¦ packages/
β”‚   β”œβ”€β”€ πŸ–₯️ cli/                  # DevToolkit CLI (Node.js + Commander.js)
β”‚   β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”‚   β”œβ”€β”€ commands/        # CLI command implementations
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ init.js      # Project scaffolding
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ git.js       # Git operations
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ env.js       # Environment management
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ system.js    # System utilities
β”‚   β”‚   β”‚   β”‚   └── snippet.js   # Snippet management
β”‚   β”‚   β”‚   └── index.js         # CLI entry point
β”‚   β”‚   β”œβ”€β”€ package.json
β”‚   β”‚   └── README.md
β”‚   β”‚
β”‚   β”œβ”€β”€ 🌐 web/                  # Snippet Vault (Next.js 14 + Tailwind)
β”‚   β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”‚   β”œβ”€β”€ page.tsx         # Main application
β”‚   β”‚   β”‚   β”œβ”€β”€ layout.tsx       # Root layout
β”‚   β”‚   β”‚   └── globals.css      # Global styles
β”‚   β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”‚   β”œβ”€β”€ utils.ts         # Utility functions
β”‚   β”‚   β”‚   └── highlighter.ts   # Shiki syntax highlighter
β”‚   β”‚   β”œβ”€β”€ package.json
β”‚   β”‚   └── README.md
β”‚   β”‚
β”‚   └── πŸ“‘ api-directory/        # API Graveyard (Next.js 14 + SWR)
β”‚       β”œβ”€β”€ app/
β”‚       β”‚   β”œβ”€β”€ page.tsx         # Main application
β”‚       β”‚   β”œβ”€β”€ layout.tsx       # Root layout
β”‚       β”‚   └── globals.css      # Global styles
β”‚       β”œβ”€β”€ lib/
β”‚       β”‚   └── utils.ts         # Utility functions
β”‚       β”œβ”€β”€ data/
β”‚       β”‚   └── apis.json        # 55+ API entries
β”‚       β”œβ”€β”€ package.json
β”‚       └── README.md
β”‚
β”œβ”€β”€ πŸ“„ README.md                 # This file
β”œβ”€β”€ πŸ“„ CONTRIBUTING.md           # Contribution guidelines
β”œβ”€β”€ πŸ“„ LICENSE                   # MIT License
β”œβ”€β”€ πŸ“„ package.json              # Root package.json with workspaces
└── πŸ“„ .gitignore               # Git ignore rules

🏁 Quick Start

Prerequisites

  • Node.js 18+
  • npm 9+ or yarn/pnpm

Clone & Install

# Clone the repository
git clone https://github.com/yourusername/devsuite.git
cd devsuite

# Install all dependencies
npm install
npm install --workspaces

πŸ–₯️ Package 1: DevToolkit CLI

A powerful command-line toolkit that simplifies common development tasks.

Installation

# Global installation
npm install -g devsuite-cli

# Or use with npx
npx devsuite-cli <command>

Commands Reference

Command Description Example
init <name> Scaffold new project devsuite init my-app --template react
git:sync Pull, resolve conflicts, push devsuite git:sync
git:undo Undo last commit safely devsuite git:undo
env:check Compare .env vs .env.example devsuite env:check
env:gen Generate .env.example devsuite env:gen
ports Show ports in use devsuite ports
clean Clean temp files devsuite clean --dry-run
snippet add <name> Save snippet from clipboard devsuite snippet add "react-hook"
snippet list List all snippets devsuite snippet list
snippet use <name> Copy snippet to clipboard devsuite snippet use "react-hook"

Available Templates

  • node - Node.js project with Jest
  • react - React + Vite project
  • next - Next.js 14 project
  • python - Python project with pytest
  • fastapi - FastAPI project with Docker

Demo

# Create a new React project
devsuite init my-awesome-app --template react

# Output:
# βœ… Created React (Vite) project: my-awesome-app
#
# Next steps:
#   cd my-awesome-app
#   npm install
#   npm run dev

πŸ“š Package 2: Snippet Vault

A beautiful, fast code snippet manager with syntax highlighting.

Features

  • ✨ Syntax Highlighting - 50+ languages powered by Shiki
  • πŸ” Instant Search - Search by title, tags, or description
  • 🏷️ Tagging - Organize snippets with custom tags
  • πŸ“‹ One-click Copy - Copy code to clipboard instantly
  • πŸŒ™ Dark Mode - Toggle between light and dark themes
  • πŸ“€ Import/Export - Backup and restore your snippets
  • ⌨️ Keyboard Shortcuts - Ctrl+K to focus search
  • πŸ’Ύ Local Storage - All data stays in your browser

Run Locally

cd packages/web
npm install
npm run dev

Open http://localhost:3000

Screenshots

Screenshot placeholder - Main interface with snippet grid

Screenshot placeholder - Add snippet modal

Screenshot placeholder - Syntax highlighted code view


🌍 Package 3: API Graveyard

A curated directory of 55+ free public APIs with live status checking.

Features

  • πŸ“š 55+ APIs - Carefully curated free public APIs
  • πŸ” Search & Filter - Find APIs by name, category, or tags
  • 🟒 Live Status - Real-time availability checking
  • πŸ“‹ Code Examples - cURL and JavaScript fetch snippets
  • πŸ” Auth Info - Clear indication of authentication requirements
  • 🏷️ Categories - Weather, Finance, AI, Maps, Entertainment, and more
  • πŸŒ™ Dark Mode - Easy on the eyes

Included APIs (55 Total)

Click to expand full API list
Name Category Auth Description
OpenWeatherMap Weather API Key Comprehensive weather data
NewsAPI News API Key News headlines and articles
JSONPlaceholder Developer Tools None Fake REST API for testing
CoinGecko Finance None Cryptocurrency data
PokΓ©API Entertainment None PokΓ©mon data
Dog CEO Entertainment None Random dog images
OpenAI AI API Key GPT models and AI tools
GitHub Developer Tools OAuth Repository and user data
NASA APOD Science API Key Astronomy Picture of the Day
REST Countries Data None Country information
Open Brewery DB Food & Drink None Brewery database
The Cat API Entertainment API Key Cat images and breeds
Random User Generator Developer Tools None Mock user data
IPify Developer Tools None IP address lookup
HTTPBin Developer Tools None HTTP testing service
Chuck Norris Jokes Entertainment None Jokes API
Deck of Cards Entertainment None Card game API
Open Library Books None Book metadata
Unsplash Images API Key Free photos
Reqres Developer Tools None Testing API
Exchange Rate API Finance None Currency conversion
The Cocktail DB Food & Drink None Cocktail recipes
Agify.io Data None Age prediction
Genderize.io Data None Gender prediction
Nationalize.io Data None Nationality prediction
Bored API Entertainment None Activity suggestions
Quote Garden Entertainment None Quotes API
Kanye.rest Entertainment None Kanye West quotes
Rick and Morty Entertainment None TV show data
SpaceX API Science None SpaceX rocket data
JSONBin Developer Tools API Key JSON storage
QRCode Monkey Developer Tools None QR code generator
URLhaus Security None Malicious URL database
Have I Been Pwned Security API Key Breach checking
OpenStreetMap Nominatim Maps None Geocoding service
Zippopotam.us Data None Postal code data
Dad Jokes Entertainment None Jokes API
JokeAPI Entertainment None Programming jokes
Giphy Entertainment API Key GIFs and stickers
Pixabay Images API Key Free images
Numbers API Entertainment None Number facts
UUID Generator Developer Tools None UUID generation
ZipCodeBase Data API Key Postal code data
World Bank Finance None Economic data
Open Trivia Database Entertainment None Trivia questions
Shibe.online Entertainment None Shiba Inu pictures
PlaceKitten Images None Placeholder images
PlaceBear Images None Bear placeholder images
Lorem Picsum Images None Random placeholder images
Meta Weather Weather None Weather data
CoinDesk Finance None Bitcoin price index
Breaking Bad Quotes Entertainment None TV show quotes
Studio Ghibli Entertainment None Anime film data
Open Food Facts Food & Drink None Food product data
FreeToGame Games None Free games database

Run Locally

cd packages/api-directory
npm install
npm run dev

Open http://localhost:3001

How to Add an API

  1. Edit packages/api-directory/data/apis.json
  2. Add a new entry following this schema:
{
  "id": "unique-id",
  "name": "API Name",
  "category": "Category",
  "description": "Brief description",
  "base_url": "https://api.example.com",
  "auth_type": "none",
  "docs_url": "https://docs.example.com",
  "example_endpoint": "/endpoint",
  "tags": ["tag1", "tag2"]
}
  1. Submit a PR!

🀝 Contributing

We welcome contributions from the community! Please see our Contributing Guide for details.

Quick Start for Contributors

# Fork and clone
git clone https://github.com/yourusername/devsuite.git
cd devsuite

# Create a branch
git checkout -b feature/amazing-feature

# Make changes and commit
git commit -m 'Add amazing feature'

# Push and create PR
git push origin feature/amazing-feature

πŸ—ΊοΈ Roadmap

  • VS Code Extension - Access snippets directly in VS Code
  • Browser Extension - Save snippets from any webpage
  • AI-Powered Search - Smart snippet recommendations
  • Cloud Sync - Sync snippets across devices
  • Team Sharing - Share snippets with your team
  • More Templates - Additional project scaffolding templates
  • Plugin System - Extend CLI with custom plugins

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments


Made with ❀️ by the Ashish Yadav

⭐ Star us on GitHub β€’ πŸ› Report Bug β€’ πŸ’‘ Request Feature

'''

with open(f"{base_path}/README.md", "w") as f: f.write(readme_content)

print("βœ… Massive README.md created")

About

πŸ› οΈ Developer's Swiss Army Knife β€” CLI tools, Snippet Vault & Public API Directory in one monorepo

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages