Skip to content

RivoLink/opencc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Code Compiler

Install helper

# using make
make helper

# or manually
yarn install --cwd .helper
composer install --working-dir .helper

Generate token

# using make
make token

# using php
php .helper/scripts/token.php

# using curl
curl -X POST -H "Content-Type: application/json" https://api.rivolink.mg/api/auth \
-d '{
  "username": "Anonymous",
  "password": "a439579cae86060066478decd838bc39"
}' | jq -r '.token // ""' > src/private/token.txt

Build your own version

# using make
make build

# using php
php .helper/scripts/build.php