GithubHelp home page GithubHelp logo

pibicut's Introduction

Pibicut

PibiCut is a very Simple Frappe App to produce Shorten URLs on a Frappe Server and at the same time a QR Code to the short URL.

License

MIT# PibiCut

Requirements

Requires a Frappe server instance (refer to https://github.com/frappe/frappe), and has dependencies on QR Code (refer to https://github.com/lincolnloop/python-qrcode).

Compatibility

PibiCut has been tested on Frappe/ERPNext version-12, version-13 and version-14 as well.

Installation

From the frappe-bench folder, execute

$ bench get-app pibicut https://github.com/pibico/pibicut.git
$ bench install-app pibicut

If you are using a multi-tenant environment, use the following command

$ bench --site site_name install-app pibicut

Update

Run updates with

$ bench update

In case you update from the sources and observe errors, make sure to update dependencies with

$ bench update --requirements

Features

Once installed, a new doctype 'Shortener' is generated. On searching the 'Shortener' Doctype you'll enter into the list of created shorten urls. You can create a new one, just click on New and enter the destination long URL. If you want, you can also insert a centered picture on the QR Code (the image must be in PNG format and white background, not transparent).

As a result of saving the 'Shortener' Doctype, you will have a shorten url in the way http or https://site_name/MnOpQ. If you browse to this short url you will be redirected to the long url, the same is produced if you read the generated QR Code. Just try reading the QR Code in the following picture.

imagen

Future Development

Future improvements can be related to QR Code variations taking into consideration the libraries possibilities. Current Generated Short URL is considering random strings with 5 characters, but this can be changed directly in the code. Enjoy this very simple app!

pibicut's People

Contributors

pibico avatar blaggacao avatar nihalroshanck avatar segitrack avatar

Stargazers

Mourad Maatoug avatar Tabrez Khan avatar Lovin Maxwell avatar Justin Donnaruma avatar N. Emre Özbakır avatar Parth Vashista avatar Mohan Rachuri avatar  avatar  avatar Lhuillery Matthieu avatar Juan C. avatar Sky9 Enterprises avatar  avatar Nestor Wheelock avatar Tutu Moses avatar Shohruh avatar  avatar Mario Monroy avatar Jorgelig avatar Aws Radwan avatar redolencetech avatar Ramakrishnan Nataraj avatar Fernando García avatar Gay Dive Buddy avatar Robin Rosenstock avatar Hardik Zinzuvadiya avatar  avatar Ali avatar  avatar bVisible avatar Oluwatobi Owolabi avatar Saravanan avatar  avatar Ahmed Abdulrahman avatar rameshraj55 avatar  avatar Bibin avatar Gabriela A. Sanchez avatar IT Work Co avatar Mahmoud Fawzy avatar  avatar MohsinAli avatar Maxwell Morais avatar

Watchers

MohsinAli avatar  avatar

pibicut's Issues

Long Url limited to 140 characters

If submitting a (really) long url, it won't work:

Shortener iDzEe: 'Long URL' (https://erp.xxxxxxx.com/integrations/stripe_checkout?amount=2222.0&title=ChateauMarie+Digital+Ventures+Philippines+Inc.&description=Credit+Card+Payment+Request+for+ACC-SINV-2022-00014&reference_doctype=Payment+Request&reference_docname=ACC-PRQ-2022-00013&payer_email=jm%2B1%40producture.com&payer_name=Arnold+Schwartzenneger&order_id=ACC-PRQ-2022-00013&currency=PHP) will get truncated, as max characters allowed is 140

Is there a way to fix it ?

Thank you

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.