Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saturngod/ornagai-v3
English To Myanmar, Myanmar To English Dictionary
https://github.com/saturngod/ornagai-v3
Last synced: 2 months ago
JSON representation
English To Myanmar, Myanmar To English Dictionary
- Host: GitHub
- URL: https://github.com/saturngod/ornagai-v3
- Owner: saturngod
- Created: 2012-08-02T10:35:23.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-04-27T16:29:08.000Z (over 9 years ago)
- Last Synced: 2024-04-08T17:02:03.157Z (9 months ago)
- Language: PHP
- Homepage: www.ornagai.com
- Size: 4.97 MB
- Stars: 20
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Orangai V3
Update the `config.php` with yoru db information.
You can import mysql database from `sample_ornagai.sql.zip`
You will need rsa private key and Modulus.
## Generate RSA Key
```
$ openssl genrsa -out key.pem
$ cat key.pem | pbcopy
```Paste the code in to the config.php
```php
$config['privatekey'] = "PASTE THE CODE HERE";
``````
$ openssl rsa -in key.pem -noout -modulus
```Copy the Modulus. Example `9CAF2D1CBB4F823C46457DA5EAE24F3422BE0E2B3E81E3CF04F5C00B16487DDF96BD901F39577F7F3650882A9292BBB0272D872A28E867FA0A89A06DEE4B73A`
Search , `rsa.setPublic` and paste the code in `js/app.js`.
Example
```js
rsa.setPublic("9CAF2D1CBB4F823C46457DA5EAE24F3422BE0E2B3E81E3CF04F5C00B16487DDF96BD901F39577F7F3650882A9292BBB0272D872A28E867FA0A89A06DEE4B73A","10001");
```## Requirement
You need to install composer first.
```
php composer.phar install
```## Libraries
### Front-End
- [Angular.JS](https://angularjs.org)
- [rsa.js](http://www-cs-students.stanford.edu/%7Etjw/jsbn/)
- [jQuery](https://jquery.com)
- [typeahead.js](https://twitter.github.io/typeahead.js/)
- [Sweetalert](http://t4t5.github.io/sweetalert/)
- [Marked](https://github.com/chjj/marked)
- [speech-synthesis](https://travis-ci.org/janantala/speech-synthesis)### Back-End
- [Slim Framework](http://www.slimframework.com)
- [MySQL](https://www.mysql.com)
- [Composer](https://getcomposer.org)
- [phpseclib](https://github.com/phpseclib/phpseclib)## License
MIT