https://github.com/jsulpis/github-insights
Insights into a GitHub profile.
https://github.com/jsulpis/github-insights
nextjs webapp
Last synced: about 2 months ago
JSON representation
Insights into a GitHub profile.
- Host: GitHub
- URL: https://github.com/jsulpis/github-insights
- Owner: jsulpis
- License: mit
- Created: 2019-10-01T11:06:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T05:28:42.000Z (over 3 years ago)
- Last Synced: 2025-05-07T06:56:32.184Z (about 1 year ago)
- Topics: nextjs, webapp
- Language: TypeScript
- Homepage: https://github-insights.vercel.app
- Size: 1.57 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GitHub Insights
Insights into a GitHub profile
## Installation
Clone the repository and install the dependencies:
```shell
git clone https://github.com/jsulpis/github-insights.git && cd github-insights && npm i
```
## Usage
### Setup
You will need a GitHub OAuth token to query the GraphQL endpoint. See the [documentation](https://developer.github.com/v4/guides/forming-calls/#authenticating-with-graphql) for more details. Then put your token in the GITHUB_API_TOKEN variable in a .env file.
### Development
Serve with hot reload at localhost:3000
```
npm run dev
```
### Build
Build for production: next.js automatically generates a mix of static HTML pages when possible, and lambda functions for server-side rendered pages. This is supported out-of-the-box by Vercel.
```
npm run build
```
Serve the production build with SSR:
```
npm start
```
See package.json for other scripts.
## License
Released under the [MIT](https://github.com/jsulpis/github-insights/blob/master/LICENSE) license.