mkitzmann / awwesome

Enhanced user interface for Awesome Selfhosted
https://awweso.me
BSD 3-Clause "New" or "Revised" License
245 stars 14 forks source link

Add more filters and sorting options to the list #20

Open jo-chemla opened 5 months ago

jo-chemla commented 5 months ago

Hey there,

First of all, really neat UI for the awesome-self-hosted data, impressive work! A welcome addition would be to add more filters/sort options on the list, like

An out-of-scope nice view could also be to show on a single page, the 3 most starred repos for each category, each on its own line.

mkitzmann commented 5 months ago

Hey @jo-chemla

Thank you for your suggestions! This would be great, I will go through each one seperately:

  1. Most popular repo: This somewhat ties into https://github.com/mkitzmann/awwesome/issues/8, as we would have to request the stars of each repo for the last month/year. Sadly github currently does not provide a star count per timeframe at the moment, so each star date would be requested and then accumulated. Probably is quite time consuming.
  2. filter by number of commits: This should be pretty straight forward since we already get the number of commits per month for the graph.
  3. filter by number of stars: Also pretty simple if only the total is used, otherwise more complex as in point 1.
  4. filter by number of maintainers: We are currently not getting this info, but should be part of the graphql schema.
  5. filter by languages: I had trouble with languages (as in Javascript, C++), as the GraphQL did not seem to provide this info
  6. filter by date of creation: That could be done, but we would need to create a range datepicker or find a suitable library
  7. Highlight 3 most starred repos: Do you think this would show any more information than the usual card or additional things?
jo-chemla commented 5 months ago

Hey, Thanks for getting back so quickly and the detailed reply!