Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webforai can now be run from the cli #30

Merged
merged 25 commits into from
Jul 13, 2024
Merged

Conversation

moons-14
Copy link
Contributor

By simply running npx webforai, you can now convert URLs or local HTML files to Markdown.
This tool supports both interactive input and command-line arguments for specifying source and output paths, enabling intuitive and efficient usage.

Examples of usage

  • npx webforai https://example.com example.md
  • npx webforai https://example.com --loader=playwright

Copy link

changeset-bot bot commented Jul 12, 2024

🦋 Changeset detected

Latest commit: d66e619

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
webforai Minor
bench Patch
scraping Patch
simple Patch
translate Patch
worker Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@inaridiy
Copy link
Owner

I'm starting to wonder what to do with the lisence notation in build.ts. As it is, every time someone edits build.ts, the name will increase.

packages/webforai/build.ts

@moons-14

@moons-14
Copy link
Contributor Author

moons-14 commented Jul 13, 2024

Here's a natural translation of the given text:

The license of Honojs states:

Copyright (c) 2021 - present, Yusuke Wada and Hono contributors

https://github.com/honojs/hono/blob/main/LICENSE

Similarly, for this repository's license, if we add the phrase "webforai contributors" to the license in all files, there would likely be no need to specifically mention my name.

@inaridiy

@moons-14
Copy link
Contributor Author

I'd like to implement a few more additional features, so the merge can wait.

@moons-14
Copy link
Contributor Author

We implemented all the features we wanted to implement.
All that's left is the license.

@moons-14
Copy link
Contributor Author

TODO: Ensure that the test does not fail after editing the README

@inaridiy inaridiy merged commit a7a47e1 into inaridiy:main Jul 13, 2024
1 of 2 checks passed
@moons-14 moons-14 deleted the feat/cli branch July 13, 2024 16:38
@github-actions github-actions bot mentioned this pull request Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants