directus-extension-texttoanything
Currently in Beta please report any issues you encounter
Introduction
Do you want to create PDFs, barcodes, and QR codes within Directus?
This extension bundle offers the required operations to achieve that!
Setup
To install the package, use either npm or yarn:
npm i directus-extension-texttoanything
or
yarn add directus-extension-texttoanything
Restart your Directus instance to complete the installation of the extension.
After restarting you will see the operations appear. Every operation will ask for an RapidAPI Token.
RapidAPI Token
The RapidAPI token is a requirement for the extension in order to talk with the TextToAnything API. We are using this API to eliminate the need for dependencies.
How to obtain a RapidAPI token:
- Go to https://rapidapi.com/Attacler/api/text-to-anything
- Click "Sign Up" in the top right corner, or "Log in" if you already have an account
- Click on "Subscribe to Test" or "Pricing"
- Here you can choose the API plan that you wish to use, Basic is good enough for testing. If you have any questions about the billing, please view the FAQ at the bottom of this page.
- Add your payment details You can the necessary API token at . The extension will not function without it, but there is a free tier available for testing.
- Go to Endpoints and you should see the RapidAPI key on the right.
Supported Features
The package currently supports the following operations:
- Create a PDF based on the provided HTML
- Create a QRCode
- Create a Barcode
The actions work trough flow operations and will upload the PDF/QRCode/Barcode directly into Directus. The operation will return the Directus file id which you can use to link the file to a record.
If there are any questions or bugs, please create an issue.
FAQ
- How do i find or reset my Rapid API key?
You can find follow this article in order to achieve this.
- How can i stop my subscription?
Click here if you ever want to cancel your subscription
- Will there be more features comming?
We are currently working on making this extension a solid stable version. After that we are planning to add HTML to Image.
- I have an issue or idea, where can i place it?
Please create an issue on Github