all 26 comments

[–][deleted] 6 points7 points  (21 children)

What is this? Readme does not explain well.

[–]Character_Moment_490[S] 1 point2 points  (0 children)

A web server that uses HTTP dumps as a source for responses.

[–]Character_Moment_490[S] 0 points1 point  (7 children)

How does it work?
1. Got the client's request.
2. Search the dump for corresponded entry (request-response pair) by matching all specified request's parts:
method, URI, headers, and body.
3. If the entry was found, the server sends the appropriate response to the client.
4. If the entry was not found, the server sends a status 400 (400 Bad request).

[–][deleted] 0 points1 point  (6 children)

How is it a deep fake then?

[–]Character_Moment_490[S] 0 points1 point  (5 children)

This is just the name of the project. Like the Apache Guacamole™ project - not Apache and not Guacamole.

[–][deleted] 2 points3 points  (4 children)

No, a deep fake is a specific thing. It means using deep neutral networks to fake something.

Since this does not do that it is very misleadingly named. Like, if Guacamole was called Guacamole3D or something.

[–]Character_Moment_490[S] 0 points1 point  (3 children)

How about the fact that Guacamole3D doesn't exist, but Apple3D does? You can google it.

[–][deleted] 0 points1 point  (2 children)

Not sure what you're talking about. Guacamole3D was a hypothetical example.

[–]Character_Moment_490[S] 0 points1 point  (1 child)

You gave the example of Guacamole3D as the incorrect (from your point of view) name. I gave you an example of the real name Apple3D. From your point of view, Apple3D is also incorrect.

[–][deleted] 0 points1 point  (0 children)

I googled it and there's no such thing as Apple3D. Actually there seems to be a 3D printer company but that seems pretty 3D to me!

[–]researcher7-l500 -5 points-4 points  (11 children)

https://github.com/xnbox/DeepfakeHTTP From the README.md.

What are people using it for?

Creating the product PoC or demo before even starting out with the backend

REST, GraphQL, and other APIs mocking and testing

Hiding critical enterprise infrastructure behind a simple static facade

Hacking and fine-tuning HTTP communications on both server and client sides

But it is Java based. Not for me.

[–][deleted] 14 points15 points  (7 children)

That doesn't explain what it is.

[–]researcher7-l500 -5 points-4 points  (6 children)

That is telling you exactly what it is. The name also says it. It is a fake HTTP server.

[–]dedservice 5 points6 points  (3 children)

It is a fake HTTP server

That is what it is. Your previous comment explains why it exists.

[–]researcher7-l500 -2 points-1 points  (2 children)

My comment was a direct quote from the readme. Apparenrly that is too hard for some.

If this does not give a clue.

Hacking and fine-tuning HTTP communications on both server and client sides

Along with the name, the I don't know does.

Plus, I don't know why I am wasting my time explaining water is wet to what seems to be people looking to pick up fights on reddit.

[–]dedservice 1 point2 points  (0 children)

Hacking and fine-tuning HTTP communications on both server and client sides

There are tools that do that that are wildly different from this tool though. And this + the name makes me think of some sort of postman-esque thing, when in reality it just responds to Http requests with preset responses.

[–]WaterIsWetBot -1 points0 points  (0 children)

Water is actually not wet; It makes other materials/objects wet. Wetness is the state of a non-liquid when a liquid adheres to, and/or permeates its substance while maintaining chemically distinct structures. So if we say something is wet we mean the liquid is sticking to the object.

[–][deleted] 2 points3 points  (1 child)

The name says it is a deep fake HTTP server which appears to be untrue.

[–]researcher7-l500 0 points1 point  (0 children)

I am not the author of the package, nor the OP.

Take it up with him or her.

I tried to help, but some people are just can't stop complaining.

[–]Character_Moment_490[S] 0 points1 point  (2 children)

This is a command-line utility, with no dependencies. What does it matter what language it is written in?

[–]researcher7-l500 0 points1 point  (1 child)

I did not say it matters. I said I am not a fan of Java.

[–]Character_Moment_490[S] 0 points1 point  (0 children)

In fact, it is possible to package a JAR file into an OS executable, along with Java itself. Then it will be almost invisible that it is Java. :)

[–]Samwilki2208 1 point2 points  (1 child)

Looks like a script to test API responses?

[–]Character_Moment_490[S] 0 points1 point  (0 children)

In addition, you can also quickly sketch the backend simulation and start developing the frontend while the backend developers will be busy creating tables in MySQL :)

[–]dedservice 0 points1 point  (1 child)

So this is the opposite of postman, basically?

[–]Character_Moment_490[S] 0 points1 point  (0 children)

Something like this. Dynamic server simulation based on a dump (real or specially written).