{"id":16765243,"url":"https://github.com/devlato/goatse-npm","last_synced_at":"2025-03-16T11:45:21.745Z","repository":{"id":28476115,"uuid":"31992138","full_name":"devlato/goatse-npm","owner":"devlato","description":"a console util like cowsay, but that prints the given text in a stretched goatse","archived":false,"fork":false,"pushed_at":"2015-09-08T13:05:11.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T23:42:49.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/devlato.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}},"created_at":"2015-03-11T01:43:48.000Z","updated_at":"2023-09-15T18:52:06.000Z","dependencies_parsed_at":"2022-09-03T10:41:18.345Z","dependency_job_id":null,"html_url":"https://github.com/devlato/goatse-npm","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/devlato%2Fgoatse-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlato%2Fgoatse-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlato%2Fgoatse-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlato%2Fgoatse-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlato","download_url":"https://codeload.github.com/devlato/goatse-npm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864626,"owners_count":20360355,"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":[],"created_at":"2024-10-13T05:28:50.711Z","updated_at":"2025-03-16T11:45:21.728Z","avatar_url":"https://github.com/devlato.png","language":"JavaScript","readme":"# goatse\nCommand line util similar to cowsay but with text inside a widely extended goatse anus.\n\nCurrently just printing goatse ascii art, but there is a lot of work to be done. Stay in touch.\n\n\n## INSTALLATION\n```sh\nnpm install -g goatse\n```\n\n\n## USAGE\n```sh\ndevlato@devlato-pc:~$ goatse hello\n* g o a t s e x * g o a t s e x * g o a t s e x *\ng                                               g  \no /     \\             \\            /    \\       o\na|       |             \\          |      |      a\nt|       `.             |         |       :     t\ns`        |             |        \\|       |     s\ne \\       | /       /  \\\\\\   --__ \\\\       :    e\nx  \\      \\/   _--~~          ~--__| \\     |    x  \n*   \\      \\_-~                    ~-_\\    |    *\ng    \\_     \\        _.--------.______\\|   |    g\no      \\     \\______// _ ___ _ (_(__\u003e  \\   |    o\na       \\   .  C ___)  ______ (_(____\u003e  |  /    a\nt       /\\ |   C ____)/      \\ (_____\u003e  |_/     t\ns      / /\\|   C_____) hello |  (___\u003e   /  \\    s\ne     |   (   _C_____)\\______/  // _/ /     \\   e\nx     |    \\  |__   \\\\_________// (__/       |  x\n*    | \\    \\____)   `----   --'             |  *\ng    |  \\_          ___\\       /_          _/ | g\no   |              /    |     |  \\            | o\na   |             |    /       \\  \\           | a\nt   |          / /    |         |  \\           |t\ns   |         / /      \\__/\\___/    |          |s\ne  |           /        |    |       |         |e\nx  |          |         |    |       |         |x\n* g o a t s e x * g o a t s e x * g o a t s e x *\n```\n\n\n## USAGE IN CODE\n```javascript\nvar GoatseWriter,\n    goatseWriter,\n    goatse,\n    mergedArgs; \n\n\nGoatseWriter = require('goatse'); \n\n\nmergedArgs = 'hello'; \nif (process.argv.length \u003e 2) {\n\tmergedArgs = \n\t\tprocess.argv.slice(2)\n\t        .map(function(item) {\n\t            return item.replace(/[\\n\\s]/ig, ''); \n\t        })\n\t        .join(' '); \n}\n\ngoatseWriter = new GoatseWriter(); \ngoatse       = goatseWriter.render(mergedArgs); \n\nconsole.log(goatse);\n```\n\nGoatseWriter class has some options too: \n```javascript\nvar goatseWriter = new GoatseWriter({\n    template:      'goatse.ejs',               // Goatse template file name\n    rootPath:      __dirname,                  // Folder where module is stored, defaults to something like __dirname\n    templatesPath: __dirname + './templates',  // Default templates folder \n    ioOptions: {                               // Options for file I/O\n        encoding: 'utf8',\n        flag:     'r'\n    }\n});\n```\n\n\n## TODO \n1. Text inside goatse anus with anus width auto-change\n2. Text inside goatse anus with full image scaling\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlato%2Fgoatse-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlato%2Fgoatse-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlato%2Fgoatse-npm/lists"}