{"id":23201089,"url":"https://github.com/codedotjs/acuter","last_synced_at":"2025-04-05T09:26:21.955Z","repository":{"id":57172956,"uuid":"60370714","full_name":"CodeDotJS/acuter","owner":"CodeDotJS","description":":bird: NodeJS wrapper for media available on twitter","archived":false,"fork":false,"pushed_at":"2016-06-17T14:24:30.000Z","size":58,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T00:41:16.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/CodeDotJS.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":"2016-06-03T18:52:57.000Z","updated_at":"2023-09-08T17:11:08.000Z","dependencies_parsed_at":"2022-08-24T14:41:08.852Z","dependency_job_id":null,"html_url":"https://github.com/CodeDotJS/acuter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Facuter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Facuter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Facuter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Facuter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDotJS","download_url":"https://codeload.github.com/CodeDotJS/acuter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247314575,"owners_count":20918864,"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":[],"created_at":"2024-12-18T15:13:50.817Z","updated_at":"2025-04-05T09:26:21.921Z","avatar_url":"https://github.com/CodeDotJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\t\u003cbr\u003e\n\t\u003cimg width=\"460\" src=\"https://raw.githubusercontent.com/rishigiridotcom/rishigiri.com/gh-pages/github/4.png\" alt=\"acuter\"\u003e\n\t\u003cbr\u003e\n\t\u003cimg src=\"https://travis-ci.org/CodeDotJS/acuter.svg?branch=master\"\u003e\n\u003c/h1\u003e\n\n\u003e NodeJS API for Twitter media\n\n## Install\n\n```\n$ npm install --save acuter\n```\n\n## Structure\n\n```js\nconst acuter = require('acuter');\n\nacuter.options('username/links').then(mediaLink =\u003e {\n\tconsole.log(mediaLink);\n\t// =\u003e get the URL\n})\n```\n__Options :__ \u003cbr\u003e\u003ccode\u003e__profile__ \u0026nbsp;:\u0026nbsp; username\u003c/code\u003e \u003cbr\u003e \u003ccode\u003e__cover__ \u0026nbsp;\u0026nbsp;\u0026nbsp;:\u0026nbsp; username\u003c/code\u003e \u003cbr\u003e \u003ccode\u003e__single__ \u0026nbsp;\u0026nbsp;:\u0026nbsp; tweet's link\u003c/code\u003e \u003cbr\u003e \u003ccode\u003e__preview__ \u0026nbsp;:\u0026nbsp; tweet's link\u003c/code\u003e \u003cbr\u003e \u003ccode\u003e__gif__ \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;:\u0026nbsp; tweet's link\u003c/code\u003e\n\u003cbr\u003e \u003ccode\u003e__vidPrev__ \u0026nbsp;:\u0026nbsp; tweet's link\u003c/code\u003e\n\n## Usage\n\n\u003ccode\u003e__There are multiple uses of ```acuter```, it extracts :__\u003c/code\u003e\n\n✔ \u003ccode\u003eProfile picture's url of a twitter user : \u003c/code\u003e\n\n__Example :__\n\n```js\nconst acuter = require('acuter');\n\nacuter.profile('Rishi_Giri_').then(imgLink =\u003e {\n\tconsole.log(imgLink);\n\t// =\u003e https://pbs.twimg.com/.../Lmp-G_Vm_400x400.jpg\n});\n```\n\n✔ \u003ccode\u003eCover image's url of a twiter user : \u003c/code\u003e\n\n__Example :__\n\n```js\nconst acuter = require('acuter');\n\nacuter.cover('Rishi_Giri_').then(imgLink =\u003e {\n\tconsole.log(imgLink);\n\t// =\u003e https://pbs.twimg.com/.../1384327436/1500x500\n});\n```\n\n✔ \u003ccode\u003eSingle image's url, shared on twitter : \u003c/code\u003e\n\n__Example :__\n\n```js\nconst acuter = require('acuter');\n\nacuter.single('https://twitter.com/.../738792492510').then(imgLink =\u003e {\n\tconsole.log(imgLink);\n\t// =\u003e https://pbs.twimg.com/.../CkC32IeUYAAcZnZ.jpg\n});\n```\n\n✔ \u003ccode\u003ePreview of a __```gif```__ available on twitter : \u003c/code\u003e\n\n__Example :__\n\n```js\nconst acuter = require('acuter');\n\nacuter.preview('https://twitter.com/.../7340008544').then(imgLink =\u003e {\n\tconsole.log(imgLink);\n\t// =\u003e https://pbs.twimg.com/.../Ci-xqR8WEAAoYtK.jpg\n});\n```\n\n✔ \u003ccode\u003eDownloadable __```link```__ of __a ```gif```__ from user's tweet's url : \u003c/code\u003e\n\n__Example :__\n\n```js\nconst acuter = require('acuter');\n\nacuter.gif('https://twitter.com/.../734001198752544').then(gifLink =\u003e {\n\tconsole.log(gifLink);\n\t// =\u003e https://pbs.twimg.com/.../Ci-xqR8WEAAoYtK.mp4\n});\n```\n\n✔ \u003ccode\u003ePreview __```link```__ of a __```video```__ available on twitter : \u003c/code\u003e\n\n__Example :__\n\n```js\nconst acuter = require('acuter');\n\nacuter.vidPrev('https://twitter.com/video../738..028').then(gifLink =\u003e {\n\tconsole.log(gifLink);\n\t// =\u003e https://o.twimg.com/../proxy.jpg...SAFSDFUYY\n});\n```\n\n## Related\n\n- [twiger](https://github.com/CodeDotJS/twiger) : Download media available on twitter with an ease.\n\n## License\n\nMIT \u0026copy; [Rishi Giri](http://rishigiri.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Facuter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedotjs%2Facuter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Facuter/lists"}