{"id":15762248,"url":"https://github.com/lirantal/picture-tuber","last_synced_at":"2025-05-13T01:24:45.771Z","repository":{"id":57323990,"uuid":"169709820","full_name":"lirantal/picture-tuber","owner":"lirantal","description":"render images on the terminal (forked from substack/picture-tube)","archived":false,"fork":false,"pushed_at":"2021-02-08T22:34:44.000Z","size":37,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T00:03:01.802Z","etag":null,"topics":["cli","nodejs","picture","terminal-emulator"],"latest_commit_sha":null,"homepage":null,"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/lirantal.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-08T09:15:17.000Z","updated_at":"2023-12-19T21:42:17.000Z","dependencies_parsed_at":"2022-09-09T09:21:43.083Z","dependency_job_id":null,"html_url":"https://github.com/lirantal/picture-tuber","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fpicture-tuber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fpicture-tuber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fpicture-tuber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fpicture-tuber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lirantal","download_url":"https://codeload.github.com/lirantal/picture-tuber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253852137,"owners_count":21973864,"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":["cli","nodejs","picture","terminal-emulator"],"created_at":"2024-10-04T11:08:14.623Z","updated_at":"2025-05-13T01:24:45.752Z","avatar_url":"https://github.com/lirantal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# picture-tuber\n\nRender images on the terminal.\n\n# example\n\n## command\n\n![picture tube robot](http://substack.net/images/screenshots/picture_tube_robot_avatar.png)\n\n## code\n\n```js\nvar pictureTube = require(\"picture-tuber\");\nvar tube = pictureTube();\ntube.pipe(process.stdout);\n\nvar fs = require(\"fs\");\nfs.createReadStream(\"robot.png\").pipe(tube);\n```\n\n# usage\n\n```\nUsage: picture-tube OPTIONS { file or uri }\n\nOptions:\n  --cols  number of columns to use for output\n```\n\n# methods\n\n```js\nvar pictureTube = require(\"picture-tuber\");\n```\n\n## var tube = pictureTube(opts)\n\nReturn a readable/writable stream that reads png image data and writes ansi\nterminal codes.\n\nSet the number of columns to display the image as with `opts.cols`.\n\nRight now only png files work.\n\n# install\n\nTo install as a library, with [npm](http://npmjs.org) do:\n\n```\nnpm install picture-tuber\n```\n\nTo install the command-line tool, with [npm](http://npmjs.org) do:\n\n```\nnpm install -g picture-tuber\n```\n\n# license\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flirantal%2Fpicture-tuber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flirantal%2Fpicture-tuber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flirantal%2Fpicture-tuber/lists"}