{ "version": "https://jsonfeed.org/version/1", "title": "Tyler Cipriani: Create a Baller/Useful MOTD with ANSI Art", "home_page_url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/", "feed_url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comments.json", "items": [ { "id": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comment_1_4529cffac9b7b7c1d32333bd5462374d/", "title": "comment 1", "url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/#comment-2333c38e8fbfdfc914926a03452a9e31", "author": { "name": "ksauerf" }, "date_published": "2014-11-11T19:59:30Z", "date_modified": "2018-06-13T19:34:11Z", "content_html": "
This seems pretty cool but I get “Unable to access jarfile ./util-say.jar” Any ideas?
\n\n" }, { "id": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comment_2_36e22b525690379f90c02388fba0c543/", "title": "comment 2", "url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/#comment-2cf4945cfba829ae145cc1ff145a0c95", "author": { "name": "thcipriani" }, "date_published": "2014-11-12T08:56:04Z", "date_modified": "2018-06-13T19:34:11Z", "content_html": "Make sure you have the util-say.jar file (find /path/to/util-say -name \'util- say.jar\'
), make sure your permissions are correct (I assume that read permissions are probably fine, but you may need execute—I also assume that the git repo likely has correct permissions), and also make sure you’re in the correct directory when you run ./img2ponysay—probably won’t work running /home/user/Downloads/util-say/img2ponysay
.
I say “Probably” because I’ve never tested that theory.
\n\n" }, { "id": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comment_3_e8be9ba9a956de987d83eade0a9aa625/", "title": "comment 3", "url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/#comment-1d34a3285292d653108c2fefffeb0c8e", "author": { "name": "jeremymbonney" }, "date_published": "2014-11-20T21:07:34Z", "date_modified": "2018-06-13T19:34:11Z", "content_html": "Please do a youtube video this is amazing and needs to be shared\n" }, { "id": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comment_4_8a1dc2f094bd91649f5d41337fa7f4f8/", "title": "comment 4", "url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/#comment-a990a0ceb87b4a1484fa286bc165da24", "author": { "name": "igmtsaol" }, "date_published": "2015-03-05T12:43:33Z", "date_modified": "2018-06-13T19:34:11Z", "content_html": "img2ponysay keeps complaining about “Unable to access jarfile ./util-say.jar”, how do i generate or download this file? i can’t find it online
\n\n" }, { "id": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comment_5_2d286ae7bf17a1bcf5fcf790d91ec131/", "title": "comment 5", "url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/#comment-7927a42cf0b3a133c7e8d12fdf646f5e", "author": { "name": "thcipriani" }, "date_published": "2015-03-06T08:34:39Z", "date_modified": "2018-06-13T19:34:11Z", "content_html": "I think the jar used to be included in the util-say repo. You may have to generate it now: try running make
inside the util-say repo and see where that gets you.
yup, make did the trick! thank you! its now working but with a small caveat (easy to fix anyway). When i run cat on the generated TXT or when is displayed as the MOTD, some characaters display before the image:
\nballoon5
\n$$
\n$$
\n$$
\nFixed by editing the TXT file and erasing those lines at the begining, but, is it caused by something i missed? is there a way to prevent that from happening?
\nI’m trying to implement a dynamic auto-generated MOTD
\nBTW, thanks so much for the reply and the tut!
\n\n" }, { "id": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comment_7_af3bb80ee0383f7c3fc76560e8f908d2/", "title": "comment 7", "url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/#comment-655fe0b49ed961827ff88d4845df9fa3", "author": { "name": "thcipriani" }, "date_published": "2015-03-06T10:08:47Z", "date_modified": "2018-06-13T19:34:11Z", "content_html": "@sigilo:disqus I don’t think you missed anything. I think it’s just how that program is designed: it’s meant to make files for use with ponysay https://github.com/erkin/ponys… which is what you’re seeing.
\nYou could try something as simple as ./img2ponysay [whatever] | tr -d \'$balon5\\\\\'
or cook up something with grep -Ev
Sorry not much help—never tried to generate art dynamically.
\n\n" }, { "id": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/comment_8_3aad8f558184cac00ccf5541a0dafb8e/", "title": "comment 8", "url": "https://tylercipriani.com/blog/2014/05/22/creating-baller-useful-motd-ascii-art/#comment-0c46ff6f46e458ffcd9a1ce8dcb24881", "author": { "name": "igmtsaol" }, "date_published": "2015-03-06T10:55:43Z", "date_modified": "2018-06-13T19:34:11Z", "content_html": "I’ll try grep, thanks for your replies, awesome tutorial on generating the MOTD, congrats!
\n\n" } ] }