Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiiwave/TosSearchTW
A search gadget for MMORPG Tree of Savior
https://github.com/hiiwave/TosSearchTW
treeofsavior
Last synced: 15 days ago
JSON representation
A search gadget for MMORPG Tree of Savior
- Host: GitHub
- URL: https://github.com/hiiwave/TosSearchTW
- Owner: hiiwave
- License: mit
- Created: 2018-03-05T08:43:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T14:38:13.000Z (almost 6 years ago)
- Last Synced: 2024-08-01T08:09:22.115Z (3 months ago)
- Topics: treeofsavior
- Language: Python
- Homepage: https://hiiwave.github.io/TosSearchTW/frontend/index.html
- Size: 4.24 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tos Search Gadget
This is a search gadget for [Tree of Savior](https://treeofsavior.com/page/main/) game.## Features:
* Support Chinese(zh-tw) / English
* Support typeahead(autocomplete)
* Link search result to [tosgbase](https://tos.neet.tv/)## Demo:
https://hiiwave.github.io/TosSearchTW/frontend/index.html## Screenshot:
Search by English | Search by Chinese
:-------------------------:|:-------------------------:
![search_en](./demo/search_en.png) | ![search_tw](./demo/search_tw.png)------
## Developer Note
This project is composed of three parts:1. [Scraper (`tosneet_scraper/`)](./tosneet_scraper/):
Extract data (item list, npc list, .etc) from tosgbase.
Implemeneted by [scrapy](https://scrapy.org/).2. [Dictionary (`tos_dictionary/`)](./tos_dictionary/):
Merge scraped data, append zh-tw language, and export a lookup table. Implemented by [pandas](http://pandas.pydata.org/).
The language mapping file is exported from project [Tos-Translator](https://github.com/hiiwave/Tos-Translater).3. [Frontend (`frontend/`)](./frontend/):
The web interface of this gadget. Implemented by [typeahead.js](https://github.com/corejavascript/typeahead.js).Please refer to `README.md` in these subfolders for more details.
## Known Issues:
* Some suggestions fail to show when they include spaces *and* there are longer words including them;
for example the word "Swordsman Master" does not show possibly due to the existence of "Swordsman Master Costume".
In this case you could still type "Swordsman Master" and click search button to get the result.
It seems to be a *typeahead.js* issue, see [this](https://github.com/twitter/typeahead.js/issues/238) or [this](https://github.com/twitter/typeahead.js/issues/1198) for more details.## Change Log:
### 2018.3.8 - 3.9 (v0.2.4)
* Implement image thumbnails
* Add Loader at the right side before loading completes
* Vertical/ Horizontal align UI elements### 2018.3.7 (v0.2 Released)
* Integrate more data categories, including npcs, zones, skills, and attributes
* Implement dropdown menu
* Implement Enter key listening### 2018.3.6 (v0.1 Released)
* Implement [frontend](./frontend/)
* Support category: items### 2018.3.5
* Implement [Scraper](./tosneet_scraper/) and [Dictionary](./tos_dictionary/)## Contribution
Any issue reporting or pull request is welcome.## LICENSE
[MIT](LICENSE)