πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
DemoInstallSign in
Socket

asmreader

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asmreader

Turn any text into a soothing ASMR-style reading experience

0.1.2
PyPI
Maintainers
1

ASMReader πŸ“§ ✨️

Turn any text into a soothing ASMR-style reading experience. Because sometimes you just want your PDF documentation read in a calming voice.

Features πŸ”«

  • Converts text from various sources (PDF, TXT, Markdown, Web pages) into speech
  • Blends different voices for a unique ASMR experience
  • Parallel processing for smooth playback
  • Supports chunking for long texts
  • Handles web content with readability extraction

Installation πŸš€

You can install ASMReader using pip:

pip install asmreader

For users who prefer to use pipx, you can install it globally:

pipx install asmreader

If you are using uv, you can install it with:

uv install asmreader

After installation, you can run the application using the command:

asmreader --help

Usage πŸ“£

Important: Before using the application, you MUST call the download_model function to download the necessary files.

make run -- --file path/to/your/2501.00536v2.pdf  # Read a local file
make run -- --url "https://en.wikipedia.org/wiki/Gigi_D%27Agostino"  # Read a web page
make run -- --file document.txt --speed 0.8  # Adjust speech speed
make run -- --file document.pdf --output reading.wav  # Save to file instead of playing

Development 🦠

To contribute:

  • Fork the repo
  • Create a feature branch (git checkout -b feature/amazing-feature)
  • Write tests for your feature
  • Implement your feature
  • Run tests: make test
  • Push and create a Pull Request

Adding New File Formats πŸ“˜

  • Create a new reader in asmreader/readers/
  • Inherit from TextReader
  • Implement supported_mime_types() and read()
  • Add to READERS in readers/__init__.py

Example:

class MyNewReader(TextReader):
    def supported_mime_types(self, mime: str) -> bool:
        return mime in ['application/x-my-format']
    
    def read(self, file_path: str) -> str:
        # Your implementation here
        pass

License πŸ“˜

MIT - Because sharing is caring, and ASMR should be free.

Why? 🀊

Because sometimes you need your technical documentation read in a soothing voice while you drift off to sleep, dreaming of well-documented code and properly handled edge cases.

Known Issues πŸ’£

  • Side effects include improved understanding of technical documents
  • Not responsible for ASMR addiction

Keywords

asmr

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts