This is a Next.js app that uses Apollo to query GitHub's GraphQL API to search for users and organizations. See it in action here.
Queries to the GitHub API are currently handled with a Personal Access Token with the minimum permissions required to access information about users and organizations returned from search queries.
While Next.js has some very useful server-side generation abilities, this app does not use them. Queries to the GitHub API are instead made client-side. The primary reason for this approach is that there are 72,800,732 possible results (as of writing), and I do not wish to statically render that many pages. Nor do I wish to have a Next.js app running on a server to render pages as requested, as this app is meant to be deployed to a static host like Netlify.
A user's details can be viewed at /user/:username
, which is linked to from the individual search results.
Contribution history queries cannot exceed a year's worth of time, so only the latest year is currently displayed. I may update this to simply query every possible year separately, but it's not so terribly important right now.