{"id":24186388,"url":"https://github.com/kanocomputing/dr-feedback","last_synced_at":"2025-08-02T04:32:48.201Z","repository":{"id":23080656,"uuid":"26434420","full_name":"KanoComputing/dr-feedback","owner":"KanoComputing","description":"A tool to read a tar.gz file from a Feedback email and report a useful HTML document with diagnose information","archived":false,"fork":false,"pushed_at":"2019-07-08T11:11:15.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-03T01:41:57.867Z","etag":null,"topics":["kano-os"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KanoComputing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-10T11:52:07.000Z","updated_at":"2021-01-14T12:27:45.000Z","dependencies_parsed_at":"2022-08-05T20:30:12.284Z","dependency_job_id":null,"html_url":"https://github.com/KanoComputing/dr-feedback","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KanoComputing/dr-feedback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fdr-feedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fdr-feedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fdr-feedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fdr-feedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KanoComputing","download_url":"https://codeload.github.com/KanoComputing/dr-feedback/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KanoComputing%2Fdr-feedback/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334611,"owners_count":24233793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["kano-os"],"created_at":"2025-01-13T12:35:20.552Z","updated_at":"2025-08-02T04:32:48.152Z","avatar_url":"https://github.com/KanoComputing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DrFeedback\n\nA tool to read a tar.gz file from a Feedback email and report a useful HTML document with diagnose information.\n\n## Local, command line usage:\n\n```\n$ python drfeedback.py \u003ctar.gz filename\u003e [full]\n```\n\nThis will give you the HTML document to stdout.\n\n## Web service installation\n\nTo deploy the web service, on the server you do:\n\n $ sudo apt-get install gunicorn\n\nPlace the \"drfeeback\" directory somewhere on your server, then edit /etc/gunicorn/drfeedback (any name will do),\nwith settings similar to this:\n\n```\nCONFIG = {\n       'mode': 'wsgi',\n\n       'environment': {\n          'PYTHONPATH': '/home/kanux/kano-feedback/drfeedback',\n       },\n\n       'working_dir': '/home/kanux/kano-feedback/drfeedback',\n       'user': 'kanux',\n       'group': 'kanux',\n\n       'python': '/usr/bin/python',\n          'args': (\n          '--bind=127.0.0.1:9000',\n          '--workers=16',\n          '--timeout=60',\n          '--log-file=/home/kanux/kano-feedback/drfeedback/wsgi_main.log',\n          'wsgi_main',\n    ),\n}\n```\n\nChange the nginx settings to proxy against localhost:9000, and expose an additional\nURL to the target_dir defined in wsgi_main.py module.\n\n### Local web service testing\n\nMake sure you have write permissions to the directory ```reports_directory``` defined in wsgi_main.py.\nOn one terminal you start the server like this:\n\n```\n $ gunicorn -b 127.0.0.1:9000 wsgi_main\n```\n\nOn another terminal you send a report request like this:\n\n```\n $ python send_report.py http://localhost:9000 \u003ctar.gz filename\u003e\n```\n\nThe HTML document will be placed in the ```reports_directory```.\n\n### Remote server usage\n\nOn a remote system make sure you have the latest python requests package:\n\n```\n $ sudo pip install requests\n```\n\nLocate the local tar.gz file to send to the server, and do:\n\n```\n $ python send_report.py http://dev.kano.me/feedback \u003ctar.gz filename\u003e \u003cusername\u003e \u003cpassword\u003e\n```\n\nThis will send the tar.gz file to the service, and the response will tell you the URL\nwhere you can visit the report on your browser, along with the response code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanocomputing%2Fdr-feedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanocomputing%2Fdr-feedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanocomputing%2Fdr-feedback/lists"}