New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

litero-next

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

litero-next

Download stories from Literotica and save them locally as beautifully formatted Text or HTML web pages for later reading.

latest
Source
npmnpm
Version
0.6.0
Version published
Maintainers
1
Created
Source

Litero-Next

Download stories from Literotica (Literotica.com) and save them locally as readable HTML web pages or beautifully formatted Text files, for later reading.

Getting Started

Make sure you have nodejs installed. You must have a version greater than 18. Given that, issuing

npm install -g litero-next

should do the trick.

Features

  • Download any literotica story URL.
  • Get all the pages (depagerize) into a single file.
  • Plain and simple text files.
  • Readable HTML page
    • With Color scheme switcher - Light,Dark and Sepia
    • Single page HTML pages, no extra files/ Folder.
    • With link to the original story
    • Link to the Authors submissions.

Usage

  • From the terminal (command line), issue

    litero_getstory -u 'https://www.literotica.com/s/how-to-write-for-literotica'
    
    

    This will download the story and save it to the file how-to-write-for-literotica.txt in the current folder.

  • Save the story as a web page (HTML) locally.

    litero_getstory -u 'https://www.literotica.com/s/how-to-write-for-literotica' -e html
    

    This will download the story and save it to the file how-to-write-for-literotica.html in the current folder.

  • Save the story with custom name and format

    litero_getstory -u 'https://www.literotica.com/s/how-to-write-for-literotica' -f 'favorite_story' -e html
    

    This will save the story to a HTML file favorite_story.html to the current folder.

  • Just want a text file with custom name? Simply issue,

    litero_getstory -u 'https://www.literotica.com/s/how-to-write-for-literotica' -f 'favorite_story' -e txt
    

Examples

Litero comes with much more option flags, that you can pass along the command line.

Required

* `-u` or `--url`  Pass the URL(link) to the story.
  ```sh
  litero_getstory --url 'https://www.literotica.com/s/how-to-write-for-literotica'
  ```

Optional

* `-h` or `--help` Display Help and usage.
  ```sh
  litero_getstory --help
  ```
* `-f` or `--filename` Custom filename for the story to be saved.
  ```sh
  litero_getstory -u 'https://www.literotica.com/s/how-to-write-for-literotica' -f 'favorite_story'
  ```
* `-e` or `--format` Format of the saved file - Can be `html` or `txt` (default).
  ```sh
  litero_getstory -u 'https://www.literotica.com/s/how-to-write-for-literotica' -e html
  ```
* `--verbose` - Output all information going on behind the screens. Useful when something's not working right

Demo

Demonstration on usage and features. Also featured is the ability to switch reading color schemes ( Light, Dark and Sepia) on saved HTML pages.

Demo

P.S. Sorry about the colors though. Here is a video version if you're interested.

FAQ

  • Can this be used to download individual stories to my computer?

    • Yes.
  • Is this code anyway affiliated to literotica or literotica community?

    • No. This software/code is no way affiliated to literotica, any of the authors, or the community. This is merely a work of a fan.
  • Can this be used to rip all the stories in literotica/literotica category?

    • No. Kindly be respectful to the efforts of the authors and literotica.
  • Can you modify this to do insert some new feature here that i want?

    • That depends. Drop me a mail, lets figure it out.

But why?

But Why?

  • Coding Fun, Nothing else.
  • Ah. Waitt aaaa minute.. What are you doing here BTW?
  • Actually - It is one of my favorite sites.Being frustated with the site's poorly readable color scheme, I decided to make it pleasant for reading with JS(using greasemonkey) and CSS. When some of my favorite authors took their stories down without warning, This project was born.

Acknowledgments

  • NodeJS and all modules used.
  • Literotica.
  • Individual Authors on literotica.

License

See LICENSE

Keywords

literotica

FAQs

Package last updated on 22 Nov 2025

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