An open API service indexing awesome lists of open source software.

https://github.com/educlopez/airlume

A modern AI-powered tool to generate social media posts using smart presets, reusable prompts, and a streamlined interface.
https://github.com/educlopez/airlume

clerk hackathon motion nextjs supabase tailwindcss triggerdev

Last synced: about 1 month ago
JSON representation

A modern AI-powered tool to generate social media posts using smart presets, reusable prompts, and a streamlined interface.

Awesome Lists containing this project

README

          

# Airlume

A modern AI-powered tool to generate social media posts using smart presets, reusable prompts, and a streamlined interface.

![Airlume Screenshot](public/opengraph-image.jpg)

---

## ๐Ÿš€ Demo

**Live Demo:** [https://airlume.vercel.app/](https://airlume.vercel.app/)

---

## ๐Ÿ–ผ๏ธ Screenshots


Landing Gif


Landing Demo



Dashboard Demo


Dashboard



generator Demo


AI Generator



Scheduler Demo


Scheduler



Media Library Demo


Media Library

---

## โœจ Features

- **AI Content Generation:** Generate high-quality social media posts using OpenAI GPT models.
- **Smart Presets & Prompts:** Modular, reusable prompts for different content types and platforms.
- **User Dashboard:** Manage drafts, scheduled posts, and media assets in a streamlined interface.
- **Social Integrations:** Connect and publish directly to Twitter/X and Bluesky.
- **Media Library:** Store and manage images for your posts.
- **CRON Jobs:** Schedule posts to publish at specific times with trigger.dev.
- **Modern UI:** Built with Next.js App Router, Tailwind CSS v4, and Shadcn/UI for a beautiful, responsive experience.

---

## ๐Ÿ” Authentication with Clerk

Authentication and user management are handled by [Clerk.dev](https://clerk.dev/docs):

- **Sign Up & Sign In:** Secure, customizable authentication flows.
- **Session Management:** Persistent sessions across devices.
- **User Profiles:** Users can update their profile, email, password, and manage social connections via Clerk's UI.
- **Social Logins:** Easily connect Twitter/X and Bluesky accounts for seamless publishing.
- **Protected Routes:** All user-specific pages (dashboard, generator, media library, etc.) are protected using Clerk middleware.
- **API Security:** All API routes validate the user via Clerk before performing actions.

_Example:_

```tsx
import { ClerkProvider } from "@clerk/nextjs"

export default function RootLayout({ children }) {
return (

{/* ... */}
{children}

)
}
```

---

## ๐Ÿ› ๏ธ Tech Stack

- **Frontend:** Next.js (App Router), Tailwind CSS v4, Shadcn/UI
- **Backend:** Supabase (Edge Functions)
- **Authentication:** Clerk.dev
- **AI Integration:** OpenAI GPT models via Vercel AI SDK
- **CRON Jobs:** Trigger.dev
- **Package Manager:** pnpm

---

## ๐Ÿ“ฆ Real Project Structure

```
/
โ”œโ”€โ”€ public/
โ”‚ โ”œโ”€โ”€ images/
โ”‚ โ”‚ โ””โ”€โ”€ bg-stripe.png
โ”‚ โ””โ”€โ”€ opengraph-image.jpg
โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ app/
โ”‚ โ”‚ โ”œโ”€โ”€ [username]/
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ generator/
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ media-library/
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ posts/
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ settings/
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ layout.tsx
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ page.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ api/
โ”‚ โ”‚ โ”œโ”€โ”€ globals.css
โ”‚ โ”‚ โ”œโ”€โ”€ layout.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ page.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ robots.ts
โ”‚ โ”‚ โ””โ”€โ”€ sitemap.ts
โ”‚ โ”œโ”€โ”€ assets/
โ”‚ โ”‚ โ””โ”€โ”€ images/
โ”‚ โ”œโ”€โ”€ components/
โ”‚ โ”‚ โ”œโ”€โ”€ landing/
โ”‚ โ”‚ โ”œโ”€โ”€ icons/
โ”‚ โ”‚ โ”œโ”€โ”€ ui/
โ”‚ โ”‚ โ”œโ”€โ”€ app-sidebar.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ copyright.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ dashboard-greeting.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ dashboard-header-gradient.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ logo.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ nav-generations.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ nav-main.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ nav-user.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ site-header.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ theme-switcher.tsx
โ”‚ โ”‚ โ””โ”€โ”€ user-profile-dialog.tsx
โ”‚ โ”œโ”€โ”€ hooks/
โ”‚ โ”‚ โ””โ”€โ”€ use-mobile.ts
โ”‚ โ”œโ”€โ”€ lib/
โ”‚ โ”‚ โ”œโ”€โ”€ database.types.ts
โ”‚ โ”‚ โ”œโ”€โ”€ supabaseAdmin.ts
โ”‚ โ”‚ โ”œโ”€โ”€ supabaseClient.ts
โ”‚ โ”‚ โ””โ”€โ”€ utils.ts
โ”‚ โ”œโ”€โ”€ trigger/
โ”‚ โ”‚ โ”œโ”€โ”€ scheduledPost.ts
โ”‚ โ”‚ โ””โ”€โ”€ .gitkeep
โ”‚ โ”œโ”€โ”€ middleware.ts
โ”‚ โ””โ”€โ”€ trigger.ts
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ package.json
```

---

## ๐Ÿงช Development

- **Install dependencies:** `pnpm install`
- **Run dev server:** `pnpm dev`
- **Build:** `pnpm build`
- **Lint:** `pnpm lint`

---

## ๐Ÿ“ References

- [Supabase Documentation](https://supabase.com/docs)
- [Clerk Documentation](https://clerk.dev/docs)
- [Shadcn/UI Components](https://ui.shadcn.com/docs)
- [Vercel AI SDK](https://ai-sdk.dev/docs/)
- [OpenAI API Reference](https://platform.openai.com/docs)

---

## ๐Ÿ“„ License

Business Source License (see LICENSE file for details)