This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| import { fileURLToPath } from 'url'; | |
| import { dirname, join } from 'path'; | |
| import { spawn } from 'child_process'; | |
| const __filename = fileURLToPath(import.meta.url); | |
| const __dirname = dirname(__filename); | |
| const scriptPath = join(__dirname, '..', 'scripts', 'scrape-or-search.mjs'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "@uratmangun/scraper-tool", | |
| "version": "1.0.0", | |
| "description": "A CLI tool for web scraping and Google search", | |
| "type": "module", | |
| "bin": { | |
| "@uratmangun/scraper-tool": "./bin/cli.js" | |
| }, | |
| "files": [ | |
| "bin", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if you don't know the answer, try to search it on the internet. You can do so by running the following command: | |
| ``` | |
| npx @uratmangun/scraper-tool search "<query>" | |
| ``` | |
| Let's say the query is "how to install frog.fm". | |
| ``` | |
| npx @uratmangun/scraper-tool search "how to install frog.fm" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # Kiro OpenAI Gateway | |
| # https://github.com/jwadow/kiro-openai-gateway | |
| # Copyright (C) 2025 Jwadow | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU Affero General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. |
OlderNewer