{"id":16206918,"url":"https://github.com/moonrollersoft/log-viewer","last_synced_at":"2025-04-02T16:31:28.696Z","repository":{"id":62576817,"uuid":"247795783","full_name":"moonrollersoft/log-viewer","owner":"moonrollersoft","description":"Expose your log files","archived":false,"fork":false,"pushed_at":"2023-05-01T20:14:22.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T07:38:01.040Z","etag":null,"topics":["flask","log","log-viewer","logging","logs","python","show","tail","view"],"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/moonrollersoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-03-16T19:06:02.000Z","updated_at":"2021-08-13T04:24:39.000Z","dependencies_parsed_at":"2024-11-15T12:16:35.178Z","dependency_job_id":null,"html_url":"https://github.com/moonrollersoft/log-viewer","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"06f302afc355141fe0f5e75abc61d2389561c7ad"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrollersoft%2Flog-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrollersoft%2Flog-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrollersoft%2Flog-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonrollersoft%2Flog-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moonrollersoft","download_url":"https://codeload.github.com/moonrollersoft/log-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246850919,"owners_count":20844168,"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":["flask","log","log-viewer","logging","logs","python","show","tail","view"],"created_at":"2024-10-10T10:08:41.754Z","updated_at":"2025-04-02T16:31:28.389Z","avatar_url":"https://github.com/moonrollersoft.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log-viewer: log web-exposer toolkit\n\n## What is log-viewer for? ##\n\n**log-viewer** is just a lightweight Python package that web-exposes your log files using \n[Flask's](https://palletsprojects.com/p/flask/) interface.\n\n## How do I get set up? ##\n\n## Requisites ##\n* [python](https://www.python.org/downloads/release/python-360/) \u003e= 3.6 running on a \nLinux environment.\n\n## Where to get it ##\n[PyPi](https://pypi.org/) repository, execute:\n```sh\npip install log-viewer\n```\n\n## Installation from sources ##\nCloning the git [repo](https://github.com/moonrollersoft/log-viewer), execute in root folder:\n```sh\npython setup.py install\n```\n\n## Use ##\nAfter package installation, execute:\n```sh\nlog-viewer\n```\n**log-viewer** will search log files and it will expose them within HTML native accordions in \nhttp://0.0.0.0:8081 (default)\n \nNo login is needed by default. In order to activate the login, just set user or password \nthrough the execution options. \n\n## Execution options ##\n**log-viewer** execution options:\n* **-a --address** Logs exposing address. Default: \"0.0.0.0\"\n* **-p --port** Logs exposing port. Default: 8081\n* **-u --user** User for login, it activates the login mode. If no password is set, the \nlogin mode will only check the \nprovided user\n* **-psw --password** Password for login, it activates the login mode. If no user is set, \nthe login mode will only check \nthe provided password\n* **-lp --logPaths** Paths to search (recursively) the logs from (\";\" separated). \nDefault: \"/var/log/\"\n\n### Example ###\n\nThe following example will activate the login mode with custom parameters:\n```sh\nlog-viewer -u admin -psw admin -p 8080 -lp \"/var/log/django;/var/log/apt\" -a \"127.0.0.1\"\n```\n\n## License\n[MIT](LICENSE.txt)\n\n\n## Dependencies\n- [Flask](https://palletsprojects.com/p/flask/) \u003e= 1*\n\n\n## Contact ##\n[moonrollersoft@gmail.com](mailto:moonrollersoft@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonrollersoft%2Flog-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonrollersoft%2Flog-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonrollersoft%2Flog-viewer/lists"}