Turn tweets into audio content with the power of AI

Welcome to ListenX

ListenX is a mobile application that converts tweets to speech using AI-driven text-to-speech technology. This server provides the API endpoints for the ListenX mobile application.

Key Features

🔊

Text-to-Speech Conversion

Convert any tweet thread into high-quality audio using advanced AI voices

🔄

Twitter Integration

Seamlessly browse and interact with tweets directly within the app

📱

Voice Commands

Hands-free control with intuitive voice command interface

📋

Playlist Management

Create and organize custom playlists of your favorite tweet threads

API Endpoints

This server provides the following API endpoints for the ListenX mobile application:

Authentication

GET /auth/twitter - Initiate Twitter OAuth flow

GET /auth/twitter/callback - Handle Twitter OAuth callback

Twitter Integration

GET /api/twitter/home_timeline - Get the user's Twitter home timeline

GET /api/twitter/user_tweets/:username - Get tweets from a specific user

POST /api/twitter/like/:id - Like a tweet

POST /api/twitter/retweet/:id - Retweet a tweet

GET /api/twitter/search - Search for tweets

GET /api/twitter/trends - Get trending topics

Text-to-Speech

POST /api/tts/generate - Generate TTS audio from text

GET /api/tts/voices - Get available voice options

Using the API

The ListenX API is designed to be used with the ListenX mobile application. To use this API:

  1. Install the ListenX mobile app on your iOS device
  2. Sign in with your Twitter account
  3. Start listening to your Twitter timeline as audio content

For development purposes, you can also interact with the API directly using tools like Postman or curl:

curl -X GET http://localhost:8000/health
Check API Status Try TTS Demo Try Microsoft Azure TTS Test Twitter API Test Twitter API v2 Try Tweet Player Try ListenX App