Skip to content

dhirajraut1/devkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DevKit - Essential Developer Tools

A modern, elegant collection of developer utilities built with vanilla JavaScript, HTML, and CSS. No frameworks, no build process - just open and use.

DevKit License

โœจ Features

DevKit provides a comprehensive suite of tools for developers, all wrapped in a beautiful dark-themed interface with smooth animations and intuitive navigation.

๐Ÿ“ Text Tools

  • Character Counter - Real-time statistics for characters, words, lines, and paragraphs
  • Diff Checker - Compare two text inputs with highlighted additions and deletions
  • Case Converter - Convert text between 8 different formats:
    • UPPERCASE
    • lowercase
    • Title Case
    • Sentence case
    • camelCase
    • PascalCase
    • snake_case
    • kebab-case

๐Ÿ’ป Code Tools

  • JSON Formatter - Format, minify, and validate JSON with syntax highlighting
  • Markdown Preview - Live markdown editor with real-time side-by-side preview
  • Base64 Encoder/Decoder - Encode and decode Base64 strings
  • Bcrypt Hasher - Generate and verify bcrypt password hashes with configurable rounds

๐Ÿ› ๏ธ Utilities

  • Color Picker - Pick colors and convert between HEX, RGB, HSL, and CMYK formats
  • UUID Generator - Generate random UUIDs (v4), single or in batches of 10
  • Timestamp Converter - Convert between Unix timestamps and human-readable dates
  • Lorem Ipsum Generator - Generate placeholder text (paragraphs, sentences, or words)
  • QR Code Generator - Create QR codes from text, URLs, or any content with customizable size and error correction

๐Ÿš€ Getting Started

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, Edge)
  • No server required - runs entirely in the browser

Installation

  1. Download all three files:

    • index.html
    • styles.css
    • app.js
  2. Place them in the same directory

  3. Open index.html in your web browser

That's it! No build process, no dependencies to install.

๐Ÿ“ Project Structure

devkit/
โ”œโ”€โ”€ index.html          # Main HTML structure
โ”œโ”€โ”€ styles.css          # All styling and animations
โ”œโ”€โ”€ app.js             # JavaScript functionality
โ””โ”€โ”€ README.md          # This file

๐ŸŽจ Design Philosophy

DevKit features a refined dark theme with careful attention to:

  • Typography - Uses Lexend for UI and JetBrains Mono for code
  • Color Palette - Indigo and purple gradients with thoughtful accent colors
  • Animations - Smooth transitions and micro-interactions throughout
  • Responsive Design - Works seamlessly on desktop, tablet, and mobile
  • Accessibility - Proper contrast ratios and keyboard navigation

๐Ÿ”ง Technical Details

Dependencies (CDN)

  • Marked.js (v11.0.0+) - For markdown rendering
  • bcrypt.js (v2.4.3) - For password hashing
  • QRCode.js (v1.0.0) - For QR code generation

Browser Compatibility

  • โœ… Chrome 90+
  • โœ… Firefox 88+
  • โœ… Safari 14+
  • โœ… Edge 90+

Code Architecture

The application uses a modular JavaScript approach with separate objects for each tool:

const characterCounter = { ... }
const diffChecker = { ... }
const caseConverter = { ... }
const jsonFormatter = { ... }
const markdownPreview = { ... }
const base64Tool = { ... }
const colorPicker = { ... }
const uuidGenerator = { ... }
const timestampConverter = { ... }
const bcryptHasher = { ... }
const loremIpsumGenerator = { ... }
const qrGenerator = { ... }

All tools are exposed through a global tools object for easy access.

๐Ÿ“– Usage Examples

Character Counter

Simply type or paste text into the editor and watch the statistics update in real-time.

JSON Formatter

{"name":"DevKit","version":"1.0.0"}

Paste your JSON, click "Format" to beautify, or "Minify" to compress.

Bcrypt Hasher

  1. Enter a password
  2. Choose rounds (10 recommended)
  3. Click "Generate Hash"
  4. Copy the hash for secure storage

