{"id":13814463,"url":"https://github.com/EmNudge/logpipe","last_synced_at":"2025-05-15T03:34:30.521Z","repository":{"id":231982905,"uuid":"783130384","full_name":"EmNudge/logpipe","owner":"EmNudge","description":"Inspect your logs","archived":false,"fork":false,"pushed_at":"2024-04-21T17:34:13.000Z","size":208,"stargazers_count":91,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-31T15:48:38.511Z","etag":null,"topics":["logging"],"latest_commit_sha":null,"homepage":"https://logpipe.dev/","language":"JavaScript","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/EmNudge.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-07T02:47:13.000Z","updated_at":"2024-08-04T04:05:49.980Z","dependencies_parsed_at":"2024-04-16T04:29:26.328Z","dependency_job_id":"792f50ae-3568-4998-aaf1-bf3fca1fb0c1","html_url":"https://github.com/EmNudge/logpipe","commit_stats":null,"previous_names":["emnudge/logpipe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmNudge%2Flogpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmNudge%2Flogpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmNudge%2Flogpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmNudge%2Flogpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmNudge","download_url":"https://codeload.github.com/EmNudge/logpipe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225326489,"owners_count":17456954,"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":["logging"],"created_at":"2024-08-04T04:01:58.560Z","updated_at":"2024-11-19T09:30:49.161Z","avatar_url":"https://github.com/EmNudge.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Logpipe ![logpipe logo][logo]\n\n*Get clarity on development logs*\n\n\u003cvideo src=\"https://github.com/EmNudge/logpipe/assets/24513691/59a1772a-2e5d-4129-aaa2-470dea297aee\"\u003e\u003c/video\u003e\n\nCheckout [the docs][docs] or see it in action in [this online demo][demo]!\n\n## Installation\n\nThere is no build step in this codebase, so you can install it directly from git if you want.\n\n```sh\nnpm i -g https://github.com/EmNudge/logpipe.git\n# or\nnpm i -g @emnudge/logpipe\n```\n\n## Usage\n\n```sh\n$ some-other-program | logpipe\n\n\u003e server running on http://localhost:7381\n```\n\nThen go to the URL and inspect away!\n\n`logpipe` parameters:\n- `--port \u003cnumber\u003e`\n  - Choose a specific port (instead of random). Useful for command runners like `nodemon`.\n- `--title \u003csome text\u003e`\n  - Title for the page. Useful if you have multiple `logpipe`s open at once.\n\n\n### Redirecting Stderr\n\nMany programs will output their logs to `stderr` instead of `stdout`. If `logpipe` is not capturing anything and you still see output in your terminal, this is probably what's happening.\n\nYou can use bash redirection to fix this.\n\n```sh\nmy-program 2\u003e\u00261 | logpipe # note the \"2\u003e\u00261\"\n```\n\nCheck out [the docs](https://logpipe.dev/guide/shell-redirection.html#shell-redirection) for more info on shell redirection.\n\n## Motivation\n\nWhen dealing with various codebases in development, you'll come across perhaps hundreds of logs per minute. Some of these are supposed to be useful. \nAs it's just sending out unstructured text, it can be hard to find what you want. Furthermore, it often lacks syntax highlighting. It is hard to know where one log ends and another starts.\n\nIn contrast, something like your browser's dev console allows filtering, highlighting, and inspection of \"unstructured\" logs. The goal is to supercharge this to be used for any system that outputs any kind of logs.\n\n## Behavior\n\nThis is a tool meant primarily for development. Therefore, the intention is to value assistance over correctness.\n\nThis allows us the following interesting features:\n- **Logpipe** will syntax highlight logs that previously had no syntax highlighting.\n- It will automatically apply tags to logs for you to search over.\n- It will attempt to group logs that seem related (based on indentation or language grammar)\n\nIt also allows us to live-filter logs while retaining the log state - something already present in most log inspection tools.\n\n## Advanced Usage, Alternative Tools, Contribution Guide, etc\n\nA lot of info has been moved to [the docs][docs]. Here are some quick links:\n\n- [Alternatives](https://logpipe.emnudge.dev/guide/alternatives.html)\n- [Shell Redirection](https://logpipe.emnudge.dev/guide/shell-redirection.html)\n- [Filtering](https://logpipe.emnudge.dev/guide/filtering.html)\n- [Contribution Guide](https://logpipe.emnudge.dev/guide/contribution-guide.html)\n\n\u003c!-----\u003e\n[logo]: https://github.com/EmNudge/logpipe/assets/24513691/8526ba7d-e8a1-460a-8fad-60c488b5b15e\n[demo]: https://logpipe.pages.dev\n[docs]: https://logpipe.dev\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEmNudge%2Flogpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEmNudge%2Flogpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEmNudge%2Flogpipe/lists"}