Skip to content

Essential browser toolkit for developers. String transformations, number converters, calculator & math operations. 100% local, privacy-focused, open source.

Notifications You must be signed in to change notification settings

iHiteshAgrawal/DevToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DevToolkit ๐Ÿ› ๏ธ

The Essential Browser Extension for Developers

A beautiful, fast, and privacy-focused toolkit combining string transformations and number utilities. Everything you need for daily development work - right in your browser.

Version License Tests Size

โœจ Features

๐Ÿ”ค String Utilities (16 Transformations)

  • UPPERCASE - Convert to uppercase
  • lowercase - Convert to lowercase
  • Capitalize - First letter uppercase
  • Title Case - Capitalize each word
  • Reverse - Reverse text
  • camelCase - Convert to camelCase
  • snake_case - Convert to snake_case
  • kebab-case - Convert to kebab-case
  • Trim - Remove leading/trailing spaces
  • Remove Spaces - Remove all spaces
  • URL Encode - Encode for URLs
  • URL Decode - Decode URLs
  • Base64 Encode - Encode to Base64
  • Base64 Decode - Decode from Base64
  • Slugify - Create URL-friendly slugs
  • Remove Duplicates - Remove duplicate lines

๐Ÿ”ข Number Utilities

๐Ÿงฎ Calculator

  • Full-featured calculator with:
    • Basic operations (+, โˆ’, ร—, รท)
    • Percentage calculations
    • Decimal support
    • Clear and backspace functions
    • Live expression display (shows "2 + 3" before calculating)
    • Keyboard support - Type directly on your keyboard!
โŒจ๏ธ Calculator Keyboard Shortcuts
  • 0-9 - Number input
  • + - Addition
  • - - Subtraction
  • * - Multiplication
  • / - Division
  • . - Decimal point
  • % - Percentage
  • Enter or = - Calculate result
  • Backspace - Delete last digit
  • Escape or C - Clear calculator

๐Ÿ”„ Base Converters

  • Binary - Convert to/from binary
  • Octal - Convert to/from octal
  • Decimal - Standard base 10
  • Hexadecimal - Convert to/from hex
  • Auto-detection of input format (0b, 0o, 0x prefixes)

๐Ÿ“ Math Operations

  • Square Root - Calculate โˆšx
  • Square - Calculate xยฒ
  • Percentage - Calculate x% of y
  • Sum - Add comma-separated numbers

๐Ÿ“Š Real-time Analysis

  • Character count
  • Word count
  • Line count
  • Unique characters
  • Numbers count
  • Spaces count
  • Uppercase/lowercase count
  • Special characters count

๐Ÿ“ˆ Usage Statistics

  • Track daily operations
  • Total operations counter
  • Daily reset at midnight
  • Beautiful animated counters

๐Ÿš€ Installation

From Source (Development)

  1. Clone the repository:

    git clone https://github.com/iHiteshAgrawal/DevToolkit.git
    cd DevToolkit
  2. Load in Chrome:

    • Open Chrome and go to chrome://extensions/
    • Enable "Developer mode" (toggle in top right)
    • Click "Load unpacked"
    • Select the extension folder
  3. Start using:

    • Click the DevToolkit icon in your browser toolbar
    • Pin it for easy access

From Chrome Web Store (Coming Soon)

Extension will be published to Chrome Web Store soon!

๐Ÿงช Testing

DevToolkit includes comprehensive test suites:

Run All Tests

# Test string transformations (69 tests)
node tests/test-runner.js

# Test number utilities (70 tests)
node tests/test-number-utils.js

Test Coverage

  • โœ… 69 string transformation tests
  • โœ… 70 number utility tests
  • โœ… 138 total tests passing
  • โœ… 100% function coverage

๐Ÿ“ Project Structure

