An open API service indexing awesome lists of open source software.

https://github.com/thehatkid/wprelive

Windows Phone 7/8 homebrew Microsoft Tellme and Bing Search API server
https://github.com/thehatkid/wprelive

microsoft-tellme windows-phone windows-phone-7 windows-phone-8

Last synced: 3 months ago
JSON representation

Windows Phone 7/8 homebrew Microsoft Tellme and Bing Search API server

Awesome Lists containing this project

README

        

# WPRelive

A homebrew Windows Phone 7/8 API server made in Python 3.9 with [Starlette](https://www.starlette.io/),
used for *Microsoft Tellme* (speech recognition) and *Bing Search* (search API, not implemented yet).

### Why?

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?

### What's the goal?

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.

### How it works?

Microsoft Tellme uses HTTP server for speech recognition, and Bing Search also uses it for search queries.

### What doesn't work?

- 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

## Installation Guide

Requirements:
- [Python >= 3.9](https://www.python.org/downloads/)

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:
```
api.m.bing.net
```
Then turn on Wi-Fi hotspot and connect your Windows Phone to your hotspot network.

## License

WPRelive is licensed under MIT license, see [LICENSE](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.