{"id":16600078,"url":"https://github.com/syzer/img2ascii","last_synced_at":"2025-03-16T21:30:49.472Z","repository":{"id":57272587,"uuid":"50378949","full_name":"syzer/img2ascii","owner":"syzer","description":"Convert image url to ascii art","archived":false,"fork":false,"pushed_at":"2022-12-06T22:29:04.000Z","size":391,"stargazers_count":22,"open_issues_count":30,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-27T14:31:10.780Z","etag":null,"topics":["all-the-things","ascii","ascii-art","converter","gif","giphy","image-converter","image-processing","jpeg","much-wow","png"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/syzer.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}},"created_at":"2016-01-25T20:31:22.000Z","updated_at":"2024-09-08T10:04:19.000Z","dependencies_parsed_at":"2023-01-24T11:45:41.009Z","dependency_job_id":null,"html_url":"https://github.com/syzer/img2ascii","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/syzer%2Fimg2ascii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Fimg2ascii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Fimg2ascii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Fimg2ascii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syzer","download_url":"https://codeload.github.com/syzer/img2ascii/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830939,"owners_count":20354853,"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":["all-the-things","ascii","ascii-art","converter","gif","giphy","image-converter","image-processing","jpeg","much-wow","png"],"created_at":"2024-10-12T00:13:33.561Z","updated_at":"2025-03-16T21:30:49.186Z","avatar_url":"https://github.com/syzer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# img2ascii\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/syzer/img2ascii.svg)](https://greenkeeper.io/)\n\n[![NPM Version](https://badge.fury.io/js/img2ascii.svg)](https://badge.fury.io/js/img2ascii)\n[![Dependency Status](https://david-dm.org/syzer/img2ascii.svg)](https://david-dm.org/syzer/img2ascii)\n[![Downloads Today](https://img.shields.io/npm/dt/img2ascii.svg)](https://badge.fury.io/js/img2ascii)\n[![Downloads Month](https://img.shields.io/npm/dm/img2ascii.svg)](https://badge.fury.io/js/img2ascii)\n[![Build Status](https://img.shields.io/travis/syzer/img2ascii.svg)](https://badge.fury.io/js/img2ascii)\n\n## Purpose\n\n- Downloads images (jpeg/gif/png) and outputs them in your console.\n- Make custom ssh login message for your users.\n- Picture is worth thousands words.. we will use both!\n\n![Doge In terminal](https://raw.githubusercontent.com/syzer/img2ascii/master/doge.png)\n\n## Getting Started\n\n```sh\nbrew install graphicsmagick\nnpm install -g img2ascii\n```\n\n## Usage CLI\n```sh\nUsage: img2ascii [url|file] --cols [num] --ratio [num]\n\nOptions:\n  -c, --cols   Number of columns in terminal                       [default: 80]\n  -r, --ratio  Aspect ratio. Try 0.5 to flatten image\n               and 2 to lengthen image                              [default: 1]\n```\n\n## Examples\n```sh\nimg2ascii doge.png\nimg2ascii https://pbs.twimg.com/profile_images/378800000822867536/3f5a00acf72df93528b6bb7cd0a4fd0c.jpeg\nimg2ascii doge.png --cols 20 --ratio 0.5\n```\n\n## Usage as module\n\n```js\nconst img2ascii = require('img2ascii')({\n    img: './assets/snafu.gif',\n    cols: 90,                   // optional\n    ratio: 1.2                  // optional\n}).pipe(process.stdout)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyzer%2Fimg2ascii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyzer%2Fimg2ascii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyzer%2Fimg2ascii/lists"}