Commit graph

2 commits

Author SHA1 Message Date
51e31fc8fe
feat: enhance content extraction and documentation
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.
2024-08-27 16:39:20 +02:00
5f710d8a31
feat: add proxy service for GeeksforGeeks articles
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.
2024-08-27 16:38:13 +02:00