Commit graph

9 commits

Author SHA1 Message Date
ef2ab5e519
feat: Add license and documentation for noCDNbs
Introduces MIT License for the project to clarify usage rights.
Adds README with setup instructions and project details.
Enhances app.py to allow configurable port via environment variable.
2024-11-27 12:58:39 +01:00
d54cd76f99
docs: clarify privacy protection guidelines
Updated the privacy protection guidelines to encourage hosting files on your own server and testing them thoroughly. This aims to enhance user privacy assurance by minimizing reliance on third-party content, which might include privacy-invading elements.
2024-11-09 11:38:58 +01:00
f4c16f3b63
docs(index.html): enhance footer with privacy disclaimer
Expanded the footer to include a detailed privacy disclaimer emphasizing the service's privacy-focused nature and transparency about data handling. Mentioned the open-source status and provided a link to the source code. This improves user trust by informing them about data privacy practices and potential risks. No issue references.
2024-11-08 17:03:17 +01:00
ce9e34f55e
fix(proxy): correct URL composition for CDNJS
Updated the URL construction within the proxy function to correctly reference CDNJS URLs. Previously the variable name mistakenly suggested an old CDN (jsdelivr), potentially leading to confusion and incorrect URL referencing. This change ensures accuracy and consistency when fetching and streaming resources.
2024-08-03 16:39:46 +02:00
c519a056c2
feat(proxy): improve streaming and error handling
Enhanced proxy endpoint by adding streaming support to handle large files efficiently. Introduced error handling for various HTTP errors and Internal Server errors to provide more robust feedback. Updated content disposition to handle attachment downloads properly.
2024-08-03 16:33:32 +02:00
052eeb7531
feat: replace redirect with proxy content fetching
Modified the proxy route to fetch and return the content directly from the target URL instead of redirecting. This change leverages `urlopen` to read the response and send its content back to the client, enhancing user experience by keeping them on the same page and avoiding potential CORS issues.
2024-08-03 16:26:09 +02:00
8a37bc9f2c
feat: switch CDN from jsdelivr to Cloudflare
Updated the proxy route to use Cloudflare CDN instead of jsdelivr. Corresponding changes made in the HTML to reflect the new CDN, along with a rebrand from "nobsdelivr" to "nocdnbs". This enhances CDN reliability and availability.
2024-08-03 16:12:47 +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