A simple proxy that fetches Reddit posts as JSON.
Once deployed, make requests like:
https://your-app-url.onrender.com/fetch?url=https://www.reddit.com/r/AZURE/comments/1g0mkwi/title_unexpected_50k_azure_bill_for_openai
The proxy will:
- Take your Reddit URL
- Append
.jsonto it - Fetch and return the JSON content
- Push this folder to a GitHub repo
- Go to render.com and sign up (no credit card needed)
- Click New → Web Service
- Connect your GitHub repo
- Render auto-detects Python. Verify these settings:
- Build Command:
pip install -r requirements.txt - Start Command:
gunicorn app:app(from Procfile)
- Build Command:
- Click Deploy
- Your proxy will be live at
https://your-app-name.onrender.com
- In your Render dashboard, go to your service → Settings
- Scroll to Custom Domains → Add your domain
- Update your DNS with the provided CNAME record
- Free SSL is automatic
pip install -r requirements.txt
python app.pyThen visit: http://localhost:5000/fetch?url=YOUR_REDDIT_URL
- Go to railway.app
- New Project → Deploy from GitHub
- Railway auto-detects and deploys
curl -L https://fly.io/install.sh | sh
fly launch
fly deploy