项目作者: zikani03

项目描述 :
Basic services for developers including placeholder generation, QR code generation
高级语言: Java
项目地址: git://github.com/zikani03/pakadali.git
创建时间: 2020-10-09T00:29:09Z
项目社区:https://github.com/zikani03/pakadali

开源协议:MIT License

下载


Pakadali

Pakadali is toy project that provides some APIs that may be useful to developers.
The following services are available:

  • Placeholder Image generation
  • QR Code generator
  • Converting a WhatsApp Chat text file to JSON

Usage

Placeholder Image generation

  1. $ curl -G https://pakadali.herokuapp.com/img/400x400

QR Code generator

  1. $ curl -G "https://pakadali.herokuapp.com/qr/generate/100?content=The%20text%20in%20the%20QR%20code" -o image.png

WhatsApp Group Chat to JSON

There’s a form here https://pakadali.herokuapp.com/wa2json.html

Or you can do it programmatically

  1. $ curl -X POST -F "file=@./ExportedChat.txt" https://pakadali.herokuapp.com/wa/chat2json

Building and running locally

This project requires JDK 15+ to build.

  1. $ git clone https://github.com/zikani03/pakadali
  2. $ cd pakadali
  3. $ ./gradlew build
  4. $ java -Dspark.port=8080 -jar build/libs/pakadali-0.1.0-SNAPSHOT-all.jar

Try visiting http://localhost:8080/img/500x500 you should get 500 x 500 PNG image.


Copyright (c) 2020, Zikani Nyirenda Mwase