I will briefly explain some potentially confusing parts:
storage.py: This is a custom client for jsonstore.io 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 repl.it doesn't let you save files when running in project mode so this allows for persistence.
client.py: 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.
@sanjaykdragon Thanks :). Not sure what auth means, but I'm trying to create save files linked to accounts. Will PHP work? I know a bit of php and sql but I'm more comfortable w/ php
@nt998302 PHP goes hand-in-hand with MySQL. MySQL is just a storage for whatever the PHP puts there and when PHP needs the info/data again it asks for it from the MySQL.
Image Hosting Service on Repl.it!
This is a fairly simple yet over-complicated image hosting service.
Located at: https://img.marcusweinberger.repl.co (web interface)
Here's an example: https://img.marcusweinberger.repl.co/download/0b8a
it can also be used from the command line! (untested)
I will briefly explain some potentially confusing parts:
storage.py: This is a custom client for jsonstore.io 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 repl.it doesn't let you save files when running in project mode so this allows for persistence.
client.py: 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.
(sorry for being random) Do you know PHP? If so, I need help making a login/register system. I don't know how to save credentials in jsonstore.io
@JordanDixon1 This is pretty cool btw.
@JordanDixon1 sorry I know no PHP whatsoever lol
@MarcusWeinberger That's ok. Thanks anyway!
Wait... Do you know how to do this with html? ._.
@JordanDixon1 I used to do allot of php send me an invite and ill help out
@JordanDixon1 Though just plain html would work better
@Haaruun Ok, I actually deleted the file so we're gonna have to start from scratch.
@JordanDixon1 Do you know what coding language I should use to store info in databases for c++
@nt998302 I do not
@nt998302 use PHP and MYSQL if you are doing auth
@sanjaykdragon I don't know any MySQL at all. And repl.it doesn't support that unless it is a remote one.
@sanjaykdragon Thanks :). Not sure what auth means, but I'm trying to create save files linked to accounts. Will PHP work? I know a bit of php and sql but I'm more comfortable w/ php
@nt998302 PHP goes hand-in-hand with MySQL. MySQL is just a storage for whatever the PHP puts there and when PHP needs the info/data again it asks for it from the MySQL.
@JordanDixon1 Okay, thanks! :)