Commit graph

7 commits

Author SHA1 Message Date
04907d6a5b
feat: Add LICENSE and README, configure app port handling
Includes MIT License file to clarify usage terms.
Introduces a README with setup and configuration instructions
for the noBSdelivr app. Updates the main Python application to
use an environment variable for port configuration, improving
deployment flexibility.

Enhances code organization and documentation to aid user setup
and compliance.
2024-11-27 13:01:25 +01:00
c2d54d1d55
feat: add privacy policy and disclaimer to footer
Introduced a privacy policy and disclaimer section in the footer of the index page to inform users about data handling practices. This addition emphasizes user privacy, clarifying that there is no tracking or data logging, and includes a warning about potential third-party tracking via served files. It also provides a link to the source code for transparency, encouraging users to host files on their own servers for maximum privacy assurance.
2024-11-08 17:01:49 +01:00
7df5eafe5b
fix(proxy): correct URL reference in proxy function
Switched the variable from `url` to `jsdelivr_url` in the proxy function to ensure it references the correct URL. This corrects an oversight that could have resulted in incorrect data being fetched or an error due to an invalid URL. No other functionality is affected.
2024-08-03 16:39:17 +02:00
69e3a5a25d
feat: add streaming and error handling to proxy route
Introduced streaming support in the proxy route to handle large data transfers more efficiently without loading everything into memory at once. Added error handling for HTTP errors and content-type detection failures to provide more robust and user-friendly responses. Updated import statements to reflect new dependencies.
2024-08-03 16:32:44 +02:00
8076dcd937
feat(proxy): return content instead of redirecting
Updated the proxy route to fetch and return the content from
jsdelivr instead of just redirecting to the URL. This change
allows the application to handle and manipulate the content
before sending it to the client, which provides more control
over the data flow.
2024-08-03 16:26:34 +02:00
e6373d0535
feat: redesign layout with hero section and footer
Added a hero section for better user engagement and moved informational content into a clearer main section. The footer with a credit link enhances credibility. Extra styling improves readability with a structured presentation. Updated bootstrap resource links for consistency.
2024-08-03 11:15:36 +02:00
c4054c1374
feat: add Flask proxy app for cdn.jsdelivr.net
Introduce a simple Flask app that proxies requests to cdn.jsdelivr.net.
Includes basic routing for home and proxy endpoints, and a template
render for the home page explaining usage. Added Flask to
requirements.txt and updated .gitignore to exclude venv and __pycache__.
2024-08-03 08:40:59 +02:00