Added a docstring to the get_content function to improve code documentation and clarify its intent. Enhanced URL processing logic for article links to ensure more readable and consistent URLs within the application. Included a docstring for the main function to outline its purpose. Improves code maintainability and readability.
Set up initial project structure and dependencies for Ducks for Ducks proxy service.
- Added .gitignore to exclude virtual environments, __pycache__, and build directories.
- Included MIT License for the project.
- Created README.md for project documentation.
- Configured pyproject.toml to use Hatchling as build system, specified project metadata and dependencies.
- Implemented Flask app for proxying GeeksforGeeks articles:
- Routes to serve static files, index page, proxy images, and render articles.
- Function to fetch and clean article content.
- Added custom CSS for styling differences between internal and external links.
- Included Bootstrap CSS for base styling.
- Created HTML templates for base layout, index, and article pages.
This change sets up the core functionality of proxying GeeksforGeeks content through the Flask application.