A NEXT JS app to generate OG images for Codinasion website.
-
Clone project
git clone https://github.com/codinasion/codinasion-og
cd codinasion-og/
-
Install packages
yarn
-
Setup Environment Variables
- Rename
.env.example
to.env
- Replace
GITHUB_TOKEN=your_personal_access_token
with your personal access token
- Rename
-
Start development server
yarn start
-
Open browser and navigate to http://localhost:3000/
-
https://codinasion-og.vercel.app/api?url=codinasion_site_url
-
https://codinasion-og.vercel.app/api?url=anything
-
https://codinasion-og.vercel.app/api
https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app
-
https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/programme
-
https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/programme/add-two-numbers
-
https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/dsa
-
https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/dsa/linear-search
|