Heroku version has deprecated because Heroku decided to cancel their free plan. Hence , a Vercel version of this project was created and thanks to Vercel Community which has successfully runned PHP on Vercel.
- This tool is written in PHP
- You can run it locally by copying all files in 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. - You can deploy this tool to Vercel.
Refer to the steps below for deploying this tool to Vercel. - You can also visit https://vercel-php-clearkey-hex-base64-json.vercel.app/ directly if you wanted to use this tool on the spot.
Deployed by me on Vercel. - I shall not be liable for any problem that will produce losses or inconveniences incurred as a result of such changes or differences.
- Please star this repo if you feel that this repo is helping you. Thanks!
- Multiple Key & Key ID support is now here!
Reminder : You are likely to get failed attempt for the 1st time when deploying it , do not panic and follow steps below :
- Go to the project settings on Vercel
- Scroll down to the
Root Directory
- Untick
Include source files outside of the Root Directory in the Build Step.
- Save
- Edit anything in the readme.md and save it to trigger Vercel redeploy again.
Visit deployed website : https://vercel-php-clearkey-hex-base64-json.vercel.app/
- Key in the Keys and Key ID in HEX without space and click generate
- Click "Generate Now" and copy the URL after you saw some JSON output containing :
{ "keys":[ { "kty":"oct", "k":"", "kid":"" } ], "type":"temporary" }
- The URL you copied is your Clearkey License URL. You can use it on your IPTV Player that supports Clearkey.
Create an issue if you encountered a problem that was never stated in this README.md