What it does

Doveletter is an agent that turns your Instagram bookmarks into weekly AI-summarized newsletters Powered by Perplexity, delivered straight to your email. It leverages QStash for scheduling, Prisma/Postgres for data, Next.js for the web app, and integrates with Google Docs and Gmail for content delivery.

How we built it

Next.js (App Router, TypeScript) Prisma (PostgreSQL) NextAuth (Google OAuth) QStash (Upstash) for scheduling Nodemailer (Gmail API) Perplexity API (for summarization / deep research - Perplexity) Google Docs API (for exporting summaries) Tailwind CSS (UI) ShadCN React Query

Challenges we ran into

  1. Next and Background Tasks For a possible Vercel deployment, I struggled to implement recurring background jobs, Vercel’s serverless functions don’t support native cron or persistent processes. So I had to research and integrate external schedulers (e.g., Vercel Scheduled Functions, GitHub Actions, or Upstash QStash) just to run simple periodic tasks.

Accomplishments that we're proud of

I think a lot of it is tied to the challenges I ran into - I saw a post that originally inspired me to build this saying something along the lines of "this idea is too expensive that's the reason I stopped working on a similar idea" I was discouraged but I wanted to try it out myself, and I'm proud I did build a working prototype entirely on the Free Tier and If I win a prize in this hackathon, I will definitely use it to pilot this project! It can enable some really cool things for creators (I'll describe what that is in the "What's Next" section)

What we learned

Got more hands-on with my Auth setup by not opting for Supabase. Used that opportunity to learn lots about Session Management, Token Rotations, database strategies for authentication instead of using JWT's. I can't believe I thought about paying Supabase just to manage sessions on multiple devices when I can just do it with a Database strategy with Prisma adapters :p

Also scheduling repeated tasks on a next stack that will be scaled to zero, using cron jobs with the help of upstash/qstash. That was a fun one too, don't need a persistent backend after all.

What's next for Doveletter

Integrate other social media platform and those bookmarks.

Possible pivot: In the future this can be easily turned into Bookmark to Newsletters service for content creators and thought leaders on social media and various forums to spin up a low cost newsletter simply from your instagram bookmarks

Built With

  • css
  • exporting
  • for
  • next.js-(app-router
  • react
  • summaries)
  • tailwind
  • ui)
Share this project:

Updates