Skip to content

A barebones PHP app run on Heroku that convert Clearkey in Hex to Base64 and output the Base64 Key and Key ID as JSON

Notifications You must be signed in to change notification settings

fathikhalid7/heroku-clearkey-hex-base64-json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert Clearkey in Hex to Base64 and output JSON automatically

Notice

The deployed website : https://clearkey-base64-2-hex-json.herokuapp.com/ WILL NOT WORK anymore because Heroku intiated plans to remove free dynos plans starting November 28, 2022.

If you want to use it , please deploy yourself with a PHP capable environment.

Before you use this

  1. This tool is written in PHP
  2. You can run it locally by copying all files in /web to your web server's root directory.
    Ensure PHP is installed and configured properly with your web server before deploying them on your web server.
  3. You can deploy this tool to Heroku.
    Refer to the steps below for deploying this tool to Heroku.
  4. You can also visit https://clearkey-base64-2-hex-json.herokuapp.com/ directly if you wanted to use this tool on the spot.
    Deployed by me on Heroku.
  5. I shall not be liable for any problem that will produce losses or inconveniences incurred as a result of such changes or differences.
  6. Please star this repo if you feel that this repo is helping you. Thanks!

How to deploy to Heroku?

Deploy to Heroku

How to use?

Visit deployed website : https://clearkey-base64-2-hex-json.herokuapp.com/

  1. Key in the Keys and Key ID in HEX without space and click generate image
  2. Click "Generate Now" and copy the URL after you saw some JSON output containing : { "keys":[ { "kty":"oct", "k":"", "kid":"" } ], "type":"temporary" }
  3. The URL you copied is your Clearkey License URL. You can use it on your IPTV Player that supports Clearkey.

Issue?

Create an issue if you encountered a problem that was never stated in this README.md

About

A barebones PHP app run on Heroku that convert Clearkey in Hex to Base64 and output the Base64 Key and Key ID as JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Hack 68.9%
  • PHP 22.0%
  • CSS 8.0%
  • Procfile 1.1%