Skip to content

Add logos-launcher extension - #22366

Merged
raycastbot merged 5 commits into
raycast:mainfrom
Marvive:ext/logos-launcher
Nov 13, 2025
Merged

raycastbot merged 5 commits into
raycast:mainfrom
Marvive:ext/logos-launcher

Conversation

@Marvive

@Marvive Marvive commented Oct 23, 2025 •

Copy link
Copy Markdown
Contributor

Description

Screencast

Checklist

- images
- initial publish script
- fixed tooltips again
- updated tooltips
- fix aliases
- v2
- initial commit
@raycastbot

ghost commented Oct 23, 2025

Copy link
Copy Markdown
Collaborator

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.

@raycastbot

ghost commented Nov 6, 2025

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Nov 6, 2025
@Marvive
Marvive marked this pull request as ready for review November 6, 2025 18:24
@Marvive

ghost commented Nov 6, 2025

Copy link
Copy Markdown
Contributor Author

Sorry, didn't realize I needed to mark it as ready for review!

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This PR introduces a new "Logos Launcher" extension that integrates with Logos Bible Software. The extension provides two commands: "Open Verse in Logos" (a no-view command for opening specific Bible verses via deep links) and "Search Library" (a view command for searching through local Logos catalog database). The implementation uses SQL.js to read Logos' catalog.db files and Fuse.js for fuzzy search functionality. The extension includes comprehensive error handling, preference configurations for Bible version aliases and database paths, and supports multiple URL schemes for Logos compatibility. The codebase follows TypeScript conventions and implements sophisticated parsing logic for Bible references and version handling.

Important Files Changed

Filename Score Overview
extensions/logos-launcher/eslint.config.js 2/5 ESLint configuration with incorrect import path that will prevent linting from working
extensions/logos-launcher/package.json 3/5 Extension manifest with preference configuration issues and potential icon path problems
extensions/logos-launcher/CHANGELOG.md 4/5 Initial changelog entry with hardcoded date instead of template string format
extensions/logos-launcher/src/search-library.tsx 4/5 Complex database search implementation with comprehensive error handling and caching
extensions/logos-launcher/src/open-verse.ts 4/5 Bible verse parsing command with sophisticated alias and reference resolution
extensions/logos-launcher/README.md 5/5 Comprehensive documentation covering setup, configuration, and troubleshooting
extensions/logos-launcher/.gitignore 5/5 Standard Raycast extension gitignore following established patterns
extensions/logos-launcher/tsconfig.json 5/5 TypeScript configuration following Raycast extension standards
extensions/logos-launcher/.prettierrc 5/5 Standard Raycast Prettier configuration with correct settings

Confidence score: 3/5

  • This PR requires careful review due to configuration issues and missing metadata requirements
  • Score reflects critical ESLint configuration error, preference validation problems, missing icon asset, and hardcoded changelog date that need to be addressed before merge
  • Pay close attention to eslint.config.js (broken import), package.json (preference configurations), and ensure proper icon placement and changelog formatting

9 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment thread extensions/logos-launcher/CHANGELOG.md Outdated
@@ -0,0 +1,6 @@
# Logos Search Changelog

## [0.1.0] - 2025-10-23

ghost Nov 6, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

syntax: The changelog entry must use the template string {PR_MERGE_DATE} instead of a hardcoded date

Suggested change
## [0.1.0] - 2025-10-23
## [0.1.0] - {PR_MERGE_DATE}

Context Used: Context from dashboard - For changelog entries, use a format that includes the version and the merge date, e.g., '## [Version... (source)

