Git Product home page Git Product logo

Comments (4)

jirayutza1 avatar jirayutza1 commented on June 9, 2024

Aside from being a CLI tool, monolith has potential to be used as a library and published on crates.io. For this feature to be implemented we first need to design API for monolith, for the most part how we provide options (instead of parameters via CLI).

from monolith.

snshn avatar snshn commented on June 9, 2024

Big shout out and thanks to @jstasiak for releasing the monolith crate name for this project on crates.io!

from monolith.

banool avatar banool commented on June 9, 2024

I see this is now an importable crate, but it seems like much of the functionality is held within main, which can't be imported and used easily. Has anyone had any luck with using this crate as a library?

from monolith.

snshn avatar snshn commented on June 9, 2024

Yeah.... so, about that... basically, before it could be used as a library, an API of sorts needs to be drafted, and it needs to be done in a way that allows people to build their own archiving tools, consistent with how other CLI crates expose their APIs, and follows good practices. In all honesty, it's really far down the current TODO list since the tool itself needs to get more features, some highly-requested stuff like support for MHT format, blacklisting domains, recursive saving of pages, etc. Slowly but surely it'll get there, ideally I'd really love to see Firefox use it as a way to save monolithic HTML documents without any external tools or services.

from monolith.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.