A homebrew Windows Phone 7/8 API server made in Python 3.9 with Starlette, used for Microsoft Tellme (speech recognition) and Bing Search (search API, not implemented yet).
Just for fun and giggles and learning reverse engineering.
Since Bing API server (api.m.bing.net) is dead for a very long while, why just not resurrect the ancient tech?
To make Microsoft Tellme (Windows Phone 7/8 speech recognition) work again, even the only thing it can do is help Tellme/Bing with search query.
Microsoft Tellme uses HTTP server for speech recognition, and Bing Search also uses it for search queries.
- Actual speech recognition (decoding SirenSR, or GSM 6.10 8kHz Mono, and then get text from audio)
- Bing Search API (need to investigate on JSON/NIF responses)
- Perhaps more, such as Today's Image for background
Requirements:
You need to install dependencies (preferably inside Python virtual enviromnet (venv)), you can install either from requirements.txt or Pipfile:
- Legacy Pip way:
pip install -Ur requirements.txt
- Pipenv way:
pipenv install
Then you can start Uvicorn ASGI host:
uvicorn --host 0.0.0.0 --port 80 wprelive.app:app
You also need DNS server that will redirect api.m.bing.net
hostname to your host address.
If you are about to host locally on Windows and have Wi-Fi hotspot, you can use your PC as DNS server.
You need to append text in %SystemRoot%\System32\drivers\etc\hosts
file:
<Your Host IP Address> api.m.bing.net
Then turn on Wi-Fi hotspot and connect your Windows Phone to your hotspot network.
WPRelive is licensed under MIT license, see LICENSE file for more details. WPRelive is free and open source software.
This is an unofficial project, it is not made or endorsed by Microsoft Corporation and/or Bing.