A deployable markdown editor that connects with your self hosted files and lets you edit in a beautiful interface
at main 29 lines 916 B view raw
1# GitHub OAuth 2# Create OAuth App at: https://github.com/settings/developers 3# Callback URL: http://localhost:8080/auth/github/callback 4GITHUB_CLIENT_ID=your_github_oauth_client_id_here 5GITHUB_CLIENT_SECRET=your_github_oauth_client_secret_here 6 7# Session Security 8# Generate with: openssl rand -base64 32 9SESSION_SECRET=generate-a-random-32-character-string-here 10 11# Database 12DATABASE_PATH=./data/markedit.db 13 14# Git Cache 15GIT_CACHE_DIR=./data/repos 16 17# CORS (comma-separated allowed origins) 18CORS_ALLOWED_ORIGINS=http://localhost:4321,http://localhost:3000 19 20# Server 21PORT=8080 22 23# Production Notes: 24# For production deployment: 25# - Create separate GitHub OAuth app with production URLs 26# - Use HTTPS callback URL: https://yourdomain.com/auth/github/callback 27# - Generate strong SESSION_SECRET (32+ characters) 28# - Update CORS_ALLOWED_ORIGINS to your production domain 29# - Consider using environment-specific .env files