{"id":16773233,"url":"https://github.com/aeksco/hardcider","last_synced_at":"2025-03-23T15:31:12.054Z","repository":{"id":57261364,"uuid":"156809804","full_name":"aeksco/hardcider","owner":"aeksco","description":":beer: CLI for quickly generating citations for websites and books","archived":false,"fork":false,"pushed_at":"2018-11-14T19:37:57.000Z","size":439,"stargazers_count":18,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T21:51:02.032Z","etag":null,"topics":["bibliography","citation","cli","commanderjs","ieee","mla","node","puppeteer"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hardcider","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/aeksco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-11-09T04:22:06.000Z","updated_at":"2025-01-17T14:29:08.000Z","dependencies_parsed_at":"2022-08-25T05:10:11.477Z","dependency_job_id":null,"html_url":"https://github.com/aeksco/hardcider","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/aeksco%2Fhardcider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeksco%2Fhardcider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeksco%2Fhardcider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeksco%2Fhardcider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeksco","download_url":"https://codeload.github.com/aeksco/hardcider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122739,"owners_count":20564364,"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":["bibliography","citation","cli","commanderjs","ieee","mla","node","puppeteer"],"created_at":"2024-10-13T06:45:09.395Z","updated_at":"2025-03-23T15:31:11.659Z","avatar_url":"https://github.com/aeksco.png","language":"JavaScript","readme":"# hardcider\n:beer: Create citations from the command line\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://npmcharts.com/compare/hardcider?minimal=true\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/hardcider.svg\" alt=\"Downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/hardcider\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/hardcider.svg\" alt=\"Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/hardcider\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/hardcider.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/aeksco/hardcider/master/demo.gif\" width=\"100%\"/\u003e\n\n\n### Installation\nRun the following command to install `hardcider` - requires Node.js 8.x and higher\n\n```shell\nnpm install -g hardcider\n```\n\n\n### Usage\n\n- **`hardcider website \u003curl\u003e`** - create a website citation from a URL\n\n- **`hardcider book \u003cisbn\u003e`** - create a book citation from an ISBN-10 or ISBN-13\n\n\n### Example\n\n```shell\n$ hardcider website --mla https://en.wikipedia.org/wiki/John_Coltrane\n\nFetching MLA citation...\n\n“John Coltrane.” Wikipedia, Wikimedia Foundation, 24 Oct. 2018, en.wikipedia.org/wiki/John_Coltrane.\n```\n\n\n**Flags**\n\nThe following flags apply to both the `website` and `book` commands\n\n- `--mla` - returns an [MLA](https://owl.purdue.edu/owl/research_and_citation/mla_style/mla_style_introduction.html) Formatted Citation (default)\n- `--apa` - returns an [APA](https://owl.purdue.edu/owl/research_and_citation/apa_style/apa_style_introduction.html) Formatted Citation\n- `--chicago` - returns a [Chicago](https://www.chicagomanualofstyle.org/home.html) Formatted Citation\n- `--ieee` - returns an [IEEE](https://pitt.libguides.com/citationhelp/ieee) Formatted Citation\n- `--bibtex` - returns an [BibTeX](http://www.bibtex.org/) Formatted Citation\n\n\n### Thanks\n\nBuilt with [commanderjs](https://github.com/tj/commander.js/), [chalk](https://github.com/chalk/chalk), [puppeteer](https://github.com/GoogleChrome/puppeteer/), and [citationmachine.net](http://www.citationmachine.net/). Open Source under the [MIT License](https://opensource.org/licenses/MIT).\n\n\n### Note\n\nThis implementation uses [puppeteer](https://github.com/GoogleChrome/puppeteer/), a headless Chromium browser to navigate through a series of forms on [citationmachine.net](http://www.citationmachine.net/). It's faster than manually using any citation website I've come across, but it's admittedly a resource-intensive approach.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeksco%2Fhardcider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeksco%2Fhardcider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeksco%2Fhardcider/lists"}