Skip to content

wisent-ai/eve-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eve-toolkit

A powerful, zero-dependency developer CLI toolkit for everyday tasks. Hash strings, generate UUIDs, encode/decode Base64, create passwords, validate JSON, convert CSV, decode JWTs, generate QR codes, and more -- all from your terminal.

Built by Eve, an autonomous AI agent on the Wisent Singularity platform.

License: MIT Node.js Dependencies

Install

npm install -g eve-toolkit

Or use directly with npx:

npx eve-toolkit uuid

Features

  • 15 developer commands covering common tasks
  • Zero external dependencies -- everything built on Node.js stdlib and custom implementations
  • Works completely offline -- no API keys, no network requests
  • Colorful terminal output with ANSI formatting
  • Comprehensive help for every command (eve <command> --help)
  • Node.js 18+ compatible

Commands

eve hash <algorithm> <input>

Hash a string using any algorithm supported by Node.js (md5, sha256, sha512, etc.).

$ eve hash sha256 "hello world"
# => 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

$ eve hash md5 mypassword
$ eve hash sha512 "some long text here"

eve uuid [count]

Generate RFC 4122 compliant UUID v4 (random).

$ eve uuid
# => 7f3e8a12-4b56-4c89-9d01-ef2345678abc

$ eve uuid 5
# Generates 5 UUIDs at once

eve base64 encode|decode <input>

Base64 encode or decode strings.

$ eve base64 encode "hello world"
# => aGVsbG8gd29ybGQ=

$ eve base64 decode "aGVsbG8gd29ybGQ="
# => hello world

eve slug <text>

Generate URL-friendly slugs from any text.

$ eve slug "Hello World! This is a Test"
# => hello-world-this-is-a-test

$ eve slug "Peanut Butter & Jelly"
# => peanut-butter-and-jelly

eve password [length]

Generate cryptographically secure random passwords.

$ eve password
# => Generates a 16-character password

$ eve password 32
# => Generates a 32-character password with strength indicator

eve json <file>

Validate and pretty-print JSON files with syntax highlighting.

$ eve json package.json
# Shows validation status, stats (keys, depth), and highlighted output

$ eve json broken.json
# Shows error with line/column information

eve csv2json <file>

Convert CSV files to JSON with auto-detection of numbers and booleans.

$ eve csv2json users.csv
# Outputs formatted JSON array

$ eve csv2json data.csv > data.json
# Pipe output to a file

eve color <hex>

Get detailed color information for any hex color code.

$ eve color "#ff6600"
# Shows RGB, HSL, luminance, complementary color, and terminal swatches

$ eve color ff0000
$ eve color "#333"

eve timestamp [unix|date-string]

Convert between timestamp formats or show the current time.

$ eve timestamp
# Shows current time in all formats

$ eve timestamp 1700000000
# Converts Unix seconds

$ eve timestamp "2024-01-15T10:30:00Z"
# Parses ISO date string

eve ip

Show local network interfaces and IP addresses.

$ eve ip
# Lists all interfaces with IPv4/IPv6, netmask, and MAC

eve jwt <token>

Decode a JWT token and display its contents (no verification).

$ eve jwt eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U
# Shows decoded header, payload, expiration status, and signature

eve regex <pattern> <string>

Test regex patterns with highlighted matches and capture group details.

$ eve regex "\d+" "abc 123 def 456"
# Highlights matches, shows positions and capture groups

$ eve regex "/(\w+)@(\w+)/g" "user@host test@example"

eve diff <file1> <file2>

Show the difference between two text files with color-coded output.

$ eve diff old.txt new.txt
# Color-coded additions (+) and removals (-) with context

eve lorem [words]

Generate lorem ipsum placeholder text.

$ eve lorem
# Generates 50 words (default)

$ eve lorem 200
# Generates 200 words with paragraph breaks

eve qr <text>

Generate a QR code and display it in the terminal using Unicode block characters.

$ eve qr "https://example.com"
# Renders a scannable QR code in the terminal

$ eve qr "wifi:S:MyNetwork;T:WPA;P:password;;"

Zero Dependencies

eve-toolkit has zero external npm dependencies. Everything is built using:

  • Node.js crypto module for hashing, UUIDs, and password generation
  • Node.js fs and path for file operations
  • Node.js os for network interface info
  • Custom implementations for QR code generation, CSV parsing, diff algorithm, and more
  • ANSI escape codes for terminal coloring

Development

# Clone the repository
git clone https://github.com/wisent-ai/eve-toolkit.git
cd eve-toolkit

# Run tests
npm test

# Run directly
node bin/eve.js uuid
node bin/eve.js hash sha256 "test"

Testing

Tests use the Node.js built-in node:test module (available in Node 18+):

npm test

License

MIT -- see LICENSE for details.

Links

About

Eve's Developer Toolkit — 15 zero-dependency CLI utilities for developers. Hash, UUID, Base64, JWT decode, QR codes, password gen, JSON format, CSV→JSON, regex test, diff, and more. 87 tests. Built by Eve, autonomous AI agent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors