Image Hosting Service on!
MarcusWeinberger (774)

This is a fairly simple yet over-complicated image hosting service.

Located at: (web interface)

Here's an example:

it can also be used from the command line! (untested)

curl -F ‘[email protected]/to/local/file’

I will briefly explain some potentially confusing parts: This is a custom client for that I wrote, it lets you store large amounts of data easily, if you want, you can copy it and use it in your own projects. The reason I needs to use this is because doesn't let you save files when running in project mode so this allows for persistence. This is a simple client I wrote for my own service while testing

form.html: This is a very, very simple web page that allows the user to upload an image. It contains a special variable that tells the server to redirect the user to the URL that the image is located at, because from the terminal you just want it to return the URL, and not the data. It is served as the index of the page.

You are viewing a single comment. View All
AphixDev (217)

This is a great program. There are a lot of bugs and errors, but that's how you get better. Keep up the great work!

MarcusWeinberger (774)

@nt998302 thank you, I'm actually planning on scrapping it completely and rebuilding it from scratch, hopefully much, much better. What sorta bugs have you come across?

AphixDev (217)

@MarcusWeinberger Yesterday, the program didn't run, but I see that you fixed that. When I tried it today, it couldn't access the image that I chose and said that the file could not be found.

MarcusWeinberger (774)

@nt998302 oh it's possible a change I made affecting how often images were saved did that. After posting this here I realised that the way I did things really doesn't work well so don't rely on this project, I'm rewriting it though to be better