{"id":20459573,"url":"https://github.com/lagden-development/flask-obfuscate","last_synced_at":"2026-03-07T23:03:06.565Z","repository":{"id":251622167,"uuid":"837943116","full_name":"Lagden-Development/flask-obfuscate","owner":"Lagden-Development","description":"A Flask extension to obfuscate HTML responses.","archived":false,"fork":false,"pushed_at":"2024-08-31T12:00:13.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-25T14:54:19.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lagden-Development.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-04T14:02:59.000Z","updated_at":"2025-01-28T09:58:20.000Z","dependencies_parsed_at":"2024-08-04T16:21:50.510Z","dependency_job_id":null,"html_url":"https://github.com/Lagden-Development/flask-obfuscate","commit_stats":null,"previous_names":["lagden-development/flask-obfuscate"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Lagden-Development/flask-obfuscate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagden-Development%2Fflask-obfuscate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagden-Development%2Fflask-obfuscate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagden-Development%2Fflask-obfuscate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagden-Development%2Fflask-obfuscate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lagden-Development","download_url":"https://codeload.github.com/Lagden-Development/flask-obfuscate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagden-Development%2Fflask-obfuscate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30236052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T12:16:38.484Z","updated_at":"2026-03-07T23:03:06.548Z","avatar_url":"https://github.com/Lagden-Development.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask-Obfuscate\n\nFlask-Obfuscate is a Flask extension that obfuscates HTML responses to help protect your HTML content from easy inspection or copying. This extension processes all HTML responses and converts them into obfuscated JavaScript that writes the HTML content when executed in a browser.\n\n## Features\n\n- Obfuscates HTML responses by converting them to JavaScript\n- Easy to integrate into existing Flask applications\n- Simple usage with minimal configuration\n\n## Installation\n\nYou can install Flask-Obfuscate via pip:\n\n```sh\npip install Flask-Obfuscate\n```\n\n## Usage\n\n### Basic Usage\n\nIntegrate Flask-Obfuscate into your Flask application with minimal setup:\n\n```python\nfrom flask import Flask\nfrom flask_obfuscate import Obfuscate\n\napp = Flask(__name__)\nobfuscate = Obfuscate(app)\n\n@app.route('/')\ndef index():\n    return '\u003cdiv\u003eHello, World!\u003c/div\u003e'\n\nif __name__ == '__main__':\n    app.run(debug=True)\n```\n\n### Advanced Usage\n\nYou can also initialize Flask-Obfuscate later using the `init_app` method:\n\n```python\nfrom flask import Flask\nfrom flask_obfuscate import Obfuscate\n\napp = Flask(__name__)\nobfuscate = Obfuscate()\nobfuscate.init_app(app)\n\n@app.route('/')\ndef index():\n    return '\u003cdiv\u003eHello, World!\u003c/div\u003e'\n\nif __name__ == '__main__':\n    app.run(debug=True)\n```\n\n## Running Tests\n\nTo run the tests, first install the test dependencies:\n\n```sh\npip install pytest\n```\n\nThen you can run the tests using pytest:\n\n```sh\npytest tests\n```\n\n## Contributing\n\nContributions are welcome! Please submit a pull request or open an issue to discuss improvements or fixes.\n\n1. Fork the repository.\n2. Create a new branch: `git checkout -b my-feature-branch`\n3. Make your changes and commit them: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-feature-branch`\n5. Submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Acknowledgments\n\nInspired by the need to protect HTML content in Flask applications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagden-development%2Fflask-obfuscate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flagden-development%2Fflask-obfuscate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagden-development%2Fflask-obfuscate/lists"}