{"id":16494897,"url":"https://github.com/atombender/jlf","last_synced_at":"2026-04-09T16:43:59.906Z","repository":{"id":66700167,"uuid":"269184200","full_name":"atombender/jlf","owner":"atombender","description":"jlf is a basic JSON line formatter","archived":false,"fork":false,"pushed_at":"2023-11-22T17:01:04.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T23:43:46.546Z","etag":null,"topics":["json","terminal"],"latest_commit_sha":null,"homepage":"","language":"Go","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/atombender.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":"2020-06-03T20:09:27.000Z","updated_at":"2022-04-06T00:55:15.000Z","dependencies_parsed_at":"2024-11-12T21:44:25.737Z","dependency_job_id":"c5c286ea-dfd8-466e-beac-ac631c143427","html_url":"https://github.com/atombender/jlf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atombender%2Fjlf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atombender%2Fjlf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atombender%2Fjlf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atombender%2Fjlf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atombender","download_url":"https://codeload.github.com/atombender/jlf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241348206,"owners_count":19948157,"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":["json","terminal"],"created_at":"2024-10-11T14:16:10.288Z","updated_at":"2026-04-09T16:43:54.864Z","avatar_url":"https://github.com/atombender.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jlf — a basic JSON line formatter\n\n![Screenshot](https://user-images.githubusercontent.com/50314/83770876-9de6d780-a64f-11ea-9242-0b1e32fa47b8.jpg)\n\n`jlf` is a simple formatter that takes streams of JSON, formatting is a readable table. For example, the above screenshot is a rendering of [this](https://gist.github.com/atombender/0868a9c1638ab3bb979b5b9a06807a11) data.\n\n## Installation\n\nGit clone and then `go install .` (requires Go \u003e= 1.13).\n\n## Usage\n\nYou can invoke `jlf` with one or more file names, or simply pipe to it. Other flags:\n\n* `-i` or `--include-rest`: Devote the last column to rest of fields that don't have columns specified.\n* `-c=COLUMN` or `--column=COLUMN`: Specify a column. Can be specified multiple times. See below.\n\n### Column format\n\nOne or more columns must be specified. Each column has this format:\n\n```\n--column=myField:100:blue:r\n         |       |   |    |\n         |       |   |    extra options (see below)\n         |       |   |\n  field name     |   color\n                 |   (blank means default)\n                 |\n               width\n         (blank means auto)\n```\n\nSome examples:\n\n* `--column=myField`\n* `--column=myField:100`\n* `--column=myField::blue`\n* `--column=myField:100:blue`\n* `--column=myField:100:blue:r`\n\nSpecifying one or more columns without a width will try fill up the full terminal width evenly.\n\nThe special column name `...` can be used. It will evaluate to all the other fields that have not been specified, formatted like so:\n\n```\nfield1: foo\nfield2: bar\n```\n\n#### Column options\n\n* `r`: If `--include-rest`, merge rest of fields into this column.\n\n#### Colors\n\n* `black`\n* `red`\n* `green`\n* `yellow`\n* `blue`\n* `magenta`\n* `cyan`\n* `white`\n* `hiblack`\n* `hired`\n* `higreen`\n* `hiyellow`\n* `hiblue`\n* `himagenta`\n* `hicyan`\n* `hiwhite`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatombender%2Fjlf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatombender%2Fjlf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatombender%2Fjlf/lists"}