Skip to content

farhaandev/devsnips

Repository files navigation

DevSnips

DevSnips is a small collection of fast, ad-free developer utilities – focused on everyday tasks around JSON, regex, JWT, strings, cron, and hashing.

Built with Next.js, TypeScript and Tailwind CSS.

✨ Features

JSON Snip – JSON Formatter & TS Types

  • Paste JSON and get clean, pretty‑printed output.
  • Basic TypeScript interface generation from JSON structure.
  • One‑click copy for formatted JSON and TS types.
  • Download formatted.json file.
  • Dark, focused editor UI inspired by code tools.

Regex Snip – Regex Tester

  • Test JavaScript‑style regular expressions with flags.
  • Paste multi‑line text; matching lines are listed separately.
  • One‑click copy of all matching lines.
  • Minimal, distraction‑free regex playground.

JWT Snip – JWT Decoder

  • Decode JWT header and payload in your browser.
  • Signature is shown separately (no verification performed).
  • One‑click copy for header and payload JSON.
  • Clear warning to only use non‑secret / dev tokens.

String Snip – Encoder & Decoder

  • Base64 encode and decode instantly.
  • URL encode and decode for query parameters.
  • HTML entities escape and unescape.

Cron Snip – Cron Expression Builder

  • Translate cron expressions into human-readable text.
  • View the next 5 execution dates based on your local timezone.
  • Quick preset buttons for common schedules.

Hash Snip – Generator

  • Generate MD5, SHA-1, SHA-256, and SHA-512 hashes instantly.
  • Quick single-click UUID v4 generator.
  • All cryptography runs locally in your browser.

🧱 Tech Stack

  • Next.js (App Router)
  • TypeScript
  • Tailwind CSS + shadcn/ui
  • lucide‑react icons
  • sonner for toasts

🔗 Live

🚧 Roadmap

Planned next:

  • Smarter TypeScript generator for nested objects & arrays.
  • JSON minify + JSON ⇄ YAML / CSV helpers.
  • Regex presets (email, URL, hex color, username).
  • JWT claim helpers (human readable exp / iat).

🤝 Contributing

Right now this is a small personal project.
Bug reports, ideas and feedback are welcome via issues or X: @farhaanmalik.

About

A small collection of fast, ad-free developer utilities – focused on everyday tasks around JSON, regex, JWT, strings, cron, and hashing.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages