Welcome to Slanine, an advanced AI assistant designed to help you tackle daily problems and tasks with ease. Built with modern web technologies, Slanine leverages powerful AI capabilities to enhance your productivity and streamline your workflows.
🌟 Stars | 🍴 Forks | 🐛 Issues | 🔔 Open PRs | 🔕 Closed PRs | 🛠️ Languages | ✅ Contributors |
---|---|---|---|---|---|---|
- 🎬 What is Slanine?
- 🔢Github repository stats
- 🔑Features
- 🛠️Technologies Used
- 🔧Installation
- 💾Docker Setup
- 📋Prerequisites
- 💻Usage
- ✏️Author
- 📋This project is now OFFICIALLY accepted for
- ❤️Contributors
- 🤝contributing
- ⭐Stargazers
- 🔨Forkers
- 📜License
Slanine offers a variety of features to assist you in your daily tasks, including:
- Post Writing: Generate engaging and well-structured posts for blogs, social media, and more.
- Content Generation: Create high-quality content tailored to your needs.
- Code Review and Improvement: Automatically review your code, suggest improvements, and write code snippets.
- English Checker: Ensure your writing is grammatically correct and stylistically polished.
- Resume Optimization: Optimize your resume to stand out to potential employers.
- Cover Letter Generation: Craft personalized cover letters for job applications.
- And many more: Discover a wide range of tools designed to boost your productivity.
Slanine is built using the following technologies:
- Next.js: A powerful React framework for building fast and user-friendly web applications.
- PostgreSQL: A robust and reliable relational database system.
- Stripe: A comprehensive suite of APIs for handling payments and subscriptions.
- Drizzle ORM: A flexible ORM for TypeScript and Node.js.
- Gemini AI Flash 1.5: A state-of-the-art AI model for natural language processing and generation.
To get started with Slanine, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/slanine.git cd slanine
-
Install dependencies:
npm install
-
Set up the environment variables: Create a
.env
file in the root directory and add your configuration details:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_GOOGLE_GEMINI_API_KEY=
NEXT_PUBLIC_DRIZZLE_DB_URL=
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
-
Run the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
.
Here’s the README.md
written in MDN format:
This project provides a local development environment using Docker and Docker Compose for a Next.js app, PostgreSQL, and Redis.
Before you begin, ensure you have the following installed:
First, clone the repository and navigate into the project directory:
git clone https://github.com/yourusername/slanine.git
cd slanine
Create a .env.local
file in the root directory of the project. Add the following environment variables:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<your-clerk-publishable-key>
CLERK_SECRET_KEY=<your-clerk-secret-key>
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_GOOGLE_GEMINI_API_KEY=<your-google-api-key>
NEXT_PUBLIC_DRIZZLE_DB_URL=postgres://user:password@db:5432/mydatabase
UPSTASH_REDIS_REST_URL=<your-upstash-redis-url>
UPSTASH_REDIS_REST_TOKEN=<your-upstash-redis-token>
Ensure these values are updated according to your local or production environment setup.
To build and start the Docker containers, run:
docker-compose up --build
This command will:
- Build the Next.js app image.
- Set up a PostgreSQL database.
- Run both the app and database containers.
Once the containers are up and running, access the app and the database:
- App:
http://localhost:3000
- PostgreSQL:
localhost:5432
(you can access this with a database client, using the credentials defined in the .env.localNEXT_PUBLIC_DRIZZLE_DB_URL
)
To terminate the running containers, execute:
docker-compose down
This will gracefully stop and remove the containers.
To stop the running containers, execute:
docker-compose stop
This will gracefully stop the containers.
To start the stop containers, execute:
docker-compose start
This will gracefully start the stop containers.
This setup uses a Docker volume to persist PostgreSQL data. The postgres_data
volume ensures that the database data is retained between container restarts.
Explore the various features Slanine offers through its intuitive user interface. From generating content to optimizing your resume, Slanine is designed to provide seamless assistance for your daily tasks.
We welcome contributions to Slanine! If you have any ideas, suggestions, or improvements, please feel free to open an issue or submit a pull request.
Read the Contributor's guide carefully before proceeding
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or support, please contact Rakshit Sisodiya at [email protected].
Thank you for using Slanine! We hope it makes your daily tasks easier and more efficient.