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 |
---|---|---|---|---|---|---|
Slanine offers a variety of features to assist you in your daily tasks, including:
Slanine is built using the following technologies:
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:
Once the containers are up and running, access the app and the database:
http://localhost:3000
localhost:5432
(you can access this with a database client, using the credentials defined in the .env.local NEXT_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 sisodiarakshit456@gmail.com.
Thank you for using Slanine! We hope it makes your daily tasks easier and more efficient.