DevToolkit/
โ”œโ”€โ”€ extension/              # Chrome extension files
โ”‚   โ”œโ”€โ”€ manifest.json      # Extension configuration
โ”‚   โ”œโ”€โ”€ popup.html         # Main UI
โ”‚   โ”œโ”€โ”€ popup.css          # Styling
โ”‚   โ”œโ”€โ”€ popup.js           # UI logic & event handlers
โ”‚   โ”œโ”€โ”€ transformations.js # String transformation functions
โ”‚   โ”œโ”€โ”€ number-utils.js    # Number utility functions
โ”‚   โ””โ”€โ”€ icons/             # Extension icons
โ”œโ”€โ”€ tests/                 # Test suites
โ”‚   โ”œโ”€โ”€ test-runner.js     # String tests (CLI)
โ”‚   โ””โ”€โ”€ test-number-utils.js # Number tests (CLI)
โ”œโ”€โ”€ README.md              # This file
โ”œโ”€โ”€ PRIVACY_POLICY.md      # Privacy policy

๐ŸŽจ Design Philosophy

  • Beautiful - Gradient design inspired by modern UI/UX
  • Fast - All processing happens instantly in-browser
  • Private - Zero data collection, no external API calls
  • Lightweight - Under 100KB total size
  • Accessible - Keyboard shortcuts and screen reader support

๐Ÿ”’ Privacy & Security

  • โœ… 100% client-side - All processing in your browser
  • โœ… No data collection - We don't track anything
  • โœ… No external calls - No API requests
  • โœ… Open source - Inspect the code yourself
  • โœ… Minimal permissions - Only clipboardWrite and storage

๐ŸŽฏ Use Cases

For Developers

  • Convert variable naming conventions
  • Encode/decode URLs and Base64
  • Calculate percentages for CSS
  • Convert between number bases
  • Quick math operations

For Content Creators

  • Format text for different platforms
  • Count words/characters
  • Remove duplicate lines
  • Create URL-friendly slugs

For Everyone

  • Basic calculator
  • Text analysis
  • Copy/paste utilities
  • Number conversions

๐Ÿ› ๏ธ Technologies

  • Vanilla JavaScript - No frameworks
  • Chrome Extension API - Manifest V3
  • CSS3 - Modern gradients and animations
  • Node.js - For testing only

๐Ÿ“Š Statistics

  • Total Functions: 35+
  • String Transformations: 16
  • Number Operations: 19+
  • Test Cases: 138
  • Lines of Code: ~1,500
  • Bundle Size: <100KB

๐Ÿค Contributing

We welcome contributions! Here's how:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing)
  3. Make your changes
  4. Run tests (node tests/test-runner.js && node tests/test-number-utils.js)
  5. Commit (git commit -m 'Add amazing feature')
  6. Push (git push origin feature/amazing)
  7. Open a Pull Request

Development Setup

# Clone repo
git clone https://github.com/iHiteshAgrawal/DevToolkit.git
cd DevToolkit

# Run tests
node tests/test-runner.js
node tests/test-number-utils.js

# Load extension in Chrome
# 1. Go to chrome://extensions/
# 2. Enable Developer mode
# 3. Load unpacked โ†’ select 'extension' folder

๐Ÿ› Found a Bug?

Open an issue and we'll fix it!

๐Ÿ“ Changelog

v2.0.0 (Current)

  • โœจ Added number utilities tab
  • โœจ Added calculator
  • โœจ Added base converters (binary, octal, hex)
  • โœจ Added math operations (sqrt, square, percent, sum)
  • โœจ Moved copy button to better location
  • โœจ Added GitHub links in footer
  • โœจ Renamed to DevToolkit
  • โœจ 70 new tests for number utilities
  • ๐ŸŽจ Updated UI with tabs
  • ๐ŸŽจ New gradient theme for numbers tab

v1.0.0

  • Initial release as StringCraft
  • 16 string transformations
  • Real-time text analysis
  • Usage statistics
  • 69 comprehensive tests

โญ Support

If you find DevToolkit useful:

๐Ÿ‘จโ€๐Ÿ’ป Author

Hitesh Agrawal

๐Ÿ“„ License

MIT License - feel free to use in your projects!


Made with โค๏ธ by Hitesh Agrawal

๐Ÿ”’ No data collection โ€ข Open source โ€ข Privacy-focused

โญ Star โ€ข ๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature

About

Essential browser toolkit for developers. String transformations, number converters, calculator & math operations. 100% local, privacy-focused, open source.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published