stackernews / stacker.news

Internet communities that pay you Bitcoin
https://stacker.news
MIT License
403 stars 105 forks source link

make a homepage for the foss side of sn (sndev.team) #1056

Open huumn opened 2 months ago

huumn commented 2 months ago

This should be clientside-only hostable in a static way, e.g. with github pages.

It doesn't need to be too fancy, but it'd be nice if it showed off all the contributors, the rewards they've earned (using awards.csv), and made the README and other docs a little easier to navigate. Basically, it'd wrap all the stuff available on github, and aggregate it.

SouthKoreaLN commented 2 months ago

So if I understand well, it'd be writing a script that generates the index.html file to be hosted on github pages parsing the info contained in the current versions of awards.csv, README.md and the files inside the docs folder? And beautifying it all.

I'd like to assign this to myself, but it'll take some time to finish as I am doing this at night and am learning frontend on the fly. Anyone else, feel free to speak up if you feel like you're the more apt person for this.

SouthKoreaLN commented 2 months ago

As a first test, tried my hand at processing the awards.csv file. I parse the data using this tool <script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js"></script> then add up all rewards for each contributor and organize it in a table ranking by biggest earner first to give something like this...

Screenshot 2024-04-12 at 10 34 52 PM
SouthKoreaLN commented 2 months ago

Updated some progress as a draft: https://github.com/stackernews/stacker.news/pull/1058. Far from finished.