
OpenGraph Image Generator for anuragroy.dev using @vercel/og and Vercel Edge functions.

Enter your custom values, copy the generated URL or download the generated image and use it wherever you want.
Tips on usage:
If you want to create your own OG Image generator from this repo, you can do so very easily:
Make sure you have the following installed before proceeding:
git clone https://github.com/anurag-roy/og.anuragroy.dev.git
npm install
npm run dev
This will start a local development server where you will be able to make changes to the code and preview them live.
pages/api/index.tsx.Here, you can edit the fonts used, parameters accepted by the API, look and feel of the image, etc. The Vercel docs have a lot of examples which should cover most use cases.
components/Main/index.tsx which contains the main form.To build the project and test the production build locally:
npm run build
npm start
This will start a local server with the final production build.
Currently this can only be deployed on Vercel's Edge platform due to the dependency on @vercel/og. But on the bright side, they have a very generous Hobby plan and extremely simple deployments.
[^1]: The app uses this Next.js plugin to maintain a WebSocket Server, which patches some files in node_modules. I have tried using pnpm but it does not work reliably. See other caveats here.
$ claude mcp add og.anuragroy.dev \
-- python -m otcore.mcp_server <graph>