Turn your messy notes into polished, post-ready LinkedIn content with the power of AI. Built with Rails 7 + Gemini API for makers, founders, and anyone who struggles with “How do I start this post?”
- 📝 Paste your raw notes or half-baked ideas.
- 🎨 Choose a tone → Professional, Friendly, Witty, or Inspirational.
- 📏 Pick a length → Short, Medium, or Long.
- 🔖 Let AI sprinkle in relevant hashtags (optional).
- 📚 Save your drafts, refine later, and post with confidence.
- Ruby on Rails 7
- PostgreSQL (storage)
- Gemini API (AI magic ✨)
- dotenv-rails (safe secrets)
git clone https://github.com/your-username/linkedin-post-drafting-app.git
cd linkedin-post-drafting-appbundle installCreate a .env file in the project root:
env
GEMINI_API_KEY=your-gemini-api-key-here
DATABASE_URL=postgres://user:password@localhost:5432/linkedin_dev
⚠️ Never commit your API key to GitHub.
rails db:create db:migraterails server
Then open 👉 http://localhost:3000✍️ Drop in some quick notes:
"launched new feature, boosted user growth 30%"
🎭 Pick your vibe → Witty
📏 Choose length → Short
🔮 Hit Generate Draft
🎉 Boom → “We just hit a huge milestone…” (AI polishes it up).
app/models/post.rb → Notes + AI output storage
app/services/gemini_service.rb → The brain (calls Gemini API)
app/controllers/posts_controller.rb → The traffic cop 🚦
app/views/posts/ → Simple UI forms + results
- 🛠 Refactoring → Code works, but needs cleanup and optimization
- ⏳ Async generation with background jobs
- 🔴 Live-stream drafts via ActionCable
- 🔐 User accounts (multi-user)
- 📤 One-click publish to LinkedIn
- 🎨 Sleeker UI with TailwindCSS
- 📱 Mobile-friendly UI for on-the-go post drafting
- 🌐 Multi-language support (English, Japanese, more)
- ✍️ Rich text editor with formatting & emoji picker
- 📊 Post analytics dashboard (views, engagement, performance)
- 🤖 Smarter hashtag + keyword suggestions
- 🔔 Draft reminders & scheduling
- 🧑🤝🧑 Team collaboration (share + edit drafts together)
