Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/synacktraa/pdf-service
Node js PDF service
https://github.com/synacktraa/pdf-service
Last synced: about 1 month ago
JSON representation
Node js PDF service
- Host: GitHub
- URL: https://github.com/synacktraa/pdf-service
- Owner: synacktraa
- Created: 2024-05-18T19:05:03.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-19T11:06:50.000Z (8 months ago)
- Last Synced: 2024-05-19T20:42:26.077Z (8 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## PDF reader service
> I crafted this for my own enjoyment, involving the chunking of PDFs and their storage in a vector store for Retrieval-Augmented Generation (RAG) purposes.## Installation
> Make sure [node](https://nodejs.org/en/download/package-manager) is already installed.```sh
git clone [email protected]:synacktraa/pdf-service.git
```## Serve the API
```sh
npm run serve
```
> Visit `/endpoints` for documentation.#### Run the test
```sh
npm run test
```### As a docker service
- Build the image
```sh
docker build -t pdf-service .
```- Run the image
```sh
docker run -p 3000:3000 pdf-service
```
> Make sure to update `-p` value accordingly if you're using `--env-file .env`