Document Summarizer AI with Google Gemini
There are several ways to run this application. But firstly -
- Go to Google AI Studio and generate your API Key.
- Store the key somewhere safe.
- Download JDK / JRE (version 21 recommended) from here and install it.
- Download the JAR from the release page.
- Run like this in your shell:
$ java -jar -DAPI_KEY=<your_api_key> tldr-0.0.1-SNAPSHOT.jar
- Visit localhost:8080 and enjoy!
- Download and install docker.
- Download the source code.
- Open a shell and go inside the source code directory.
- Run the following commands to build and run the application:
$ docker build -t tldr . $ docker run -it -p 8080:8080 -e API_KEY='<your_api_key' tldr
- Visit localhost:8080 and enjoy!