Repository navigation
Add kagi-news extension - #22389
Add kagi-news extension#22389
Conversation
|
Congratulations on your new Raycast extension! 🚀 You can expect an initial review within five business days. Once the PR is approved and merged, the extension will be available on our Store. |
|
Hi there, my first extension to browse Kagi News directly from Raycast. |
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This PR introduces a new Kagi News extension that allows users to browse curated news articles across 80+ categories with support for 25+ languages. The extension fetches news from Kagi's public API and displays articles with summaries, talking points, and clickable source references.
Key features implemented:
- Category browsing with dropdown selector and persistent state
- Article detail view with summary, talking points, and "Did You Know" facts
- OnThisDay category showing historical events
- Multi-language support via preferences
- Clean error handling for API failures
Issue found:
- The
Preferencesinterface is manually defined but should be auto-generated by Raycast inraycast-env.d.ts
The code is well-structured with proper TypeScript typing, follows Raycast extension guidelines, and includes all required metadata and configuration files.
Confidence Score: 4/5
- This PR is safe to merge with one minor syntax fix required
- The extension is well-implemented with proper error handling, correct configuration files, and follows Raycast guidelines. The only issue is the manually defined Preferences interface which must be removed as it's auto-generated by Raycast. All other aspects (ESLint config, Prettier config, package.json, metadata) are correctly configured.
- Pay attention to
extensions/kagi-news/src/kagi-news.tsx- remove the Preferences interface before merging
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/kagi-news/src/kagi-news.tsx | 4/5 | Main extension file with proper structure and logic; only issue is the manually defined Preferences interface |
| extensions/kagi-news/package.json | 5/5 | Well-configured package manifest with proper dependencies and preferences setup |
| extensions/kagi-news/.prettierrc | 5/5 | Correct Prettier configuration matching Raycast standards (printWidth: 120, singleQuote: false) |
| extensions/kagi-news/eslint.config.js | 5/5 | Proper ESLint configuration using correct import path (eslint/config) and Raycast config |
8 files reviewed, 1 comment
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
…eScript configuration, and refactor code structure - Updated dependencies in package.json and package-lock.json for @raycast/utils and @raycast/eslint-config. - Enhanced tsconfig.json with updated compiler options and included schema. - Refactored kagi-news.tsx to utilize hooks for category management and improved error handling in UI components. - Added subtitle to the extension's metadata for better user experience.
|
Hi @mickaphd👋 Thanks for your contribution 🔥 I updated the code a bit, can you make sure I didn't break something 🙂 |
|
Hi @mickaphd 👋 I updated the code to make it work correctly for escape (the same way as the rest of Raycast works). Can you make sure that I didn't break anything again? Thank you 🙂 |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Looks good to me, approved 🔥
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@mickaphd). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag. |

Description
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder