DevPostGen is a comprehensive ecosystem designed for developers to effortlessly track their daily progress and transform their coding activity into engaging social media content. Whether it's a GitHub commit or a LeetCode problem solved, DevPostGen uses AI to help you build your personal brand with zero friction.
The project is split into three main components:
1. Backend (The Brain)
A robust Node.js & Express API that handles the heavy lifting.
- AI Integration: Powered by Google Gemini to analyze code changes and generate creative drafts.
- Authentication: Secure GitHub OAuth integration via Passport.js.
- Data Fetching: Custom services for real-time GitHub activity and LeetCode progression.
- Database: MongoDB for persistent storage of users and logs.
2. Frontend (The Hub)
A high-performance React 19 dashboard for managing your DevPostGen presence.
- Tech: Vite, Tailwind CSS 4, Radix UI, and Motion.
- Features: A sleek landing page, protected dashboard, and detailed activity tracking.
- UX: Premium dark-mode aesthetics with smooth micro-animations.
3. Extension (The Companion)
A Chrome Extension that lives in your browser for instant updates.
- Workflow: One-click sync of your latest work directly from the browser popup.
- Social Ready: Select items, choose your tone (Hype, Technical, Casual), and generate platform-optimized drafts for Twitter and LinkedIn.
- Persistence: Remembers your drafts even after closing the popup.
| Layer | Technologies |
|---|---|
| Frontend | React 19, Vite, Tailwind CSS 4, Motion, React Router 7 |
| Backend | Node.js, Express 5, MongoDB, Passport.js, Google Gemini AI |
| Extension | Manifest V3, React 19, Vite, Tailwind CSS 4, Chrome Storage API |
| Integrations | GitHub API, LeetCode API |
git clone https://github.com/yourusername/DevPostGen.git
cd DevPostGen- Go to the backend folder:
cd backend - Install dependencies:
npm install - Create a
.envfile withMONGO_URI,GITHUB_CLIENT_ID,GITHUB_CLIENT_SECRET,GEMINI_API_KEY, andSESSION_SECRET. - Start the server:
npm run dev(Runs on port 8002)
- Go to the frontend folder:
cd frontend - Install dependencies:
npm install - Start the dev server:
npm run dev(Runs on port 5173)
- Go to the extension folder:
cd extension - Install dependencies:
npm install - Build the project:
npm run build - Load the
distfolder into Chrome viachrome://extensions/(Enable Developer Mode -> Load Unpacked).
- Automated Logging: Stops the "what did I do today?" struggle by pulling data directly from your sources.
- Tone Personalization: Let the AI match your voice, from professional technical breakdowns to high-energy "hype" posts.
- Developer First: Built with a "dark-mode first" philosophy and a focus on speed and minimal friction.
- Cross-Platform: Write once, publish everywhere (Twitter, LinkedIn, and the DevPostGen Dashboard).
DevPostGen/
├── backend/ # Express API, AI logic, and Database models
├── frontend/ # Main web application dashboard
└── extension/ # Chrome Extension for quick-access drafting