Skip to content

litholight/ListenLenseWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ListenLenseWeb

ListenLenseWeb is a web application designed to facilitate the importing, reading, and audio playback of text files with synchronized sentence and paragraph highlighting. The application tracks user progress and provides features such as auto-scroll and dark mode for enhanced usability.

Features

  • Workspace Management: Create and manage multiple workspaces to organize your text files.
  • Text-to-Speech Integration: Convert text files into audio using Amazon Polly.
  • Synchronized Highlighting: Sentences and paragraphs are highlighted as the audio plays.
  • Progress Tracking: Automatically tracks playback progress and last accessed time for each file.
  • Customizable Player:
    • Skip backward/forward controls.
    • Adjustable playback speed.
    • Auto-scroll and dark mode toggles.

Getting Started

Prerequisites

Setup

  1. Clone the Repository:

    git clone https://github.com/your-username/ListenLenseWeb.git
    cd ListenLenseWeb
  2. Install Dependencies: Restore NuGet packages:

    dotnet restore
  3. Configure AWS Credentials: Create an appsettings.json file or use environment variables to configure AWS credentials:

    {
      "AWS": {
        "AccessKey": "<your-access-key>",
        "SecretKey": "<your-secret-key>",
        "Region": "<your-region>"
      }
    }
  4. Run the Application:

    dotnet run
  5. Access the Application: Open your browser and navigate to http://localhost:5066.

Folder Structure

.
├── App_Data                 # Contains workspace and progress files (excluded from Git)
├── Controllers              # MVC controllers
├── Models                   # Data models for workspace and file tracking
├── Services                 # AWS Polly and workspace services
├── Views                    # Razor views for rendering HTML
├── wwwroot                  # Static files (CSS, JS, etc.)
├── appsettings.json         # Configuration file (excluded from Git)
└── Program.cs               # Entry point of the application

Usage

Creating a Workspace

  1. Navigate to the home page.
  2. Click "Create Workspace" and enter a name.

Adding a File

  1. Click on an existing workspace.
  2. Use the file upload form to import a .txt file.
  3. The file will be converted to audio and a JSON file will be generated for highlighting.

Reading and Listening

  1. In a workspace, click "Read/Listen" next to a file.
  2. The player will load with synchronized text highlighting and playback.
  3. Use the controls to adjust playback speed, skip, toggle auto-scroll, or enable dark mode.

Contributing

Contributions are welcome! To get started:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m "Description of changes"
  4. Push to your fork and submit a pull request.

License

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

Acknowledgments


Happy listening and reading!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors