Skip to content

EksiLiveFeed is a Flask-based web application that provides a user-friendly interface to fetch and display the latest entries from various topics on Eksi Sozluk. It leverages the eksipy library to interact with the Eksi Sozluk API, offering features like real-time updates and a dark mode toggle for enhanced readability.

License

Notifications You must be signed in to change notification settings

cellamo/EksiLiveFeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eksi Sozluk Live Feed

Overview

This Flask application provides a simple web interface to fetch and display the latest entries from Eksi Sozluk topics. It uses the eksipy library to interact with Eksi Sozluk's API and displays entries sorted by date in descending order. The application also features a dark mode toggle for user preference.

Prerequisites

  • Python 3.6 or higher
  • Flask
  • asyncio
  • eksipy (a Python library for interacting with Eksi Sozluk)

Installation

  1. Clone the repository:

    git clone [email protected]:cellamo/EksiLiveFeed.git
    cd EksiLiveFeed
  2. Set up a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install dependencies from requirements.txt:

    pip install -r requirements.txt
  4. Run the application:

    python app.py

Usage

  • Access the application: Open a web browser and navigate to http://127.0.0.1:5000/.

  • Using the interface:

    • Enter a topic title in the input field. (26 nisan 2024 real sociedad real madrid maçı)
    • Click the Submit button to fetch the latest entries.
    • Entries will be displayed in a list; newer entries appear at the top.
    • Click the Toggle Dark Mode button to switch between light and dark themes.
  • Automatic refresh: After the initial fetch, the application will automatically refresh the entries every 3 seconds.

Files and Directories

  • app.py: The main Python file containing Flask routes and logic for fetching Eksi Sozluk entries.
  • templates/: Directory containing HTML files for the web interface.
  • index.html: The HTML template for the application's front end.

Features

  • Fetch and display entries from Eksi Sozluk based on user-specified topics.
  • Entries are sorted by date in descending order.
  • Automatic refreshing of entries every 3 seconds after the first fetch.
  • Dark mode toggle for enhanced user experience.

Contributing

Contributions to this project are welcome. Please fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

EksiLiveFeed is a Flask-based web application that provides a user-friendly interface to fetch and display the latest entries from various topics on Eksi Sozluk. It leverages the eksipy library to interact with the Eksi Sozluk API, offering features like real-time updates and a dark mode toggle for enhanced readability.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published