Hey guys,
I'm super excited to share with you all about my latest work - RenderPDF.io ๐
We all know that rendering HTML to PDF is not so fun and game.
You have to research a bunch of things, then try out a lot of CSS styling, and even have to install more libraries or deploy new stuff and manage them.
It's definitely time-consuming & hard to maintain, isn't it? But not anymore ๐ฅฐ.
What is RenderPDF.io?
RenderPDF.io provides developer-friendly APIs to help people render their PDFs in seconds ๐.
Just send us the HTML content and we'll respond with the rendered PDF file ๐. Get rid of the hard & tedious work and focus on your features/delivery โญ๏ธ.
You can find us at:
Home page: https://renderpdf.io/
Documentation: https://docs.renderpdf.io/
Get FREE API Key: https://renderpdf.io/login (within a few clicks, I promised ๐)
Powered by the Chromium engine, enabling us to use any latest CSS styling and give you modern PDF files ๐.
We have some examples on the home page, check them out ๐ฅ.
Free Usage
Yes, Free users get 500 PDFs per month - the highest free usage compared to others out there ๐.
Examples
Integrate with RenderPDF.io using TypeScript
import axios from 'axios';
const httpClient = axios.create({
baseUrl: 'https://renderpdf.io/api'
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
export function renderPdf(htmlContent: string): Promise<string> {
return httpClient.post('/pdfs/render-sync', {
htmlContent,
// add more options here if you need
}).then((res) => res.data.fileUrl));
}
// a "Hello World" PDF โค๏ธ
const pdfUrl = await renderPdf('Hello World');
Integrate with RenderPDF.io using PHP & Laravel, using HTTP Client Facade
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->asJson()
->post('https://renderpdf.io/api/pdfs/render-sync', [
'htmlContent' => 'Render me a PDF now!!!',
// add more options here if you need
]);
// Your PDF is ready sir :muscle:
$fileUrl = $response->json('fileUrl');
Upcoming Features of RenderPDF.io
Indeed, it is still under elevating process and there will be more and more features upcoming soon to make your life easier ๐ฅฐ:
Free PDF templates ๐
Document Template management ๐
Template Editor ๐ฅ
and still thinking more hehe
Stays tuned.
Conclusion
Well, that's it. I hope you will like RenderPDF.io and give it a try, it is totally worth the try โค๏ธ.
Happy weekend and see you all on the next tech talk ๐!