felo-ai 0.2.6 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish-npm.yml +39 -0
- package/CHANGELOG.md +30 -0
- package/CONTRIBUTING.md +346 -346
- package/README.en.md +129 -129
- package/README.md +435 -408
- package/docs/EXAMPLES.md +632 -632
- package/docs/FAQ.md +479 -479
- package/felo-search/LICENSE +21 -21
- package/felo-search/README.md +440 -440
- package/felo-search/SKILL.md +291 -291
- package/felo-slides/LICENSE +21 -21
- package/felo-slides/README.md +87 -87
- package/felo-slides/SKILL.md +166 -166
- package/felo-slides/scripts/run_ppt_task.mjs +251 -251
- package/felo-superAgent/LICENSE +21 -0
- package/felo-superAgent/README.md +125 -0
- package/felo-superAgent/SKILL.md +165 -0
- package/felo-web-fetch/README.md +127 -0
- package/felo-web-fetch/SKILL.md +204 -0
- package/felo-web-fetch/scripts/run_web_fetch.mjs +316 -0
- package/felo-x-search/SKILL.md +204 -0
- package/felo-x-search/scripts/run_x_search.mjs +385 -0
- package/felo-youtube-subtitling/README.md +59 -59
- package/felo-youtube-subtitling/SKILL.md +161 -161
- package/felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs +239 -239
- package/package.json +37 -35
- package/src/cli.js +370 -252
- package/src/config.js +66 -66
- package/src/search.js +142 -142
- package/src/slides.js +332 -332
- package/src/superAgent.js +609 -0
- package/src/{webExtract.js → webFetch.js} +148 -148
- package/src/xSearch.js +366 -0
- package/src/youtubeSubtitling.js +179 -179
- package/tests/config.test.js +78 -78
- package/tests/search.test.js +100 -100
- package/felo-web-extract/README.md +0 -78
- package/felo-web-extract/SKILL.md +0 -200
- package/felo-web-extract/scripts/run_web_extract.mjs +0 -232
package/README.en.md
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
# Felo AI
|
|
2
|
-
|
|
3
|
-
**Ask anything. Get current answers powered by AI.**
|
|
4
|
-
|
|
5
|
-
Felo AI provides a terminal CLI and Claude Code skill, with support for English, Chinese (Simplified & Traditional), Japanese, and Korean.
|
|
6
|
-
|
|
7
|
-
[]()
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Capabilities
|
|
12
|
-
|
|
13
|
-
Felo AI offers **Real-time Search**, **PPT Generation**, **Web
|
|
14
|
-
|
|
15
|
-
### Capability 1: Real-time Search
|
|
16
|
-
|
|
17
|
-
Search the web for up-to-date information and get AI-synthesized answers. Ideal for weather, news, prices, documentation, tech updates, and any question that needs “right now” information.
|
|
18
|
-
|
|
19
|
-
- **Multi-language**: Ask in your preferred language.
|
|
20
|
-
- **Terminal**: `felo search "your question"`
|
|
21
|
-
- **Claude Code**: After installing the skill, it triggers automatically, or type `/felo-ai your question`
|
|
22
|
-
- **Examples**: `felo search "Tokyo weather"`, `felo search "React 19 new features" --verbose`
|
|
23
|
-
|
|
24
|
-
### Capability 2: Generate PPT (Felo Slides)
|
|
25
|
-
|
|
26
|
-
Terminal: `felo slides "your topic"`. In Claude Code: install `npx @claude/skills add felo-slides`, then `/felo-slides your topic`. You get an online document link when done. Examples: `felo slides "Felo product intro, 3 slides"`, `felo slides "Introduction to React"`.
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## Install & Configure
|
|
31
|
-
|
|
32
|
-
### Install CLI
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npm install -g felo-ai
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Run without installing: `npx felo-ai search "Tokyo weather"`
|
|
39
|
-
After install, the command is `felo`.
|
|
40
|
-
|
|
41
|
-
### Configure API Key
|
|
42
|
-
|
|
43
|
-
Recommended (persisted):
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
felo config set FELO_API_KEY your-api-key-here
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Or set the environment variable: `export FELO_API_KEY="your-api-key-here"` (Linux/macOS), `$env:FELO_API_KEY="your-api-key-here"` (Windows PowerShell).
|
|
50
|
-
|
|
51
|
-
Get your API key at [felo.ai](https://felo.ai) (Settings → API Keys).
|
|
52
|
-
|
|
53
|
-
### Commands
|
|
54
|
-
|
|
55
|
-
| Command | Description |
|
|
56
|
-
|---------|-------------|
|
|
57
|
-
| `felo search "<query>"` | Real-time search |
|
|
58
|
-
| `felo slides "<prompt>"` | Generate PPT |
|
|
59
|
-
| `felo web-
|
|
60
|
-
| `felo youtube-subtitling -v <url-or-id>` | Fetch YouTube video subtitles |
|
|
61
|
-
| `felo config set FELO_API_KEY <key>` | Save API key |
|
|
62
|
-
| `felo config get/list/path/unset` | View / list / path / remove config |
|
|
63
|
-
|
|
64
|
-
### Examples
|
|
65
|
-
|
|
66
|
-
**Search**
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
felo search "Tokyo weather"
|
|
70
|
-
felo search "MacBook Air M3 price"
|
|
71
|
-
felo search "React 19 new features" --verbose
|
|
72
|
-
npx felo-ai search "Tokyo weather"
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
**Slides**
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
felo slides "Felo product intro, 3 slides"
|
|
79
|
-
felo slides "Introduction to React"
|
|
80
|
-
felo slides "Q4 2024 business review, 10 pages" --poll-timeout 300
|
|
81
|
-
npx felo-ai slides "Tokyo travel guide, 5 slides"
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
**Web
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
felo web-
|
|
88
|
-
felo web-
|
|
89
|
-
node felo-web-
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
**YouTube subtitling**
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
felo youtube-subtitling -v "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
|
96
|
-
felo youtube-subtitling -v "dQw4w9WgXcQ" --language en
|
|
97
|
-
node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs -v "dQw4w9WgXcQ" -l zh-CN
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## Claude Code Skills
|
|
103
|
-
|
|
104
|
-
**Search** — Install and use real-time search:
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
npx @claude/skills add felo-search
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
After setting `FELO_API_KEY`, ask Claude things like “What’s the weather in Tokyo today?” or “React 19 new features”; the search skill triggers automatically (or use `/felo-search your question`).
|
|
111
|
-
|
|
112
|
-
**Slides (PPT)** — `npx @claude/skills add felo-slides`, then `/felo-slides your topic`. Same `FELO_API_KEY`. [Details →](./felo-slides/README.md)
|
|
113
|
-
|
|
114
|
-
**Web
|
|
115
|
-
|
|
116
|
-
**YouTube Subtitling** — `felo youtube-subtitling -v "URL_or_VIDEO_ID"` or run `node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs` from repo. [Details →](./felo-youtube-subtitling/README.md)
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Links
|
|
121
|
-
|
|
122
|
-
- [Felo Open Platform](https://openapi.felo.ai/docs/) — Get your API key
|
|
123
|
-
- [API Documentation](https://openapi.felo.ai/docs/api-reference/v2/chat.html)
|
|
124
|
-
- [More examples](./docs/EXAMPLES.md) | [FAQ](./docs/FAQ.md) | [GitHub Issues](https://github.com/Felo-Inc/felo-skills/issues)
|
|
125
|
-
|
|
126
|
-
---
|
|
127
|
-
|
|
128
|
-
**Other languages:** [Chinese (Simplified)](README.zh-CN.md) | [Japanese](README.ja.md) | [Korean](README.ko.md) | [Chinese (Traditional)](README.zh-TW.md)
|
|
129
|
-
|
|
1
|
+
# Felo AI
|
|
2
|
+
|
|
3
|
+
**Ask anything. Get current answers powered by AI.**
|
|
4
|
+
|
|
5
|
+
Felo AI provides a terminal CLI and Claude Code skill, with support for English, Chinese (Simplified & Traditional), Japanese, and Korean.
|
|
6
|
+
|
|
7
|
+
[]()
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Capabilities
|
|
12
|
+
|
|
13
|
+
Felo AI offers **Real-time Search**, **PPT Generation**, **Web Fetch**, and **YouTube Subtitles**. Use them via the CLI in your terminal, or in Claude Code via skills (search can trigger automatically).
|
|
14
|
+
|
|
15
|
+
### Capability 1: Real-time Search
|
|
16
|
+
|
|
17
|
+
Search the web for up-to-date information and get AI-synthesized answers. Ideal for weather, news, prices, documentation, tech updates, and any question that needs “right now” information.
|
|
18
|
+
|
|
19
|
+
- **Multi-language**: Ask in your preferred language.
|
|
20
|
+
- **Terminal**: `felo search "your question"`
|
|
21
|
+
- **Claude Code**: After installing the skill, it triggers automatically, or type `/felo-ai your question`
|
|
22
|
+
- **Examples**: `felo search "Tokyo weather"`, `felo search "React 19 new features" --verbose`
|
|
23
|
+
|
|
24
|
+
### Capability 2: Generate PPT (Felo Slides)
|
|
25
|
+
|
|
26
|
+
Terminal: `felo slides "your topic"`. In Claude Code: install `npx @claude/skills add felo-slides`, then `/felo-slides your topic`. You get an online document link when done. Examples: `felo slides "Felo product intro, 3 slides"`, `felo slides "Introduction to React"`.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Install & Configure
|
|
31
|
+
|
|
32
|
+
### Install CLI
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm install -g felo-ai
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Run without installing: `npx felo-ai search "Tokyo weather"`
|
|
39
|
+
After install, the command is `felo`.
|
|
40
|
+
|
|
41
|
+
### Configure API Key
|
|
42
|
+
|
|
43
|
+
Recommended (persisted):
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
felo config set FELO_API_KEY your-api-key-here
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Or set the environment variable: `export FELO_API_KEY="your-api-key-here"` (Linux/macOS), `$env:FELO_API_KEY="your-api-key-here"` (Windows PowerShell).
|
|
50
|
+
|
|
51
|
+
Get your API key at [felo.ai](https://felo.ai) (Settings → API Keys).
|
|
52
|
+
|
|
53
|
+
### Commands
|
|
54
|
+
|
|
55
|
+
| Command | Description |
|
|
56
|
+
|---------|-------------|
|
|
57
|
+
| `felo search "<query>"` | Real-time search |
|
|
58
|
+
| `felo slides "<prompt>"` | Generate PPT |
|
|
59
|
+
| `felo web-fetch --url <url>` | Fetch webpage content (markdown/text/html) |
|
|
60
|
+
| `felo youtube-subtitling -v <url-or-id>` | Fetch YouTube video subtitles |
|
|
61
|
+
| `felo config set FELO_API_KEY <key>` | Save API key |
|
|
62
|
+
| `felo config get/list/path/unset` | View / list / path / remove config |
|
|
63
|
+
|
|
64
|
+
### Examples
|
|
65
|
+
|
|
66
|
+
**Search**
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
felo search "Tokyo weather"
|
|
70
|
+
felo search "MacBook Air M3 price"
|
|
71
|
+
felo search "React 19 new features" --verbose
|
|
72
|
+
npx felo-ai search "Tokyo weather"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Slides**
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
felo slides "Felo product intro, 3 slides"
|
|
79
|
+
felo slides "Introduction to React"
|
|
80
|
+
felo slides "Q4 2024 business review, 10 pages" --poll-timeout 300
|
|
81
|
+
npx felo-ai slides "Tokyo travel guide, 5 slides"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Web fetch**
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
felo web-fetch --url "https://example.com"
|
|
88
|
+
felo web-fetch --url "https://example.com" --format text --readability
|
|
89
|
+
node felo-web-fetch/scripts/run_web_fetch.mjs --url "https://example.com" --format markdown
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**YouTube subtitling**
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
felo youtube-subtitling -v "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
|
96
|
+
felo youtube-subtitling -v "dQw4w9WgXcQ" --language en
|
|
97
|
+
node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs -v "dQw4w9WgXcQ" -l zh-CN
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Claude Code Skills
|
|
103
|
+
|
|
104
|
+
**Search** — Install and use real-time search:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
npx @claude/skills add felo-search
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
After setting `FELO_API_KEY`, ask Claude things like “What’s the weather in Tokyo today?” or “React 19 new features”; the search skill triggers automatically (or use `/felo-search your question`).
|
|
111
|
+
|
|
112
|
+
**Slides (PPT)** — `npx @claude/skills add felo-slides`, then `/felo-slides your topic`. Same `FELO_API_KEY`. [Details →](./felo-slides/README.md)
|
|
113
|
+
|
|
114
|
+
**Web Fetch** — `felo web-fetch --url "https://example.com"` or run `node felo-web-fetch/scripts/run_web_fetch.mjs` from repo. [Details →](./felo-web-fetch/README.md)
|
|
115
|
+
|
|
116
|
+
**YouTube Subtitling** — `felo youtube-subtitling -v "URL_or_VIDEO_ID"` or run `node felo-youtube-subtitling/scripts/run_youtube_subtitling.mjs` from repo. [Details →](./felo-youtube-subtitling/README.md)
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Links
|
|
121
|
+
|
|
122
|
+
- [Felo Open Platform](https://openapi.felo.ai/docs/) — Get your API key
|
|
123
|
+
- [API Documentation](https://openapi.felo.ai/docs/api-reference/v2/chat.html)
|
|
124
|
+
- [More examples](./docs/EXAMPLES.md) | [FAQ](./docs/FAQ.md) | [GitHub Issues](https://github.com/Felo-Inc/felo-skills/issues)
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
**Other languages:** [Chinese (Simplified)](README.zh-CN.md) | [Japanese](README.ja.md) | [Korean](README.ko.md) | [Chinese (Traditional)](README.zh-TW.md)
|
|
129
|
+
|