aviwad / librehunt

GNU General Public License v3.0
12 stars 5 forks source link

Easier contributions for distros #16

Open rugk opened 5 years ago

rugk commented 5 years ago

If I want to fix about a distro, it seems I have to dig into this file: librehunt.js

Then all I see is just a big file with binary options in an array. I have no idea what aligns to which option, what I have to change to check it etc. (sorry, but here are really some code quality improvements, needed)

Please ease contributions! This needs some contributing doc, and preferably a different format (JSON?). And explanations for each option.

aviwad commented 5 years ago

About this. LibreHunt was originally server side python code, which was admittedly less clumsy and uglier than this shitstorm of a code. Originally, I just wanted to convert my server side website to github based in a day, hence the crappy coding. I'll certainly look into making the code more readable, efficient, and clean (also documentation)

aviwad commented 5 years ago

25 for using JSON, and I am currently working on changing the last two lines of librehunt.js that add all the html to be on separate lines and include comments too!

aviwad commented 5 years ago

all that's left for this issue is some contributing guide or something, which i'll work on in a few days