This is the repository for CalendAI, a Next.js application that helps you manage your social media content creation and scheduling with the power of AI.
- Smart Scheduling: Optimize your posting times based on historical data and audience engagement.
- AI-Powered Content Creation: Generate captivating titles, content, and images for your posts.
- Tag Recommendation: Identify relevant hashtags to expand your reach and attract new followers.
Before you run the application, follow these steps to configure it:
-
Create a
.env.localfile:Create a file named
.env.localin the root directory of the project. This file will store your environment variables. You can find a template.env.local.examplefile for reference. Make sure to update it with your own values for variables like database connection details and API keys. Review the.env.examplefile for the required environment variables. -
Install dependencies:
Open your terminal in the project directory and run the following command:
npm install
This will install all the necessary dependencies for the application to run.
-
Run migrations:
Next.js uses migrations to manage your database schema. To apply any pending migrations, run the following command:
npm run migration:run
-
Start the development server:
Once you've completed the previous steps, you can start the development server to run the application locally:
npm run dev
This will start the server and open your default browser at
http://localhost:3000/.
- Next.js: React framework for server-rendered and statically generated web applications.
- Vercel AI SDK: Provides functions for AI-powered content generation and refinement.
- (Database Name - replace with the specific database technology used)
We welcome contributions to CalendAI! Please see the CONTRIBUTING.md file for guidelines on how to contribute.
This project is licensed under the MIT License. See the LICENSE file for details.