An electron app that runs a prompt against PDFs and displays the results in a table.
- You need Ollama installed.
- Clone the repository:
git clone https://github.com/yourusername/pdfs-to-table.git
cd pdfs-to-table
- Install dependencies:
npm install
- Start Ollama with your preferred model. The default is hard-coded in index.html to gemma2.
ollama run gemma2
- Start the application:
npm start
-
Select Files: Click the "Choose Files" button to select multiple PDF files or a folder containing PDFs.
-
Process Files: Click the "Run" button to begin processing. The progress bar will show the current status.
-
View Results: After processing, results will appear in the table showing:
- Filename: The name of each processed PDF
- Result: The output from Ollama for each file
🤷 The code in this repo is an experiment built with Windsurf, Claude 3.7 Sonnet, and Claude 3.5 Sonnet.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
