hubnedav / PrintABrick

Web catalogue of LEGO® parts for 3D printing
https://printabrick.org/
GNU General Public License v2.0
235 stars 81 forks source link

Attempting to revive site with low cost s3 AWS #12

Open AngusClayton opened 4 years ago

AngusClayton commented 4 years ago

Made a low cost version of site, yet to add upload function. As of rn, has 5000 bricks or something. link to site.

Made a print a brick API today (mainly to teach myself aws) It currently only has download, no upload as of yet.

Get File API:

https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/**model_no**

Get a list of all files: (json)

https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/list

Example:

NXT MOTOR: model id 53787 https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/53787

Door thingo: model id: 2400 https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/2400

by the way, if its slow its its because I throttled the rate to 1/second as i don't wan't to get billed if someone decides to screw with me.

Whats the point of this?

Mainly to teach myself, but was thinking of making a simple java-script front end. This API is AWS server less, so basically no maintenance, and low cost.

$3.50 for 1,000,000 API requests S3 storage is like 0.025/gb

AngusClayton commented 4 years ago

The issue here being: The site's dead. New to github so sorry if this is not the right place.

satsedom commented 4 years ago

Hi, Good job you are doing here. Noticed, that some data in json is not right:

"6192": "6192/zip.html" "u9318": "u9318/.DS_Store"

AngusClayton commented 4 years ago

Hi, Good job you are doing here. Noticed, that some data in json is not right:

"6192": "6192/zip.html" "u9318": "u9318/.DS_Store"

@satsedom Hi, sorry for late response. All fixed thanks.

satsedom commented 4 years ago

Hi, website is sleeping. API not available. Any plans to revive it?

AngusClayton commented 4 years ago

Hi, website is sleeping. API not available. Any plans to revive it?

No @satsedom. According to reddit turns out the reason this weant down was due to copyright issues with lego, and id rather not risk anything legal on a free project.

zoink1989 commented 4 years ago

Anyone got this up & running in a private env. ?

artifishvr commented 3 years ago

I'm up to running it, i'm just new to coding and such. If anyone wants to work with me on this feel free to DM me on discord. (artificialbutter#0001) Edit: I changed my tag

tt-404 commented 3 years ago

I'm up to running it, i'm just new to coding and such. If anyone wants to work with me on this feel free to DM me on discord. (artificialbutter#6769)

could find you on discord. Would be happy to hear from you -> Zoink1989#5193

artifishvr commented 3 years ago

Sent a friend request! I just changed my tag so that's why you couldn't find me.

alecat88 commented 3 years ago

@artificialbutter @tt-404 can you add me on discord too please? I'm running this project locally but some little issue prevent from starting the app, I'm so close. Discord: Guybrush#1399

edit: I've actually created a discord server, please join! https://discord.gg/gevc8upV

artifishvr commented 3 years ago

ok, i've ended up creating a fully setup discord server for anyone that wants to help revive this in any capacity. https://discord.gg/yNtrs9wRhH

rtgoodwin commented 2 years ago

This invite has long since expired; is the Discord still alive?

artifishvr commented 2 years ago

I handed the server over to hubnedav, so I don’t know. It didn’t really have anything going on in it when I left, but maybe someone can send a new link. On Apr 23, 2022, 9:36 AM -0700, Richard Goodwin @.***>, wrote:

This invite has long since expired; is the Discord still alive? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>