Link to the plugin page:
Demo to preview the plugin:
Introduction
The Document Reader and Word Counter plugin is a no-code tool designed to read document content and calculate word counts. It supports .docx, .pdf, and .txt file formats seamlessly, enabling you to retrieve document text or count words effortlessly.
The word count for PDFs may differ slightly due to the presence of symbols or formatting artifacts.
Key Features
Feature | Description |
File Format Support | Read and process .docx, .pdf, and .txt files with ease. |
Extract Content | Retrieve the full text content of uploaded documents. |
Word Count | Get an accurate count of the words in the document (with minor PDF limitations). |
Real-Time Processing | Process uploaded files and display results in real-time. |
Prerequisites
To use the Document Reader and Word Counter Plugin for Bubble by Zeroqode, ensure the following:
- You must have an active Bubble account.
- The plugin should be installed from the Zeroqode Plugin Marketplace or added directly from the plugin page.
How to setup
Step 1: Install the Plugin
Step 2: Add the Plugin Elements
Step 3: Configure the Plugin Output
Step 4: Test Your Setup
Plugin Element Properties
Document Uploader
Fields:
Title | Description | Type |
Placeholder | Placeholder text displayed in the input field. | Text |
Input color | The color of the input field's background (optional). | Color (optional) |
Initial content | A pre-uploaded file for initialization (optional). | File (optional) |
Element Actions
1. Count words
Triggers the plugin to count the words in an uploaded document.
Title | Description | Type |
Input file | The file to be processed for word counting. | File |
Extension | The file extension (e.g., .docx, .pdf, .txt). | Text |
2. Reset
This resets the plugin states and clears the uploaded file.
Title | Description | Type |
Content | The extracted content from the uploaded document. | Text |
Word Count | The total word count of the uploaded document. | Number |
Is loading | Indicates if the plugin is currently processing a file. | Checkbox (yes/no) |
Is valid | Indicates whether the uploaded file has a valid extension. | Checkbox (yes/no) |