I think having numbers for total repos/forges in the index and/or the number of repos/forges returned by a particular search would be helpful to add to starchart.
The main usecase for this would be to give users a some easy numbers to quote talk about when sharing the tool online or among friends, i.e. "starchart can search X repos across Y forges".
Total Repos/forges
this would mainly be a pulicity oriented thing that may be good to put on a homepage/splash page/about page to inform people of what marketing is.
It seems like the best way to accomplish this would be to do a COUNT over the database tables (or maybe some other more distributed way in case the DB gets REALLY big) and cache that somewhere in the database table every few hours/days/weeks/whatever is reasonable along with the "last recalculated" timestamp.
Repos/forges represented in a search
It also sounds like it might potentially be useful to return a count of repos/forges returned by a search. this number could be shown by starcharts own search tool as numbers visible between the search results and the search bar like google does:
This might also be useful to expose to third party search tools using the starchart API so they can provide similar functionality
I think having numbers for total repos/forges in the index and/or the number of repos/forges returned by a particular search would be helpful to add to starchart. The main usecase for this would be to give users a some easy numbers to quote talk about when sharing the tool online or among friends, i.e. "starchart can search X repos across Y forges".
Total Repos/forges this would mainly be a pulicity oriented thing that may be good to put on a homepage/splash page/about page to inform people of what marketing is. It seems like the best way to accomplish this would be to do a COUNT over the database tables (or maybe some other more distributed way in case the DB gets REALLY big) and cache that somewhere in the database table every few hours/days/weeks/whatever is reasonable along with the "last recalculated" timestamp.
Repos/forges represented in a search It also sounds like it might potentially be useful to return a count of repos/forges returned by a search. this number could be shown by starcharts own search tool as numbers visible between the search results and the search bar like google does:
This might also be useful to expose to third party search tools using the starchart API so they can provide similar functionality