To verify:

  1. Enter the password
  2. Paste the hash
  3. Click "Verify Password"

UUID Generator

  • Click "Generate UUID" for a single UUID
  • Click "Generate 10 UUIDs" for a batch
  • Click the copy icon to copy to clipboard

Color Picker

  • Use the color picker or enter a HEX value
  • All formats (RGB, HSL, CMYK) update automatically
  • Perfect for design work and CSS development

Lorem Ipsum Generator

  1. Choose type (paragraphs, sentences, or words)
  2. Set the count
  3. Optionally start with "Lorem ipsum dolor sit amet"
  4. Click "Generate" to create placeholder text
  5. Copy to clipboard for use in your designs

QR Code Generator

  1. Enter your content (URL, text, phone number, etc.)
  2. Choose size and error correction level
  3. Click "Generate QR Code"
  4. Download as PNG for use anywhere

๐ŸŽฏ Use Cases

  • Web Development - Format JSON APIs, convert timestamps, generate UUIDs
  • Content Writing - Count words and characters for content requirements
  • Security - Hash passwords securely with bcrypt
  • Design - Pick and convert colors between formats
  • Documentation - Preview markdown before publishing
  • Data Processing - Compare text differences, convert cases

๐Ÿ” Security Notes

  • Bcrypt Hasher - All hashing happens client-side in your browser
  • No Data Transmission - Nothing is sent to any server
  • Privacy First - Your data never leaves your machine
  • Recommended Rounds - Use 10-12 rounds for production password hashing

๐ŸŽจ Customization

Changing the Theme

Edit the CSS variables in styles.css:

:root {
    --primary: #6366f1;          /* Primary color */
    --secondary: #a855f7;        /* Secondary color */
    --bg-primary: #0f0f13;       /* Main background */
    --bg-secondary: #18181f;     /* Card background */
    --text-primary: #f8f9fa;     /* Primary text */
    /* ... more variables ... */
}

Adding New Tools

  1. Add navigation item in index.html
  2. Create tool container with unique ID
  3. Add tool object in app.js
  4. Initialize in DOMContentLoaded event if needed

๐Ÿ› Known Issues

None currently. Please report any issues you encounter!

๐Ÿค Contributing

Contributions are welcome! Since this is a simple vanilla JS project:

  1. Fork the repository
  2. Make your changes
  3. Test in multiple browsers
  4. Submit a pull request

๐Ÿ“ License

MIT License - Feel free to use this project for personal or commercial purposes.

๐Ÿ™ Acknowledgments

  • Marked.js - For excellent markdown parsing
  • bcrypt.js - For client-side bcrypt implementation
  • Google Fonts - For Lexend and JetBrains Mono fonts

๐Ÿ“ž Support

If you encounter any issues or have questions:

  • Check the browser console for errors
  • Ensure you have an active internet connection (for CDN resources)
  • Try a different browser
  • Clear your browser cache

๐Ÿšฆ Performance

DevKit is optimized for performance:

  • Lightweight - Total size < 100KB (excluding CDN resources)
  • Fast Loading - No build step, loads instantly
  • Efficient - Uses CSS animations and transitions for smooth 60fps performance
  • Memory Conscious - Cleans up resources and uses efficient algorithms

๐Ÿ”ฎ Future Enhancements

Potential features for future versions:

  • Hash calculator (MD5, SHA-256, etc.)
  • Image optimizer
  • RegEx tester
  • URL encoder/decoder
  • CSS beautifier
  • SQL formatter
  • YAML/TOML converter
  • Dark/Light theme toggle
  • Code syntax highlighter
  • HTML entity encoder/decoder

๐Ÿ“Š Version History

v1.0.0 (Current)

  • Initial release
  • 11 essential developer tools
  • Modern dark theme
  • Fully responsive design
  • Zero build configuration

Built with โค๏ธ using vanilla JavaScript, HTML, and CSS

No frameworks were harmed in the making of this application.

About

A chain of tools that is helpful in day-to-day software development life.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors