{"id":16489731,"url":"https://github.com/phfaist/flm-citations","last_synced_at":"2025-05-15T11:34:03.969Z","repository":{"id":136672622,"uuid":"530302975","full_name":"phfaist/flm-citations","owner":"phfaist","description":"Extra citations support for FLM","archived":false,"fork":false,"pushed_at":"2024-08-05T08:35:25.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T10:57:00.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/phfaist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-29T16:30:51.000Z","updated_at":"2024-08-05T08:35:28.000Z","dependencies_parsed_at":"2025-02-12T21:41:33.214Z","dependency_job_id":null,"html_url":"https://github.com/phfaist/flm-citations","commit_stats":null,"previous_names":["phfaist/flm-citations"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfaist%2Fflm-citations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfaist%2Fflm-citations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfaist%2Fflm-citations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfaist%2Fflm-citations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phfaist","download_url":"https://codeload.github.com/phfaist/flm-citations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254330900,"owners_count":22053076,"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-10-11T13:45:12.562Z","updated_at":"2025-05-15T11:34:03.936Z","avatar_url":"https://github.com/phfaist.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extra citations support for FLM\n\nSee the [FLM README file](https://github.com/phfaist/flm/blob/main/README.md).\n\nInstall with:\n```bash\n$ pip install flm-citations\n```\n\nUse the additional config front matter in your FLM files to enable citations\nwith automatic citation retrieval from arXiv, DOI, etc.\n```yaml\n---\n$import:\n  -  pkg:flm_citations\nbibliography:\n  - my-csl-bibliography.yaml\n---\n```\n\nThen process your file as usual with `flm`.\n\nThe bibliography file(s) you provide (in the example above,\n`my-csl-bibliography.yaml`) should be in CSL JSON or CSL YAML\nformat.  They can easily be exported from Zotero, for example.\n\nWith the default configuration, the following citation keys are\nprocessed:\n- `\\cite{arXiv:XXXX.YYYYY}` - fetch citation information from\n  the [arXiv](https://arxiv.org/), and from its corresponding\n  DOI if applicable.\n- `\\cite{doi:XXX}` - fetch citation information using its DOI\n- `\\cite{manual:{X et al., Journal of Future Results (2034)}}` -\n  manual citation text\n- `\\cite{bib:BibKey2023}` - use a citation from any of your\n  bibliography files specified in your document front matter.\n  \n### In case `citeproc` chokes on certain entries fetched by DOI\n\nSometimes automatically generated citeproc/JSON entries fetched\nthrough various available online APIs (doi.org, crossref.org,\narXiv.org, etc.) might not be fully conforming or exactly\nmatching the structure expected by the\n[`citeproc-py` citation formatting library](https://github.com/brechtm/citeproc-py)\nthat this project uses.  If you run against such issues, you\nmight consider installing a patched version of the library that\nsmoothed out some issues I had in the past; you can install it\nwith\n```\n\u003e pip install git+https://github.com/phfaist/citeproc-py.git@pr-branch\n```\nuntil my [upstream PR](https://github.com/brechtm/citeproc-py/pull/132)\nis considered.\n\n\n### Metadata Fetching\n\nThank you to [arXiv](https://arxiv.org/) and\n[doi.org](https://doi.org/) for use of their open access\ninteroperability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphfaist%2Fflm-citations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphfaist%2Fflm-citations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphfaist%2Fflm-citations/lists"}