Skip to content

zehedisodef1-oss/devvault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

devvault

πŸ› οΈ DevVault

Swiss-army knife CLI for developers β€” 10+ essential tools in one command

Python License: MIT PRs Welcome

Stop juggling a dozen browser tabs. DevVault puts the tools you use every day right in your terminal.


✨ Features

Tool Command Description
πŸ“‹ JSON Formatter dv json format Beautify JSON with syntax highlighting
πŸ“¦ JSON Minifier dv json minify Minify JSON to a single line
πŸ” Base64 Encode dv base64 encode Encode text to Base64
πŸ”“ Base64 Decode dv base64 decode Decode Base64 to text
πŸ”‘ Hash Generator dv hash "hello" MD5, SHA1, SHA256 in one shot
πŸ†” UUID Generator dv uuid Generate UUID v4
⏱️ Timestamp dv timestamp Convert Unix timestamps & get current time
πŸ“ Lorem Ipsum dv lorem 10 Generate placeholder text
🎨 Color Converter dv color #FF5733 Convert HEX ↔ RGB ↔ HSL
πŸ“± QR Code dv qr "Hello World" Generate QR codes in terminal or PNG
πŸ”’ Password Gen dv password -l 20 Generate secure random passwords

πŸš€ Installation

git clone https://github.com/zehedisode/devvault.git
cd devvault
pip install -e .

Or install directly:

pip install .

πŸ“– Usage

JSON Tools

# Format/beautify JSON
echo '{"name":"devvault","version":"1.0"}' | dv json format

# Or pass directly
dv json format '{"name":"devvault","version":"1.0"}'

# Minify JSON
dv json minify '{"name": "devvault", "version": "1.0"}'

Base64

# Encode
echo "Hello, World!" | dv base64 encode
dv base64 encode "Hello, World!"

# Decode
dv base64 decode "SGVsbG8sIFdvcmxkIQ=="

Hash Generator

# Hash any text
dv hash "password123"

# Pipe support
echo "secret" | dv hash

Output:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          Hashes for: password123                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Algorithm β”‚ Hash                                β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ MD5       β”‚ 482c811da5d5b4bc6d497ffa98491e38    β”‚
β”‚ SHA1      β”‚ cbfdac6008f9cab4083784cbd1874f7661... β”‚
β”‚ SHA256    β”‚ ef92b778bafe771e89245b89ecbc08a44a... β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

UUID Generator

# Single UUID
dv uuid

# Multiple UUIDs
dv uuid -n 5

Timestamp

# Current Unix timestamp
dv timestamp

# Convert timestamp to readable date
dv timestamp 1700000000

Lorem Ipsum

# 5 words (default)
dv lorem

# Custom word count
dv lorem 15

Color Converter

dv color #FF5733
dv color 00FF00

Output:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     Color #FF5733        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Format   β”‚ Value         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ HEX      β”‚ #FF5733       β”‚
β”‚ RGB      β”‚ rgb(255,87,51)β”‚
β”‚ HSL      β”‚ hsl(11,100%,60%) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

QR Code

# Terminal QR code
dv qr "https://github.com/zehedisode/devvault"

# Save as PNG
dv qr "Hello World" -o qr.png

# Pipe support
echo "https://example.com" | dv qr

Password Generator

# 16-character password (default)
dv password

# Custom length
dv password -l 24

# Without symbols
dv password --no-symbols

πŸ”§ Pipe Support

Every tool supports Unix pipes for chaining:

# Fetch and format JSON
curl -s https://api.github.com/users/octocat | dv json format

# Hash a file's contents
cat config.yml | dv hash

# Encode a file
cat secret.txt | dv base64 encode

🀝 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-tool)
  3. Commit your changes (git commit -m 'Add amazing tool')
  4. Push to the branch (git push origin feature/amazing-tool)
  5. Open a Pull Request

Ideas for new tools

  • URL encode/decode
  • JWT decode
  • Regex tester
  • Markdown preview
  • CSS color names
  • Slug generator

πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


Made with ❀️ by zehedisode

About

πŸ› οΈ 10+ dev tools in one CLI - JSON formatter, Base64, QR code, password gen, hash, color converter & more

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages