One-click code sharing: Instantly share code
Features • Demo • Installation • Usage • Configuration • Contributing • License • Contact •
CodeShare is a web-based platform built using Django and Together AI, utilizing "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo" for AI-powered code analysis. The platform allows users to share code with a single click, making it accessible to anyone worldwide. While there is no login requirement for viewing and analyzing code, a password is required for code submission to prevent unwanted usage
- One-click code sharing: Instantly share code
- AI-powered analysis: Get insights, explanations, and optimizations using Llama AI.
- No login required: View and analyze shared code without signing up.
- Responsive UI: Works seamlessly on desktop and mobile devices.
- Password-protected submissions: Secure code submissions to prevent spam
# Clone the repository
git clone https://github.com/kushal1o1/CodeShare.git
# Navigate to the project directory
cd CodeShare
#create Virtual env(Recommended)
# Install dependencies
pip install -r requirements.txt
- python
- django
- together api
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
nth
Variable | Description | Default |
---|---|---|
SECRET_KEY |
Secretkey | Secretkey putanykey |
DEBUG |
boolean | True/False |
ALLOWED_HOSTS |
for | alowing host localhost |
PASSWORD |
forSavingCode | putAny |
API_KEY_TOGETHER_CLIENT |
apikey | putYours |
/CodeShare/
├─] .env (ignored)
├── .gitignore
├── app1/
│ ├── admin.py
│ ├── apps.py
│ ├── migrations/
│ ├── models.py
│ ├── static/
│ │ ├── admin/
│ │ └── images/
│ │ └── logo.png
│ ├── templates/
│ │ └── app1/
│ │ ├── AnalyzeCode.html
│ │ ├── base.html
│ │ └── index.html
│ ├── tests.py
│ ├── urls.py
│ ├── utils.py
│ ├── views.py
│ ├── __init__.py
├── CPYPASTER/
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ ├── views.py
│ ├── wsgi.py
│ ├── __init__.py
├─] db.sqlite3 (ignored)
├── manage.py
├── README.md
├── requirements.txt
└── templates/
└── index.html
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- 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
Please make sure to update tests as appropriate and adhere to the code of conduct.
This project is licensed under the MIT License.
Made with ❤️ by kushal1o1