https://github.com/maehr/zotero-bib-to-gh
GitHub action to retrieve Zotero collection in BibLaTeX format and save it as GitHub repository.
https://github.com/maehr/zotero-bib-to-gh
biblatex bibtex zotero zotero-api
Last synced: about 2 months ago
JSON representation
GitHub action to retrieve Zotero collection in BibLaTeX format and save it as GitHub repository.
- Host: GitHub
- URL: https://github.com/maehr/zotero-bib-to-gh
- Owner: maehr
- License: mit
- Created: 2020-03-04T07:38:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T13:58:35.000Z (about 1 year ago)
- Last Synced: 2024-10-12T21:12:52.682Z (about 1 year ago)
- Topics: biblatex, bibtex, zotero, zotero-api
- Language: TeX
- Homepage: https://maehr.github.io/zotero-bib-to-gh/
- Size: 450 KB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Zotero BibLaTeX to GitHub
GitHub action to automatically retrieve your Zotero collection in BibLaTeX format at 8:00, 12:00 and 18:00 and save it as GitHub repository.
[](https://github.com/maehr/zotero-bib-to-gh/issues)
[](https://github.com/maehr/zotero-bib-to-gh/network)
[](https://github.com/maehr/zotero-bib-to-gh/stargazers)
[](https://github.com/maehr/zotero-bib-to-gh/blob/master/LICENSE.md)
[](https://pyup.io/repos/github/maehr/zotero-bib-to-gh/)
[](https://codeclimate.com/github/maehr/zotero-bib-to-gh/maintainability)
[](https://codeclimate.com/github/maehr/zotero-bib-to-gh/test_coverage)
## Installation
Make sure you have a [Zotero.org](https://www.zotero.org) account and sync your local installation with it.
- [Use this template](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) or [fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) this repo.
- Get `userID` from Zotero

- Add `userID` as value of `ZOTERO_USER_ID` to [GitHub secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) of your repo
- Create a new `API Key` for Zotero . If you grant access to group libraries, they are also retrieved.
- Copy the new `API Key`
- Add `API Key` as value of `ZOTERO_BEARER_TOKEN` to the [GitHub secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) of your repo
### Setting Permissions for Manual Workflow Runs
To manually run the workflow, ensure that your GitHub repository has the appropriate permissions set. You need to assign workflow permissions that allow the execution of workflows manually. This is crucial for triggering the workflow as per your requirements.

For detailed steps on setting these permissions, refer to the GitHub documentation on [manually running a workflow](https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow). Make sure to review and adjust the permissions under your repository's settings to align with your workflow needs.
## Usage
Copy the link to (i.e. ).
Change `.github/workflows/zotero-bib-to-git.yml` to adjust the cronjob to your needs or run it [manually](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow) (check out [crontab.guru](https://crontab.guru/) if you are not familiar with cronjobs).
```YAML
on:
schedule:
- cron: "0 8,12,18 * * *"
```
## Support
This project is maintained by [@maehr](https://github.com/maehr). Please understand that we won't be able to provide individual support via email. We also believe that help is much more valuable if it's shared publicly, so that more people can benefit from it.
| Type | Platforms |
| ---------------------- | ------------------------------------------------------------ |
| ๐จ **Bug Reports** | [GitHub Issue Tracker](https://github.com/maehr/zotero-bib-to-gh/issues) |
| ๐ **Feature Requests** | [GitHub Issue Tracker](https://github.com/maehr/zotero-bib-to-gh/issues) |
| ๐ก **Report a security vulnerability** | [GitHub Issue Tracker](https://github.com/maehr/zotero-bib-to-gh/issues) |
## Roadmap
No changes are currently planned.
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/maehr/zotero-bib-to-gh/tags).
## Authors and acknowledgment
- **Moritz Mรคhr** - _Initial work_ - [maehr](https://github.com/maehr)
See also the list of [contributors](https://github.com/maehr/zotero-bib-to-gh/graphs/contributors) who participated in this project.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details