DEV Community

Iñigo Etxaniz
Iñigo Etxaniz

Posted on

Introducing CurlDock: Simplify API Testing with Docker and Curl

Hey Dev.to community!

I'm excited to share CurlDock, a lightweight open-source tool I've been working on to simplify API testing and curl script management.

What is CurlDock?

CurlDock combines the power of curl with the convenience of Docker, offering a user-friendly interface for creating, editing, and executing curl commands. Built with Rust and React, it's designed for simplicity and ease of use.

Image description

Key Features

  • 🐳 Dockerized: Easy setup and consistent environments
  • 🖥️ User-Friendly Interface: Similar to Postman or Insomnia
  • 📁 Git-Friendly: Store scripts as .sh files for easy version control
  • 🔒 Network Isolation: Access endpoints within your Docker network

Quick Start

Getting started with CurlDock is as easy as running a Docker command:

docker run --name curldock --rm -e SCRIPTSFOLDER="/scripts" -v $(pwd)/scripts:/scripts -e PORT="2080" -p 2080:2080 inigoetxaniz/curldock
Enter fullscreen mode Exit fullscreen mode

Then, just open http://localhost:2080 in your browser!

Why CurlDock?

  • Simplicity: Focus on core functionality without unnecessary complexity
  • Local-First: Designed for local development environments
  • No Authentication: Reduced complexity for improved usability
  • Developer Control: You manage your own security measures

Try It Out!

I'd love for you to give CurlDock a spin and share your thoughts.

Check out the GitHub repository for more details!

Happy API testing! 🚀

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️