Comment on lines +124 to +130
} catch (error) {
const message = extractErrorMessage(error);
toast.style = Toast.Style.Failure;
toast.title = "Indexing failed";
toast.message = message;
setState({ resources: [], isLoading: false, error: message });
} finally {

ghost Nov 6, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Could use showFailureToast from @raycast/utils to simplify error handling

Comment on lines +158 to +162
await showToast({
style: Toast.Style.Failure,
title: "Could not open Logos",
message: `${extractErrorMessage(lastError)} — Tried ${primaryFirst.join(", ")}`,
});

ghost Nov 6, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Could use showFailureToast from @raycast/utils to simplify error handling

@raycastbot raycastbot removed the status: stalled Stalled due inactivity label Nov 6, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This PR adds a new logos-launcher extension that provides two commands for integrating with Logos Bible Software: "Open Verse in Logos" for quick verse lookup using ref.ly URLs and "Search Library" for searching through the local Logos catalog database. The extension handles complex Bible version aliases through flexible JSON or line-based configuration formats and uses SQLite database queries with fuzzy search capabilities for library resources. It includes comprehensive error handling, intelligent database path discovery, and caching mechanisms for performance optimization. The implementation follows Raycast extension patterns with proper TypeScript configuration, standard linting rules, and appropriate documentation.

Important Files Changed

Filename Score Overview
extensions/logos-launcher/eslint.config.js 5/5 Adds standard Raycast ESLint configuration file
extensions/logos-launcher/.gitignore 5/5 Adds standard .gitignore patterns for Raycast extensions
extensions/logos-launcher/.prettierrc 5/5 Adds standard Prettier formatting configuration
extensions/logos-launcher/CHANGELOG.md 5/5 Adds initial changelog entry (previously reviewed date issue was fixed)
extensions/logos-launcher/tsconfig.json 5/5 Adds standard TypeScript configuration for Raycast extension
extensions/logos-launcher/README.md 5/5 Adds comprehensive documentation with usage examples
extensions/logos-launcher/package.json 4/5 Adds extension manifest with commands and preferences configuration
extensions/logos-launcher/src/search-library.tsx 4/5 Implements library search command with database querying
extensions/logos-launcher/src/open-verse.ts 5/5 Implements verse opening command with alias resolution

Confidence score: 4/5

  • This PR is safe to merge with only minor preference configuration concerns
  • Score reflects well-structured code and proper Raycast patterns, with one deduction for preference default value placement issue
  • Pay attention to the package.json file for the fuzzy threshold preference configuration

Context used:

  • Context from dashboard - When specifying default values in preferences, provide them in the 'default' field rather than in th... (source)

9 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi 👋

Thanks for your contribution 💪

I have now tested your extension, and I have some feedback ready for you:

  • Could you look into the feedback from Greptile?

  • Could you add at least one screenshot of the extension and add them to a folder called metadata - you need to use our tool to get the right padding on the images

  • The fuzzy threshold preference should not be required to set, it feels a bit weird to let the user initially pick this

I'm looking forward to testing this extension again 🔥

I converted this PR into a draft until it's ready for the review, please press the button Ready for review when it's ready and we'll have a look 😊

Feel free to contact me here or at Slack if you have any questions.

@pernielsentikaer
pernielsentikaer marked this pull request as draft November 7, 2025 11:34
@Marvive
Marvive marked this pull request as ready for review November 7, 2025 22:19

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This review covers only the changes made since the last review, not the entire PR. The main update involves fixing the ESLint configuration file to align with Raycast's standard template. The developer changed from ES6 module syntax back to CommonJS syntax, which is the expected format for ESLint configuration in Raycast extensions.

Important Files Changed

Filename Score Overview
extensions/logos-launcher/eslint.config.js 5/5 Fixed ESLint configuration to use standard Raycast template with CommonJS syntax

Confidence score: 5/5

  • This PR is safe to merge with minimal risk
  • Score reflects adherence to Raycast standards and simple configuration fix
  • No files require special attention

7 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment on lines +1 to +6
import { defineConfig } from "eslint/config";
import raycastConfig from "@raycast/eslint-config";

export default defineConfig([
...raycastConfig,
]);

ghost Nov 7, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

syntax: This ESLint config should use the default CommonJS template format. Please revert to the standard Raycast format:

Suggested change
import { defineConfig } from "eslint/config";
import raycastConfig from "@raycast/eslint-config";
export default defineConfig([
...raycastConfig,
]);
const { defineConfig } = require("eslint/config");
const raycastConfig = require("@raycast/eslint-config");
module.exports = defineConfig([
...raycastConfig,
]);

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 9c35408 into raycast:main Nov 13, 2025
@github-actions

ghost commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 13, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@Marvive).

Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag.

@Marvive
Marvive deleted the ext/logos-launcher branch November 13, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants