{"id":17987395,"url":"https://github.com/offchan42/honnet-web","last_synced_at":"2026-04-12T00:40:31.580Z","repository":{"id":39722394,"uuid":"81687289","full_name":"offchan42/HoNNeT-web","owner":"offchan42","description":"Website for my HoNNeT deep learning side-project","archived":false,"fork":false,"pushed_at":"2023-02-02T06:25:16.000Z","size":1011,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T14:45:19.258Z","etag":null,"topics":["bulma-css","deep-learning","flask","gunicorn","heroku","hon","jinja2","keras","python","tensorflow","vuejs2"],"latest_commit_sha":null,"homepage":"https://honnet.herokuapp.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/offchan42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-11T22:38:24.000Z","updated_at":"2023-04-25T06:26:03.000Z","dependencies_parsed_at":"2023-02-17T15:10:19.871Z","dependency_job_id":null,"html_url":"https://github.com/offchan42/HoNNeT-web","commit_stats":null,"previous_names":["offchan42/honnet-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offchan42%2FHoNNeT-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offchan42%2FHoNNeT-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offchan42%2FHoNNeT-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offchan42%2FHoNNeT-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offchan42","download_url":"https://codeload.github.com/offchan42/HoNNeT-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247112771,"owners_count":20885606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulma-css","deep-learning","flask","gunicorn","heroku","hon","jinja2","keras","python","tensorflow","vuejs2"],"created_at":"2024-10-29T19:08:41.495Z","updated_at":"2026-04-12T00:40:31.536Z","avatar_url":"https://github.com/offchan42.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HoNNeT-web\n[Website](https://honnet.herokuapp.com/) for my [HoNNeT](https://github.com/off99555/HoNNeT) deep learning side-project.\n\nThis app will load the trained `keras` deep learning model trained from the main **HoNNeT** repository\nand predicts which team would win, how long the match is going to last, and whether the team\nwould lose by conceding or by the main tower being destroyed.\n\nIt contains the files required to run the web inside Heroku. I use Vue.js,\nBulma.io and Flask as web technology stack.\n\nThe only file for web interface is `templates/index.html`. It contains heavy use of\nJinja2 templating, Bulma.io CSS classes, and Vue.js scripting.\n\n## Role of each file\n- `honnet_brain.h5` is the Keras model representing the knowledge of the neural\n  network (about 1 MB in size)\n- `honnet_brain_architecture.*` are text files generated to show the\n  architecture of the network in human-readable format only, they are not used for\n  anything else\n- `app.py` is the main application to run\n- `heroes_name.pkl` is a **pickle** generated file containing HoN hero names as\n  a python dictionary, it's used to convert from `hero_id` to `hero_name` and\n  vice versa\n- `honnet.py` is a module containing related functions to use the brain\n- `requirements.txt` is containing all modules required to run `app.py`, (this\n  file is generated by calling `pip freeze \u003e requirements.txt`)\n- `Procfile` is for Heroku, it will read and run the command inside this file to\n  start the web\n- `runtime.txt` is for Heroku, it will read this file to figure out which Python\n  version to use\n\n## Requirements\n- Python 3\n- virtualenv (`pip install virtualenv`)\n\n## Running on local host (your machine)\n1. Clone this repository and `cd` into it.\n2. Create a development environment dedicated for this repository because we are\n   going to install something here: run `virtualenv venv`\n3. Tell python to use the environment recently created by running `source\n   activate venv` (or `activate venv` if you are on Windows).\n4. Install dependencies: `pip install -r requirements.txt` (`gunicorn` is\n   unnecessary, don't worry if there is an error installing it, it's required for\n   the real Linux web server only)\n   This will install some libraries into that `venv` directory.\n5. Enter `python app.py` to run the application\n6. Open web browser and go to http://127.0.0.1:5000/\n7. Play with the application.\n\n## Disclaimer\nThe data used for training the model needs to be updated regularly because heroes mechanisms are updated often.\nLook at the date of the `honnet_brain.h5` to see when it was last updated.\n\nHave fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffchan42%2Fhonnet-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foffchan42%2Fhonnet-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffchan42%2Fhonnet-web/lists"}