{"id":22395985,"url":"https://github.com/animesh-algorithm/chat-with-pdf-cli","last_synced_at":"2025-03-26T23:13:43.648Z","repository":{"id":171623105,"uuid":"647820307","full_name":"animesh-algorithm/chat-with-pdf-cli","owner":"animesh-algorithm","description":"Chat with PDF documents","archived":false,"fork":false,"pushed_at":"2023-06-06T08:38:01.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-28T17:04:19.618Z","etag":null,"topics":["chatgpt","langchain-js","language-model","llms"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/chat-with-pdf","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/animesh-algorithm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-31T15:30:42.000Z","updated_at":"2023-06-06T14:00:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"a70a54bc-7fec-4137-b6d6-a6c0f80423fa","html_url":"https://github.com/animesh-algorithm/chat-with-pdf-cli","commit_stats":null,"previous_names":["animesharma3/chat-with-pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animesh-algorithm%2Fchat-with-pdf-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animesh-algorithm%2Fchat-with-pdf-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animesh-algorithm%2Fchat-with-pdf-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animesh-algorithm%2Fchat-with-pdf-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/animesh-algorithm","download_url":"https://codeload.github.com/animesh-algorithm/chat-with-pdf-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749905,"owners_count":20666086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","langchain-js","language-model","llms"],"created_at":"2024-12-05T06:06:32.013Z","updated_at":"2025-03-26T23:13:43.628Z","avatar_url":"https://github.com/animesh-algorithm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat with PDF\n\nChat with PDF is a command-line application that allows you to have a conversational question-and-answer session with an AI-powered chatbot based on the contents of a PDF document.\n\n## Installation\n\n### Install the npm Package\n\nTo install the Chat with PDF npm package globally, make sure you have Node.js and npm (Node Package Manager) installed on your machine. If not, you can download them from [here](https://nodejs.org).\n\nOpen your terminal or command prompt and run the following command:\n\n```bash\nnpm install -g chat-with-pdf\n```\n\n### Clone the Repository\n\nTo clone the GitHub repository, run the following command:\n\n```bash\ngit clone https://github.com/animesharma3/chat-with-pdf.git\n```\n\n## Usage\n\n### Command Line\n\n1. Open your terminal or command prompt.\n\n2. Set the `OPENAI_API_KEY` environment variable using the command line:\n\n   ```bash\n   export OPENAI_API_KEY=your_openai_api_key\n   ```\n\n   Replace `your_openai_api_key` with your actual OpenAI API key.\n\n3. Run the application using the following command:\n\n   ```bash\n   chat-with-pdf\n   ```\n\n4. Follow the prompts to provide the path to the PDF document and ask questions to interact with the chatbot.\n\n### Visual Studio and C++ Development\n\n1. Download and install Visual Studio from [here](https://visualstudio.microsoft.com/downloads/).\n\n2. During the installation process, make sure to select \"Desktop development with C++\" from the available workloads.\n\n3. Open your terminal or command prompt.\n\n4. Set the `OPENAI_API_KEY` environment variable using the command line:\n\n   ```bash\n   export OPENAI_API_KEY=your_openai_api_key\n   ```\n\n   Replace `your_openai_api_key` with your actual OpenAI API key.\n\n5. Run the application using the following command:\n\n   ```bash\n   node chat\n   ```\n\n6. Follow the prompts to provide the path to the PDF document and ask questions to interact with the chatbot.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimesh-algorithm%2Fchat-with-pdf-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanimesh-algorithm%2Fchat-with-pdf-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimesh-algorithm%2Fchat-with-pdf-cli/lists"}