|
| 1 | +[](https://www.gnu.org/licenses/gpl-3.0) |
| 2 | +[](https://jcs-emacs.github.io/jcs-elpa/#/google-gemini) |
| 3 | + |
1 | 4 | # google-gemini |
2 | | -Elisp library for the Google Gemini API |
| 5 | +> Elisp library for the Google Gemini API |
| 6 | +
|
| 7 | +[](https://github.com/emacs-openai/google-gemini/actions/workflows/test.yml) |
| 8 | + |
| 9 | +The Google Gemini Elisp library provides convenient access to the Gemini API from |
| 10 | +applications written in the Elisp language. |
| 11 | + |
| 12 | +*P.S. This package is expected to be used as a library, so there are only a few |
| 13 | +interactable commands you can use, and those are mostly examples.* |
| 14 | + |
| 15 | +## 📚 Documentation |
| 16 | + |
| 17 | +- [Google AI for Developers - REST API](https://ai.google.dev/tutorials/rest_quickstart) |
| 18 | + |
| 19 | +## 🛠️ Contribute |
| 20 | + |
| 21 | +[](http://makeapullrequest.com) |
| 22 | +[](https://github.com/bbatsov/emacs-lisp-style-guide) |
| 23 | +[](https://www.paypal.me/jcs090218) |
| 24 | +[](https://www.patreon.com/jcs090218) |
| 25 | + |
| 26 | +If you would like to contribute to this project, you may either |
| 27 | +clone and make pull requests to this repository. Or you can |
| 28 | +clone the project and establish your own branch of this tool. |
| 29 | +Any methods are welcome! |
| 30 | + |
| 31 | + |
| 32 | +### 🔬 Development |
| 33 | + |
| 34 | +To run the test locally, you will need the following tools: |
| 35 | + |
| 36 | +- [Eask](https://emacs-eask.github.io/) |
| 37 | +- [Make](https://www.gnu.org/software/make/) (optional) |
| 38 | + |
| 39 | +Install all dependencies and development dependencies: |
| 40 | + |
| 41 | +```sh |
| 42 | +$ eask install-deps --dev |
| 43 | +``` |
| 44 | + |
| 45 | +To test the package's installation: |
| 46 | + |
| 47 | +```sh |
| 48 | +$ eask package |
| 49 | +$ eask install |
| 50 | +``` |
| 51 | + |
| 52 | +To test compilation: |
| 53 | + |
| 54 | +```sh |
| 55 | +$ eask compile |
| 56 | +``` |
| 57 | + |
| 58 | +**🪧 The following steps are optional, but we recommend you follow these lint results!** |
| 59 | + |
| 60 | +The built-in `checkdoc` linter: |
| 61 | + |
| 62 | +```sh |
| 63 | +$ eask lint checkdoc |
| 64 | +``` |
| 65 | + |
| 66 | +The standard `package` linter: |
| 67 | + |
| 68 | +```sh |
| 69 | +$ eask lint package |
| 70 | +``` |
| 71 | + |
| 72 | +*📝 P.S. For more information, find the Eask manual at https://emacs-eask.github.io/.* |
| 73 | + |
| 74 | +## ⚜️ License |
| 75 | + |
| 76 | +This program is free software; you can redistribute it and/or modify |
| 77 | +it under the terms of the GNU General Public License as published by |
| 78 | +the Free Software Foundation, either version 3 of the License, or |
| 79 | +(at your option) any later version. |
| 80 | + |
| 81 | +This program is distributed in the hope that it will be useful, |
| 82 | +but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 83 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 84 | +GNU General Public License for more details. |
| 85 | + |
| 86 | +You should have received a copy of the GNU General Public License |
| 87 | +along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 88 | + |
| 89 | +See [`LICENSE`](./LICENSE) for details. |
0 commit comments