{"id":20918428,"url":"https://github.com/twm/carrotbot","last_synced_at":"2026-04-14T00:31:50.443Z","repository":{"id":9343367,"uuid":"11192650","full_name":"twm/carrotbot","owner":"twm","description":"IRC bot which espouses root-vegetable related \"facts\".","archived":false,"fork":false,"pushed_at":"2016-12-13T01:34:41.000Z","size":1205,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-31T16:09:45.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twm.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-05T05:56:45.000Z","updated_at":"2021-08-08T22:46:19.000Z","dependencies_parsed_at":"2022-09-14T01:12:36.792Z","dependency_job_id":null,"html_url":"https://github.com/twm/carrotbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/twm/carrotbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcarrotbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcarrotbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcarrotbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcarrotbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twm","download_url":"https://codeload.github.com/twm/carrotbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcarrotbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31776901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T00:11:49.126Z","status":"ssl_error","status_checked_at":"2026-04-14T00:10:29.837Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-18T16:38:51.620Z","updated_at":"2026-04-14T00:31:50.417Z","avatar_url":"https://github.com/twm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"=========\ncarrotbot\n=========\n\nAn IRC bot which espouses root-vegetable related \"facts\".  This version\nsupports the \".carrot\" and \".turnip\" commands.\n\nBuilding\n--------\n\nCarrotbot is written in Go using the `GoIRC library \u003chttps://github.com/fluffle/goirc\u003e`.\nDependencies are managed with `Glide \u003chttps://glide.sh\u003e` and the ``vendor`` directory is checked in.\nTo build you will need a functioning Go install (I use 1.7, but older versions will likely work) and ``GOPATH`` set.\nThen::\n\n    go build .\n\nQuote Databases\n---------------\n\nTwo formats are supported for quote databases: a newline-delimited UTF-8 text\nfile, or JSON.  The filetype of the database is indicated by the filename\nextension, either \".txt\" or \".json\".\n\nThe JSON format is compatible with the output of `twistorpy\n\u003chttps://github.com/fisadev/twistorpy\u003e`_.  It is an array of object literals\nwith at least \"id\" (integer) and \"text\" (string) properties.  For example, to\ngenerate one for `@RealCarrotFacts \u003chttps://twitter.com/RealCarrotFacts\u003e`::\n\n    $ python2.7 twistorpy.py RealCarrotFacts carrots.json\n\nUpdates can be done thereafter with the same command.\n\nConfiguration\n-------------\n\nConfiguration is done via a file in the TOML format, by default\n``config.toml``, but configurable via the ``-config`` flag.  An example::\n\n    [irc]\n    server = \"irc.freenode.net:7000\"\n    ssl = true\n    user = \"fontofwisdom\"\n    password = \"supersekrit\"\n    nick = \"fontofwisdom\"\n    name = \"Font of Wisdom\"\n    channel = \"#your-channel\"\n\n    [facts]\n    carrots = \"carrots.json\"\n    turnips = \"turnips.txt\"\n\n    [logging]\n    # log to stderr rather than the systemd journal\n    journal = false\n    # debug logs include everything said in the channel\n    debug = true\n\ncarrotbot has only been tested against Freenode's servers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwm%2Fcarrotbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwm%2Fcarrotbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwm%2Fcarrotbot/lists"}