Overview
Welcome to Project OSUS, an open-source URL shortener built using Flask, Python, and MongoDB. This project is part of Hacktoberfest 2024, encouraging contributions from developers and non-developers alike. The goal is to provide a simple, easy-to-use URL shortening service while fostering collaboration in the open-source community.
Installation
To get started with Project OSUS, follow these steps:
- Fork the repository on GitHub.
- Clone the repository using the command:
- Set up a virtual environment (optional but recommended):
- Activate the virtual environment:
- Install the required dependencies:
- Set up your MongoDB connection string in a `.env` file:
- Run the application:
- Access the application at:
git clone https://github.com/your-username/project-osus.git
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
MONGO_PATH='localhost'
MONGO_PORT=27017
flask run
http://localhost:5000
Features
- Shorten long URLs with ease.
- Automatic redirection to the original URL.
- Simple and intuitive user interface.
Contributing
We welcome contributions from developers of all skill levels! Whether you're fixing bugs, adding new features, or improving documentation, all help is appreciated. To contribute:
- Fork the repository on GitHub.
- Clone your forked repository:
- Create a new branch for your changes:
- Make your changes and commit them:
- Push your changes:
- Create a pull request on GitHub with a description of your changes.
git clone https://github.com/your-username/project-osus.git
git checkout -b feature-branch
git add .
git commit -m "Description of your changes"
git push origin feature-branch
Frequently Asked Questions (FAQ)
1. How do I report a bug?
To report a bug, open an issue in the GitHub repository, including details and steps to reproduce the problem.
2. Can I suggest new features?
Absolutely! Open an issue on GitHub to discuss new feature ideas. We're always open to suggestions from the community.
Contact Us
If you have any questions or need further assistance, feel free to reach out to us via the following platforms:
- GitHub: GitHub Repository