Skip to main content
DEVELOPMENT 2025 Personal project

Code to Gist

A web app that lets developers convert code snippets into public or private GitHub Gists and share them with a single link.

Role
Full Stack Developer
Timeline
2025
Client
Personal project

Technologies

Next.js TypeScript Tailwind CSS GitHub API Prisma
Code to Gist web interface

Overview

Code to Gist simplifies the process of sharing code by turning any snippet into a GitHub Gist. Users can paste or upload code, choose visibility settings and instantly receive a shareable URL. The application is built with modern JAMstack tools to provide a fast, responsive experience.

Responsibilities

  • Designed and implemented the Next.js frontend using TypeScript and Tailwind CSS
  • Integrated GitHub OAuth for authentication and leveraged the GitHub API to create gists
  • Set up a Prisma backend to persist user preferences and gist metadata

Challenges

Handling GitHub API rate limits and ensuring secure storage of OAuth tokens.

Outcomes

Delivered a seamless tool that reduces the friction of sharing code. Users can create gists without leaving the browser and manage them through a simple dashboard.

Project Overview

Code to Gist is a personal project aimed at improving the developer workflow for sharing code. Instead of manually creating a gist on GitHub, users can paste their code into a web form, authenticate via GitHub OAuth, and have the app handle gist creation on their behalf. It’s especially handy for quickly sharing examples in chats or documentation.

Technical Implementation

  • Frontend: Next.js, TypeScript, Tailwind CSS
  • Backend: Prisma ORM with PostgreSQL for persistence
  • GitHub API integration: OAuth for authentication; GitHub REST API to create public or private gists and return the gist URL

Key Features

  • Paste or upload code snippets and convert them into GitHub Gists with one click
  • Choose between public or private gists and manage existing gists from a personal dashboard
  • OAuth authentication ensures users only grant the permissions necessary to create gists
  • Responsive design that works across desktop and mobile devices

Project Links