Comments (4)
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.
Big shout out and thanks to @jstasiak for releasing the monolith
crate name for this project on crates.io!
from monolith.
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.
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)
- Asynchronous execution error
- How to extract files in html HOT 2
- feature request : Rate-limiting CLI option HOT 3
- macOS release binary ? HOT 2
- Not able to full download a webpage HOT 2
- Unsupported document media type HOT 2
- XHTML documents get mangled
- Save pages with login HOT 2
- Query: Can monolith recursively follow links in a single domain and create a monolith for them ? HOT 3
- Can you create an option to remove links, buttons and input boxes? HOT 3
- Thank you HOT 1
- What does the -I flag do? HOT 2
- Suggestion: add bot indicator flag
- Scraping from archives feature
- Monolith cannot save 404 pages HOT 1
- Image not saved correctly
- error while loading shared libraries HOT 1
- Saved page is about blocked cookies HOT 2
- Build warnings HOT 4
- Error following redirect for url HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monolith.