An open API service indexing awesome lists of open source software.

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.

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.

[![GitHub issues](https://img.shields.io/github/issues/maehr/zotero-bib-to-gh.svg)](https://github.com/maehr/zotero-bib-to-gh/issues)
[![GitHub forks](https://img.shields.io/github/forks/maehr/zotero-bib-to-gh.svg)](https://github.com/maehr/zotero-bib-to-gh/network)
[![GitHub stars](https://img.shields.io/github/stars/maehr/zotero-bib-to-gh.svg)](https://github.com/maehr/zotero-bib-to-gh/stargazers)
[![GitHub license](https://img.shields.io/github/license/maehr/zotero-bib-to-gh.svg)](https://github.com/maehr/zotero-bib-to-gh/blob/master/LICENSE.md)
[![Updates](https://pyup.io/repos/github/maehr/zotero-bib-to-gh/shield.svg)](https://pyup.io/repos/github/maehr/zotero-bib-to-gh/)
[![Maintainability](https://api.codeclimate.com/v1/badges/50666ec594690e44d25f/maintainability)](https://codeclimate.com/github/maehr/zotero-bib-to-gh/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/50666ec594690e44d25f/test_coverage)](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.

In Settings/Actions/General `https://github.com/maehr/zotero-bib-to-gh/settings/actions` assign `read and write permissions`.

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