https://github.com/arunvelsriram/redaltsync
A web application that helps synchronize subreddit subscriptions between Reddit accounts.
https://github.com/arunvelsriram/redaltsync
cursorai reddit
Last synced: about 1 year ago
JSON representation
A web application that helps synchronize subreddit subscriptions between Reddit accounts.
- Host: GitHub
- URL: https://github.com/arunvelsriram/redaltsync
- Owner: arunvelsriram
- Created: 2025-04-10T20:31:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-20T14:58:55.000Z (about 1 year ago)
- Last Synced: 2025-04-20T15:44:05.371Z (about 1 year ago)
- Topics: cursorai, reddit
- Language: JavaScript
- Homepage: https://redaltsync.onrender.com
- Size: 3.44 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RedAltSync
A web application that helps synchronize subreddit subscriptions between Reddit accounts.
🛠️ Built with [Cursor AI](https://cursor.sh), guided by vibes!
## Features
- OAuth2 authentication with Reddit
- Subreddit subscription synchronization
- Health check endpoint
## Prerequisites
- Go 1.21 or later
- Reddit API credentials
## Setting Up Reddit API Credentials
1. Go to https://www.reddit.com/prefs/apps
2. Click "Create another app..." at the bottom
3. Fill in the following details:
- Name: RedAltSync
- Type: Web app
- Description: Sync subreddit subscriptions between Reddit accounts
- About URL: (your website URL or GitHub repo)
- Redirect URI: http://localhost:3000/auth/callback (for development)
4. Click "Create app"
5. Note your client ID (under the app name) and client secret
## Environment Variables
Create a `.env` file in the root directory with the following variables:
```
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_REDIRECT_URI=http://localhost:3000/auth/callback
```
## Installation
## Running the Application
To start the server, run:
```bash
go run main.go
```
To start the server with live reload, run:
```bash
go install github.com/air-verse/air@latest
air
```
The server will start on `http://localhost:3000`