There are 3 repositories under amazon-fire-tv topic.
A web app that can control your Amazon FireTV (Stick). Just startup Node, fill in your device's IP address and use your web browser as a remote. (Enable ADB debugging)
Send keystrokes from the terminal to an Android device. Requires adb.
Easily integrate the Amazon Fling SDK to discover and control your FireTV in your app