Coder Social home page Coder Social logo

omiragk05 / ilovepdf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from subinps/ilovepdf

1.0 0.0 0.0 79 KB

Telegram Bot that helps you to convert Images to pdf, pdf to images, 45+ file formats to pdf, more features Soon..

Home Page: https://telegram.dog/nabilanavab

License: Apache License 2.0

Python 99.55% Dockerfile 0.45%

ilovepdf's Introduction

About ILovePdf

Enjoy the API

ilovePDF is an, easy-to-use open-source Telegram PDF bot written in python language 🐍

it was specially developed for creating PDF's from images.. And Now, Bot Supports many other features for PDF manipulation 🦾

Demo Bot

features:

Images to PDF

 ◍ This bot will helps you to convert multiple
 images to pdf
 ◍ .jpg, .jpeg, .png files Supported
 ◍ Zero additional Compression
 ◍ For Better quality pdf, send media without
 Compression
 ◍ Image sequence will be considered
 ◍ /cancel - deletes the current queue
 ◍ you can Rename your pdf at the time of /generate
      - /generate name     {pdf with your name}
      - /generate id       {pdf with your id}
      - /generate FileName {pdf with file name}
       By Default: your pdf FileName = your ID
  ◍ /id to get your id

PDF to images

 ◍ Unlike other bots, this bot extract images 
 from your pdf files without converting the entire
 pdf to pages.. always shows 100% speed πŸ₯³
 
 
 Below feature has been removed for some reasons..

 ◍ You can also fetch a single image or a list
 of images from any part of your pdf 
 ◍ Sequence will be considered
 ◍ For better quality images bot support sending
 images as documents (files)

This bot is using a different protocol for uploading the extracted PDF-images ..

Files to PDF

 In addition,
 ◍ About 40+ popular file formats can also be
 convert to pdf using ilovepdf bot
 ◍ By default, bot support with ASCII char. support
 [EPUB, FB2(e-book), XPS, openXPS, CBZ, CBR]
 ◍ All other files are converted using ConvertAPI
 [csv, doc, docx, ppt, pptx, dot, dotx, log, mpp,
 mpt, odt, pot, potx, pps, ppsx, pub, rtf, txt, vdx,
 vsd, vsdx, vst, vstx, wpd, wps, wri, xls, xlsb,
 xlsx, xlt, xltx, xml]
 & supports Unicode Char(utf-8)
 
 No need to specify file formats..✌️

Commands:

 /start - Check wheather bot alive.
 /help - for more help
 /id - Get Ur Id (default pdf name)
 /cancel - Delete's old queue
 /generate - long tap to set a pdf name
 /extract - to get images from pdf

Source code:

 Developed by: @nabilanavab, Kerala

Privacy & Security:

 Ones the necessary task is completed,
 all your images including the pdf file
 will be removed from the server.
 
 for more information:
        please check the Source code😌

how to Create your Own pDf bot:

Quick start for developers

Being a python library; To run this bot, python must be installed on your machine

Packages/Library Installation

Local Host
    pip install pyTelegramBotAPI
    pip install pillow
    pip install pymupdf
    pip install convertapi

deploy on heroku:

Deploy

Project setUp:

 API key πŸ”‘
 
 This bot only requires your Telegram Bot Token
 as (API_TOKEN) for doing 95% tasks
 
 For a Better experience U can add convertAPI 
 secret key as (CONVERT_API)

NB: The API keys are personal & must be kept secret

Config Var:

Get bot token
Get ConvertAPI token

 API_TOKEN
 CONVERT_API

About LICENSE:

 Apache License 2.0
 Copyright 2021 nabilanavab
 
 You can use and integrate ilovePDF 
 into your own code..And If you are
 Redistributing your code, with 
 modifications, please try to mention
 the changes : )

elpablo_agadhgiaanlc4gk

ilovepdf's People

Contributors

nabilanavab avatar alenpaulvarghese avatar subinps avatar

Stargazers

omira geevin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.