···11+MIT License
22+33+Copyright (c) 2023 Daniel Roe
44+55+Permission is hereby granted, free of charge, to any person obtaining a copy
66+of this software and associated documentation files (the "Software"), to deal
77+in the Software without restriction, including without limitation the rights
88+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99+copies of the Software, and to permit persons to whom the Software is
1010+furnished to do so, subject to the following conditions:
1111+1212+The above copyright notice and this permission notice shall be included in all
1313+copies or substantial portions of the Software.
1414+1515+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121+SOFTWARE.
···11+# firstcommit.is
22+33+> Find your first open-source commit on GitHub
44+55+<p align="center">
66+ <a href="https://firstcommit.is/" target="_blank">
77+ <img width="1090" alt="Screenshot of firstcommit.is showing @danielroe's first commit" src="https://github.com/danielroe/firstcommit.is/assets/28706372/0117c4e2-aa2f-482d-ac58-a7195e5c4902">
88+ </a>
99+</p>
1010+1111+- [👉 Check it out](https://firstcommit.is/)
1212+1313+## Features
1414+1515+- Built on [Nuxt](https://nuxt.com/)
1616+- [Nitro server API routes](https://nuxt.com/docs/guide/concepts/server-engine#server-engine)
1717+- [GitHub API](https://docs.github.com/en/rest) and [OAuth](https://docs.github.com/en/apps/oauth-apps)
1818+- [Cal Sans](https://github.com/calcom/font) font
1919+- [Tailwind CSS](https://tailwindcss.com/)
2020+- [nuxt-og-image](https://github.com/harlan-zw/nuxt-og-image), powered by [Satori](https://github.com/vercel/satori)
2121+- Deployed on [Vercel](http://vercel.com), using ISR with [route rules](https://nitro.unjs.io/guide/cache#route-rules) to persist images, HTML and API requests permanently to a global CDN.
2222+2323+## Try it out locally
2424+2525+You will need to generate a new GitHub token [here](https://github.com/settings/tokens), as well as an OAuth client secret and client ID [here](https://github.com/settings/developers).
2626+2727+```env
2828+NUXT_GITHUB_TOKEN=
2929+NUXT_GITHUB_CLIENT_SECRET=
3030+NUXT_GITHUB_CLIENT_ID=
3131+```
3232+3333+### Setup
3434+3535+```bash
3636+# install dependencies
3737+corepack enable
3838+pnpm install
3939+4040+# serve in dev mode, with hot reload at localhost:3000
4141+pnpm dev
4242+4343+# build for production
4444+pnpm build
4545+4646+# preview in production mode
4747+pnpm preview
4848+```
4949+5050+## Credits
5151+5252+Thanks to [**@beerose**](https://github.com/beerose) for the domain name suggestion!
5353+5454+## License
5555+5656+Made with ❤️
5757+5858+Published under [MIT License](./LICENCE).