{"id":20045441,"url":"https://github.com/z0w0/atsaty","last_synced_at":"2026-06-11T05:31:14.626Z","repository":{"id":5040539,"uuid":"6200484","full_name":"z0w0/atsaty","owner":"z0w0","description":"A tweet says a thousand yeps","archived":false,"fork":false,"pushed_at":"2014-05-05T11:53:19.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-20T14:54:20.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.org/package/atsaty","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/z0w0.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":"2012-10-13T06:25:45.000Z","updated_at":"2020-07-29T01:38:45.000Z","dependencies_parsed_at":"2022-09-12T06:30:21.834Z","dependency_job_id":null,"html_url":"https://github.com/z0w0/atsaty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z0w0/atsaty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0w0%2Fatsaty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0w0%2Fatsaty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0w0%2Fatsaty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0w0%2Fatsaty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0w0","download_url":"https://codeload.github.com/z0w0/atsaty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0w0%2Fatsaty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34184779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-13T11:07:19.526Z","updated_at":"2026-06-11T05:31:14.609Z","avatar_url":"https://github.com/z0w0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Atsaty\n\n*A tweet says a thousand yeps...*\n\nAtsaty acts like `yes`, but instead of always outputting yeps,\nit uses [sentiment analysis](https://github.com/thisandagain/sentiment) to\nfind the current mood of English-speaking tweeters on Twitter.\nIf there are more positive tweeters than negative, it outputs yep, otherwise\nit outputs nope.\n\n```sh\n$ atsaty\ny\ny\ny\n...\n```\n\n```js\nvar atsaty = require(\"atsaty\");\n\natsaty(function(err, yep) {\n    if(yep) console.log(\"Everyone on Twitter seems to be happy\");\n    else console.log(\"Tweeters are crying at the moment\");\n});\n\natsaty(\"from:z0w0\", function(err, yep) {\n    if(yep) console.log(\"The creator of this pointless thing is happy\");\n    else console.log(\"The creator is sad, T__T\");\n});\n```\n\n## Installation\n\n```sh\nnpm install -g atsaty\n```\n\n## Usage\n\n```\natsaty --help\n\n  Usage: atsaty [options]\n\n  Options:\n\n    -h, --help        output usage information\n    -V, --version     output the version number\n    -y, --yep \u003cmsg\u003e   Message to output for yep\n    -n, --nope \u003cmsg\u003e  Message to output for nope\n\n```\n\n### Examples\n\n```sh\n$ atsaty\ny\ny\ny\n...\n```\n\n```sh\n$ atsaty from:z0w0\nn\nn\nn\n...\n```\n\n## API\n\n### atsaty([query,] cb)\n\nUses the [Twitter Search API](https://dev.twitter.com/docs/using-search)\nand sentiment analysis to figure out how Twitter is currently feeling.\n\nIf `query` is provided, then it will check the mood of a specific search\nquery instead of the entire Twitter community (e.g. \"#racist #cats\").\n\nThe callback will be called with an error or `null` as its first argument,\n`false` as its second if there are no positive tweets or there\nare more negative tweets than positive ones, otherwise it calls with a second\nargument of `true`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0w0%2Fatsaty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0w0%2Fatsaty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0w0%2Fatsaty/lists"}