Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

codinasion-archive/codinasion-og

Repository files navigation

Codinasion OG

Dynamic OG image generator for Codinasion

License Github Repo Size Github Contributors Github Last Commit

rainbow hr

📝 Table of Contents

rainbow hr

🧐 About

A NEXT JS app to generate OG images for Codinasion website.

rainbow hr

🏁 Getting Started

  • 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
  • Start development server

    yarn start
    
  • Open browser and navigate to http://localhost:3000/

rainbow hr

✨ Generate OG

  • Basic Structure

    https://codinasion-og.vercel.app/api?url=codinasion_site_url
  • Default OG

    https://codinasion-og.vercel.app/api?url=anything

    default og

  • Homepage OG

    https://codinasion-og.vercel.app/api
    https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app

    homepage og

  • Programme Homepage OG

    https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/programme

    programme homepage og

  • Programme OG

    https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/programme/add-two-numbers

    programme og

  • DSA Homepage OG

    https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/dsa

    dsa homepage og

  • DSA OG

    https://codinasion-og.vercel.app/api?url=https://codinasion.vercel.app/dsa/linear-search

    dsa og

rainbow hr

🚀 Deployment

Deploy with Vercel

rainbow hr

⛏️ Built Using

rainbow hr

🔗 Reference

rainbow hr

Thanks for contributing 💜

  • Thanks for all your contributions and efforts
  • We thank you being part of our ✨ commUnity ✨ !
rainbow hr