A beautiful, minimal markdown editor backed by GitHub Gists. Write, share, and edit markdown documents with a clean interface and the power of GitHub's gist platform.
fancygist.com/@username/gist-id: to search and insert emoji shortcodesCtrl/Cmd+S to save, Ctrl/Cmd+N for new.Clone the repository
git clone https://github.com/yourusername/fancygist.git
cd fancygist
Install dependencies
npm install
Create a GitHub OAuth App
FancyGist (or your preferred name)http://localhost:8888 (for development)http://localhost:8888/.netlify/functions/auth-callbackConfigure environment variables
cp .env.example .env
Edit .env and add your GitHub OAuth credentials:
VITE_GITHUB_CLIENT_ID=your_client_id_here
GITHUB_CLIENT_SECRET=your_client_secret_here
Run the development server
npm run dev
Or with Netlify CLI for full API support:
npm install -g netlify-cli
netlify dev
Open your browser
Navigate to http://localhost:8888 (Netlify) or http://localhost:5173 (Vite only)
Install Netlify CLI
npm install -g netlify-cli
Login to Netlify
netlify login
Deploy
netlify deploy
For production:
netlify deploy --prod
Configure environment variables in Netlify dashboard:
VITE_GITHUB_CLIENT_IDGITHUB_CLIENT_SECRETUpdate GitHub OAuth App
https://your-site.netlify.apphttps://your-site.netlify.app/.netlify/functions/auth-callbacknetlify.tomlfancygist/
├── netlify/
│ └── functions/ # Netlify serverless functions
│ ├── auth-*.js # GitHub OAuth handlers
│ └── gist*.js # Gist CRUD operations
├── src/
│ ├── components/ # React components
│ ├── contexts/ # React contexts (Auth)
│ ├── hooks/ # Custom React hooks
│ ├── pages/ # Page components
│ ├── types/ # TypeScript types
│ └── utils/ # Utility functions
└── public/ # Static assets
Contributions are welcome: