{"id":13483265,"url":"https://github.com/joehand/hypertweet","last_synced_at":"2025-04-30T09:09:53.596Z","repository":{"id":57270274,"uuid":"88931606","full_name":"joehand/hypertweet","owner":"joehand","description":"concept tweet -\u003e hypercore thingy","archived":false,"fork":false,"pushed_at":"2017-04-22T02:20:27.000Z","size":620,"stargazers_count":72,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T09:09:45.617Z","etag":null,"topics":["dat","hypercore"],"latest_commit_sha":null,"homepage":"https://hypertweet.glitch.me/","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/joehand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-21T02:38:48.000Z","updated_at":"2025-04-09T10:11:53.000Z","dependencies_parsed_at":"2022-09-02T05:41:13.702Z","dependency_job_id":null,"html_url":"https://github.com/joehand/hypertweet","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joehand%2Fhypertweet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joehand%2Fhypertweet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joehand%2Fhypertweet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joehand%2Fhypertweet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joehand","download_url":"https://codeload.github.com/joehand/hypertweet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251674576,"owners_count":21625644,"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":["dat","hypercore"],"created_at":"2024-07-31T17:01:09.508Z","updated_at":"2025-04-30T09:09:53.576Z","avatar_url":"https://github.com/joehand.png","language":"JavaScript","funding_links":[],"categories":["Dat Applications","Modules"],"sub_categories":["Community Applications"],"readme":"# hypertweet\n\nProof of concept Twitter + [Dat](https://datproject.org) feed stream thingy.\n\nStreams your twitter feed to a [hypercore](https://github.com/mafintosh/hypercore) feed. Pretty print your feed or stream it anywhere with [hyperpipe](https://github.com/mafintosh/hyperpipe).\n\n![hypertweet](https://raw.githubusercontent.com/joehand/hypertweet/master/hypertweet.png)\n\n## Install\n\n```sh\nnpm install -g hypertweet\n\nhypertweet --help # see help!\n```\n\n### Set twitter tokens\n\n[Get Twitter developer key](https://apps.twitter.com/) and either set them as environment variables or copy `.sample.env` to `.env` file.\n\n```\nprocess.env.TWITTER_CONSUMER_KEY,\nprocess.env.TWITTER_CONSUMER_SECRET\nprocess.env.TWITTER_ACCESS_TOKEN_KEY,\nprocess.env.TWITTER_ACCESS_TOKEN_SECRET\n```\n\n## Usage\n\nUse `hypertweet --help` to see all the options.\n\n### Collect Feed Data\n\nStreams your feed into a hypercore feed:\n\n```sh\n❯ hypertweet --dir=/joe/my-twitter-data/\nsharing 0c3ec59a8111fde379e7ef82e6610ec02daf6bd3b704f41554cd5fe76afd5cc4\n\n2017-04-21T02:20:24.205Z tweet by: 'some twitter user'\n2017-04-21T02:20:25.000Z tweet by: 'more chirps'\n2017-04-21T02:20:30.043Z tweet by: 'asdf'\n```\n\n### Print anywhere\n\nPretty print it in another terminal (or another computer anywhere):\n\n```sh\n❯ hypertweet 0c3ec59a8111fde379e7ef82e6610ec02daf6bd3b704f41554cd5fe76afd5cc4\n\n# pretty tweets here\n```\n\n### Or pipe\n\nPipe anywhere to anything.\n\n```sh\nnpm install -g hyperpipe\nhyperpipe /db 0c3ec59a8111fde379e7ef82e6610ec02daf6bd3b704f41554cd5fe76afd5cc4 \u003e data.json\n```\n\n## API\n\n### `hypertweet(dir|storage, [opts], callback(err, feed))`\n\nCreate a stream from the twitter API and share via hypercore `feed`. Automatically joins network via `discovery-swarm`.\n\n* `dir|storage`: directory or random access module, e.g `random-access-memory`.\n* `opts.streamUrl`: the [twitter streaming api](https://dev.twitter.com/streaming/overview) endpoint you want. defaults to user.\n* `opts.streamOpts`: stream opts\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoehand%2Fhypertweet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoehand%2Fhypertweet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoehand%2Fhypertweet/lists"}