Skip to content

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

License

Notifications You must be signed in to change notification settings

thehatkid/WPRelive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPRelive

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).

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:

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.

License

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages