{"id":15395979,"url":"https://github.com/walsh9/asciibots","last_synced_at":"2025-08-19T09:11:48.370Z","repository":{"id":80409271,"uuid":"20983101","full_name":"walsh9/asciibots","owner":"walsh9","description":"🔤🔧 Javascript ASCII Robot Generator","archived":false,"fork":false,"pushed_at":"2016-03-26T16:15:06.000Z","size":3739,"stargazers_count":34,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-16T00:15:38.833Z","etag":null,"topics":["ascii-art","cute-robots","javascript","procedural-generation"],"latest_commit_sha":null,"homepage":"https://walsh9.github.io/asciibots/","language":"HTML","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/walsh9.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":"2014-06-19T00:59:43.000Z","updated_at":"2025-03-04T13:12:53.000Z","dependencies_parsed_at":"2023-05-04T00:05:17.236Z","dependency_job_id":null,"html_url":"https://github.com/walsh9/asciibots","commit_stats":{"total_commits":81,"total_committers":2,"mean_commits":40.5,"dds":"0.012345679012345734","last_synced_commit":"3d16a730e7ab703964b5fcb8ae7a38c0f17673c4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walsh9%2Fasciibots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walsh9%2Fasciibots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walsh9%2Fasciibots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walsh9%2Fasciibots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walsh9","download_url":"https://codeload.github.com/walsh9/asciibots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173086,"owners_count":21224484,"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":["ascii-art","cute-robots","javascript","procedural-generation"],"created_at":"2024-10-01T15:30:13.438Z","updated_at":"2025-04-16T00:15:46.075Z","avatar_url":"https://github.com/walsh9.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asciibots.js \n\nBased on [1k ASCII Mini Robot Factory](https://github.com/walsh9/1k-asciibots), but written in readable modern Javascript, without the constraints of fitting into 1k.\n\nInspired by the classic Tomy Pocket Game, [Robot Factory](http://www.masters.me.uk/pocketeers/Htm-Designs/flipflopfaces.htm), the code generates robots using parts from the models below:\n \n       #MRF-000        #MRF-111        #MRF-222        #MRF-333\n        \"Finn\"          \"Glork\"         \"Tilde\"         \"Scone\"\n         ___T_          \\.===./          o___o           T___\n        | o o |         | b d |         //0-0\\\\          |[o]|\n        |__-__|          \\_=_/          |\\_-_/|          \\_-_/\n        /| []|\\       o==|ooo|==o       /|(\\)|\\       7--|=0=|--\u003c \n      ()/|___|\\()        |___|         d |___| b         |___|\n         |_|_|          .'._.'.         . \\_/  .         // \\\\\n         /_|_\\          |_| |_|        . .:::.. .       _\\\\ //_\n\n       #MRF-444        #MRF-555        #MRF-666        #MRF-777\n        \"Flrrx\"        \"Wheldon\"        \"Omex\"         \"Ruffle\" \n          )_(            |---|           .---.            Y__\n         |ooo|           |6=6|          } - - {         _/o o\\_\n         |_#_|           |_o_|           \\_0_/           \\_o_/\n     .-._/___\\_.-.  }-. /\\--o/\\ .-{    .=[::+]=.     )=o=|L88|=o=(\n     :\"  \\___/  \";     \" |___| \"     ]=' [___] '=[   )=o=|___|=o=(\n         (   )            .\".            /| |\\        .  /___\\  .\n        __) (__           |_|           [_] [_]     . ..:::::::.  .\n\n       #MRF-888        #MRF-999        #MRF-AAA        #MRF-BBB\n        \"Sirn\"          \"Tozar\"         \"Ern\"           \"Plux\"\n         .===.           _._._          .=._,=.           .-.\n        //d d\\\\         -)o o(-        ' (q q) `       ._(u u)_.\n        \\\\_u_//          \\_=_/           _)-(_           (_-_)\n        ,=|x|=.     ()ooo|\\=/|ooo() .'c .\"|_|\". n`.    .=(+++)=.\n        'c/_\\  'c        |___|      '--'  /_\\  `--' o=\"  (___)  \"=o\n         /| |\\            |_|           _// \\\\_          (_|_)\n        (0) (0)          (ooo)         /_o| |o_\\         (o|o)\n\n       #MRF-CCC        #MRF-DDD        #MRF-EEE        #MRF-FFF\n       \"Boltez\"         \"Tena\"         \"Boccle\"        \"Morton\"\n         ,_,_,           .===./`          __i          _ _,_,_ _\n         \\9 9/          /.n n.\\          [p q]         \\( q p )/\n         /_-_\\          \"\\_=_/\"           ]-[            \\_\"_/\n       ,\"|+  |\".      (m9\\:::/\\      \u003e===]__o[===\u003c    .==|\u003eo\u003c|==:=L\n       _\\|+__|/_         /___\\6          [o__]        '=c|___|\n         /  |            [] []           ]| |[           /7 [|\n        _\\  |_          /:] [:\\         [_| |_]        \\/7  [|_\n\n# Usage\n\nInclude the script in your page.\n\n`\u003cscript src=\"asciibots.js\"\u003e\u003c/script\u003e`\n\nCall the `.bot()` method on the `Asciibots` object with a specific 3-5 hex digit ID to get a particular combination as a text string. The final three digits indcate the robot's head, its body, and its legs or whatever. See above for reference. The id may be preceded with 2 additional digits which will change its 'eyes' and 'mouth'. \n\n\n    ID Examples:\n                    _\n                   /     T___                 \n            .---3-|      |[o]|     \n            |      \\_    \\_-_/     \n            | __1__/  o==|ooo|==o  \n            ||     \\_    |___|\n            || _6__/     /| |\\\n            |||    \\_   [_] [_]\n            |||\n       ID: \"316\"\n\n\n               __.--- Required (head: 0, body: 5, legs: 9)\n              |||    \n       ID: \"13059\"\n            ||\n            ''------- Optional (mouth: 1, eyes: 3)\n                 \n         ___T_\n        | d b |\n        |__=__|\n    }-. /\\--o/\\ .-{\n       \" |___| \"\n          |_|\n         (ooo)\n\nCalling:\n\n`Asciibots.bot('13059')`\n\nAlways results in:\n\n         ___T_\n        | d b |\n        |__=__|\n    }-. /\\--o/\\ .-{\n       \" |___| \"\n          |_|\n         (ooo)\n\nCall the .bot() method with no parameters to get a random robot as a text string.\n\n`Asciibots.bot()`\n\nHas a 1/1048576 chance of producing\n\n         T___      \n         |[o]|     \n         \\_-_/     \n    ()ooo|\\=/|ooo()\n         |___|     \n         // \\\\     \n        _\\\\ //_    \n\nOr any other combination. If you don't specify a parameter it's random!\n\n#jQuery Plugin\n\nThere's also a jQuery plugin.  This adds the `asciibot()` method to jQuery objects. When you call the `asciibot()` method it will set the text contents of each matched element to an ASCII robot.  Same as the vanilla Javascript version, if you pass a 3-5 digit hex string you will get a specific robot.  If you leave the parameters empty you will get a random robot.\n\n## License\n\nasciibots.js is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalsh9%2Fasciibots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalsh9%2Fasciibots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalsh9%2Fasciibots/lists"}