Freshair is an open-source property management platform that helps Airbnb hosts take control of their rental business. Import your Airbnb listings, connect directly with guests, and manage your properties—all while keeping your data yours.
- 🏠 One-Click Airbnb Import: Seamlessly import your existing Airbnb listings
- 💬 Direct Guest Communication: Connect with guests without platform restrictions
- 🔄 Real-Time Sync: Keep your listing information up to date automatically
- 📊 Custom Dashboard: Track performance, bookings, and guest interactions
- 🎨 Self-Hostable: Deploy on your own infrastructure and customize as needed
- 💰 Fee-Free Bookings: Accept direct bookings without platform fees
- Bun 1.1.34 or later
- PostgreSQL 15.x or later
- Clerk account for authentication
- Postmark account for email notifications
- Mapbox account for location features
Create a .env
file in the root directory with the following variables:
# App
VERCEL_URL=localhost:3000
WEBHOOK_SECRET=your_webhook_secret
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/freshair
# Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
# Email
POSTMARK_API_TOKEN=your_postmark_api_token
FROM_EMAIL=your_from_email
# Maps
NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token
- Clone the repository:
git clone https://github.com/bjornpagen/freshair.git
cd freshair
- Install dependencies:
bun install
- Set up the database:
bun drizzle-kit push
- Start the development server:
bun dev
Visit http://localhost:3000
to see the application.
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Authentication: Clerk
- Database: PostgreSQL with Drizzle ORM
- Styling: Tailwind CSS
- Components: shadcn/ui
- Maps: Mapbox GL
- Email: Postmark
- Deployment: Vercel
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the BSD Zero Clause License (0BSD) - see the LICENSE file for details.