probonopd / irdb

One of the largest crowd-sourced, manufacturer-independent databases of infrared remote control codes on the web, and aspiring to become the most comprehensive and most accurate one
Other
851 stars 153 forks source link

irdb.tk is down #28

Closed bengtmartensson closed 3 years ago

bengtmartensson commented 4 years ago

... since a few days.

probonopd commented 4 years ago

Should be back again for now but I am looking for someone to take over maintenance and operations eventually.

bengtmartensson commented 3 years ago

Time again...

probonopd commented 3 years ago

The hosting company upgraded the operating system and as a result broke the service. I have contacted them.

benfoxall commented 3 years ago

Would it be possible to port irdb.tk to a static site and serve through github pages?

If the site source is available somewhere I could try and have a dig if you'd like.

probonopd commented 3 years ago

Well, the conversions the site offered will be hard to do using a static website. But @bengtmartensson's tools can do them. And the codes on the website can be rendered to various formats using @bengtmartensson's tools, too. Let me see how the hosting company responds.

benfoxall commented 3 years ago

Cool. Hopefully the hosting company responds soon.

Might be relevant; a while ago I managed to compile MakeHex to WebAssembly so it could be run within the browser. Maybe the same approach may work for @bengtmartensson's tools too?

bengtmartensson commented 3 years ago

a while ago I managed to compile MakeHex to WebAssembly so it could be run within the browser. Maybe the same approach may work for @bengtmartensson's tools too?

IrpTransmogrifier is written in Java. Once upon a time, Java was "made for" running inside of browsers, now things are different ;-\ I guess there "must" be some way to do it.

@probonopd : can you open a "Discussions" area?

probonopd commented 3 years ago

Opened.

bengtmartensson commented 3 years ago

Any news?

probonopd commented 3 years ago

Unfortunately they answered that they had to upgrade the server, which now seemingly comes with different versions of the dependencies. Which means that the code would have to be re-worked, which I don't have the time to. I think we should do somehting "more modern" anyway.

Nardol commented 3 years ago

@probonopd could it be envisaged to release the irdb.tk source code? Maybe some could help to modernize the code if it is the problem.

probonopd commented 3 years ago

Yes, it could be "envisaged". But I'd need to find the time to go through the source and clean it up. Volunteers?

Nardol commented 3 years ago

Why not... Which language and what about the database?

probonopd commented 3 years ago

Python, Java, and SQLite

Nardol commented 3 years ago

I do not wish to formulate any promise but sure I am interested in the project.

Which dependences are broken since the update? And what would be the new requirements?

probonopd commented 3 years ago

Well. The old site was a dynamic one, while I'd like to move to a static one hosted entirely on GitHub.

Nardol commented 3 years ago

OK, I did not understand the idea to keep it as a dynamic website was definitely excluded :slightly_smiling_face:

benfoxall commented 3 years ago

I've been working on a site that uses irdb that might be useful if migrating to irdb.tk to GitHub pages.

image

It's completely static, and the content is loaded directly from the jsdeliver endpoint. It has query-param based routing, so URLs work for linking.

To generate the timings, I'm using WebAssembly, but if more complex responses are needed, maybe something like AWS lambda would be an option instead? I'm not actually sure what content was served from irdb.tk!

I'd be happy to help out if this was the direction that you wanted to take with the site.

probonopd commented 3 years ago

Hello @benfoxall this sounds like a very interesting approach. Can you implement this using the codes from https://github.com/probonopd/irdb/ or would you need any changes in this repository?

benfoxall commented 3 years ago

Yep, it requests the codes directly from the repo via:

https://cdn.jsdelivr.net/gh/probonopd/irdb@master/codes/index

No changes would be needed.

probonopd commented 3 years ago

Closing because irdb.tk in its old form will not come back due to the maintenance overhead needed to keep a dynamic web service running with Python and Java. Let's open new tickets on how to e.g., render static pages for rendered codes if so desired.