A web server that serves static HTTP responses from text dumps, enabling API mocking and testing without a backend.
DeepfakeHTTP is a web server that serves static HTTP responses from text-based dump files, allowing developers to mock APIs and simulate backend behavior without running a real server. It solves the problem of frontend development being blocked by unavailable or incomplete backend services by providing a simple, configurable way to define request-response pairs. It supports REST, GraphQL, and other API styles, making it a versatile tool for testing and prototyping.
Frontend developers, QA engineers, and DevOps professionals who need to mock APIs for testing, create product demos without a backend, or simulate HTTP interactions for debugging and integration work.
Developers choose DeepfakeHTTP for its extreme simplicity—zero dependencies, no installation, and a single executable—combined with powerful features like OpenAPI support, dynamic JavaScript handlers, and live traffic collection. It offers a unique balance of being lightweight yet fully-featured for realistic API simulation.
DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
With a single JAR file and plain text dump files, you can start mocking APIs immediately without installation or complex setup, as emphasized in the 'no dependencies' and 'no configs' features.
Includes a self-hosted OpenAPI client for interactive documentation and testing, supporting the latest OpenAPI v3.0.3 specification to simulate realistic API behavior.
Supports JavaScript, CGI, and XGI handlers to programmatically generate responses or modify persistent data, enabling dynamic behavior beyond static dumps.
Features like live request/response collection and customizable logging allow detailed debugging and analysis of HTTP communications, as shown in the --collect and --max-log-body options.
Requires Java 15 or above, which can be a barrier for teams not using Java or in environments where installing Java is problematic, limiting cross-platform appeal.
Managing API mocks through text dump files can become cumbersome for large or complex APIs, lacking the visual editors and automation found in tools like Postman or MockService.
Primarily designed for static responses, so it's less suited for scenarios needing continuous data updates or complex real-time interactions, despite dynamic handlers.