{"id":18869450,"url":"https://github.com/codersales/get-html","last_synced_at":"2026-02-04T09:10:15.616Z","repository":{"id":137039823,"uuid":"407705116","full_name":"CoderSales/get-html","owner":"CoderSales","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-18T00:48:06.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T00:45:46.859Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoderSales.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,"zenodo":null}},"created_at":"2021-09-17T23:34:11.000Z","updated_at":"2021-09-18T00:48:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd7e1000-2e6d-4064-9036-26caf758f93a","html_url":"https://github.com/CoderSales/get-html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"Code-Institute-Org/python-essentials-template","purl":"pkg:github/CoderSales/get-html","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fget-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fget-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fget-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fget-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoderSales","download_url":"https://codeload.github.com/CoderSales/get-html/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fget-html/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266032091,"owners_count":23866896,"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","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-08T05:16:45.950Z","updated_at":"2026-02-04T09:10:10.595Z","avatar_url":"https://github.com/CoderSales.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-html\n\n## To Run / Usage\n### Extensions\nEnsure have installed:\n\n    Google Developer\n        GitPod Browser Extension \n\n            Visual Studio Code\n\n                Primarily:\n                - Live Server\n                - Code Runner\n\n                Secondarily:\n                - Live Preview\n                - Python\n                - GitHub Pull Requests and Issues\n\n### To Run\n    Live Server\n        - Click \n            - Go Live!\n                - in bottom right corner of browser\n\n    To run get_html.py\n        either use:\n            Code Runner\n                - Press\n                    - Ctrl + Alt N\n                - (to stop press: Ctrl + Alt + M)\n        or\n            Preferred option:\n                in terminal (Ctrl + J or Ctrl + ')\n                    python3 get_html.py\n\n    \n## Development\n### Get News (python)\n- extract.py [Extracting text from HTML file using Python](https://stackoverflow.com/questions/328356/extracting-text-from-html-file-using-python)\n#### beautifulsoup4 (command line interface)\n    pip3 install beautifulsoup4 \n- [beautifulsoup4 4.10.0](https://pypi.org/project/beautifulsoup4/)\n### display command line Output on HTML Page\n- [Showing command line output on a html page](https://stackoverflow.com/questions/53860093/showing-command-line-output-on-a-html-page)\n\n#### xterm.js\n    npm install xterm\n        - index.html code from this site\n- [Xterm.js | Build terminals in the browser](https://xtermjs.org/)\n\n\n### Update dependencies in requirements.txt for Heroku deployment\n    pip3 freeze \u003e requirements.txt\ncheck old and new each time\n\n## Bug\n\nBackground:\nxterm.js running from index.html\nrunning get_html.py\n\nIssue:\n    python3 get_html.py\n    - prints output to local IDE terminal\n\nPotential Fix:\nRun command in xterm.js\n    python3 get_html.py\n\nPotential Better Way (Reference): \n- [cs01 / pyxtermjs](https://github.com/cs01/pyxtermjs)\n\n## Bug\n\nSearch String:\nxterm.js not taking keyboard input\n\nSearch Result:\n[How to make xterm.js accept input?](https://stackoverflow.com/questions/44447473/how-to-make-xterm-js-accept-input)\n\nAnswer given:\n\nxtermjs is a library that expose an api, that allow us to build fully xterm based terminal emulator. \nBut for every of the terminal functionalities you need to implement it through the api. Using the event listeners. \nAnd handling them. \nAnd combining it with others packages depend on what you want to achieve.\n\n## References\n- extract.py [Extracting text from HTML file using Python](https://stackoverflow.com/questions/328356/extracting-text-from-html-file-using-python)\n- pip3 install beautifulsoup4 [beautifulsoup4 4.10.0](https://pypi.org/project/beautifulsoup4/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersales%2Fget-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodersales%2Fget-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersales%2Fget-html/lists"}