Skip to content

Add manglish-keyboard extension - #28950

Merged
raycastbot merged 12 commits into
raycast:mainfrom
mdsherinoff:ext/manglish-keyboard
Jun 24, 2026
Merged

raycastbot merged 12 commits into
raycast:mainfrom
mdsherinoff:ext/manglish-keyboard

Conversation

@mdsherinoff

@mdsherinoff mdsherinoff commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

This is a Raycast extension that lets you type English phonetics (like "namaskaram") and get Malayalam script (നമസ്കാരം) for it.

Screencast

image image

Checklist

- Update: package.json
- Merge branch \'main\' of https://github.com/mdsherinoff/Manglish-Keyboard
- Update: Logo
- Update README.md
- Update README.md
- Merge pull request raycast#1 from mdsherinoff/googleAPI
- Setup: googleAPI setup for transliteration
- Setup: indic-transliteration and history
- Initial commit: Manglish Keyboard Raycast extension
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@socket-security

socket-security Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

Dependency limit exceeded — report not shown.

This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report.

Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard.

Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account.

@mdsherinoff
mdsherinoff marked this pull request as ready for review June 22, 2026 23:26
@greptile-apps

greptile-apps Bot commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds the manglish-keyboard extension, which lets users type English phonetics (Manglish) and receive Malayalam Unicode script via the Google Input Tools API. Previous review rounds addressed race conditions, unused dependencies, JSON parse safety, null-return on API failure, and in-flight request cancellation — all of which appear to be resolved in the current state of the code.

  • src/transliterate.ts — fetches transliterations word-by-word with a module-level cache, returns null on HTTP errors or non-SUCCESS API responses, and fans out parallel requests for uncached words.
  • src/type-in-manglish.tsx — debounces input at 400 ms, increments a requestId ref to discard stale responses, and correctly renders three UI states: result shown, transliteration failed, and empty welcome view.
  • CHANGELOG.md — uses a hardcoded date (2026-06-24) instead of the {PR_MERGE_DATE} placeholder required by Raycast convention.

Confidence Score: 5/5

The extension is safe to merge once the changelog placeholder is corrected; all previously flagged logic issues have been resolved.

The core transliteration logic correctly handles API failures, in-flight request cancellation, and history persistence edge cases. The only remaining issue is a cosmetic changelog formatting nit that does not affect runtime behaviour.

CHANGELOG.md needs the hardcoded date replaced with {PR_MERGE_DATE}.

Important Files Changed

Filename Overview
extensions/manglish-keyboard/CHANGELOG.md Initial changelog entry uses a hardcoded date instead of the required {PR_MERGE_DATE} placeholder.
extensions/manglish-keyboard/src/transliterate.ts Google Input Tools API call with per-word caching; correctly returns null on non-SUCCESS responses and API errors.
extensions/manglish-keyboard/src/type-in-manglish.tsx Main transliteration command; properly handles debouncing, in-flight request cancellation, and null output states after previous fixes.
extensions/manglish-keyboard/src/history-utils.ts LocalStorage-backed history with JSON.parse wrapped in try/catch and array validation before use.
extensions/manglish-keyboard/src/history.tsx History browser command with copy actions and a confirm-before-clear destructive action.
extensions/manglish-keyboard/package.json Extension manifest with correct schema, network permissions for inputtools.google.com, and only @raycast/api as a runtime dependency.

Reviews (11): Last reviewed commit: "Update CHANGELOG.md and optimise images" | Re-trigger Greptile

- Fixes: Based on everything asked by from code review
- Add: screenshots metada
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
- Merge branch \'contributions/merge-1782190698379\'
- Pull contributions
- Fix: greptile reports
- Remove: BATCH_SIZE from transliterate
- Update: transliterate.ts
- Update: transliterate.ts
@0xdhrv 0xdhrv self-assigned this Jun 24, 2026
0xdhrv added 2 commits June 24, 2026 19:11
- Correct table formatting in README for better readability
- Update `package.json` description for clarity
- Remove unused `eslint.config.js` for cleanup
- Upgrade development dependencies for improved stability
- Add `"types": ["node"]` to include Node type definitions.
- Ensures TypeScript can resolve Node globals used in the extension.

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

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 30997c5 into raycast:main Jun 24, 2026
2 of 3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Published to the Raycast Store:
https://raycast.com/mohammed_sherin_mohammed/manglish-keyboard

@raycastbot

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 (@mdsherinoff).

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

@mdsherinoff

Copy link
Copy Markdown
Contributor Author

Yes, I have linked my GitHub account to Raycast. Thank You.

almatkai pushed a commit to almatkai/raymes-extensions that referenced this pull request Jul 13, 2026
* Add manglish-keyboard extension

- Update: package.json
- Merge branch \'main\' of https://github.com/mdsherinoff/Manglish-Keyboard
- Update: Logo
- Update README.md
- Update README.md
- Merge pull request #1 from mdsherinoff/googleAPI
- Setup: googleAPI setup for transliteration
- Setup: indic-transliteration and history
- Initial commit: Manglish Keyboard Raycast extension

* Fix: Error in Run Ray CLI

* Update manglish-keyboard extension

- Fixes: Based on everything asked by from code review
- Add: screenshots metada

* Fix: API failure silently shows English text as "Malayalam Output"

* Update transliterate.ts

* Update type-in-manglish.tsx

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update manglish-keyboard extension

- Merge branch \'contributions/merge-1782190698379\'
- Pull contributions
- Fix: greptile reports

* Update: Transliteration failed UI

* Update manglish-keyboard extension

- Remove: BATCH_SIZE from transliterate
- Update: transliterate.ts
- Update: transliterate.ts

* chore(manglish-keyboard): update formatting and dependencies
- Correct table formatting in README for better readability
- Update `package.json` description for clarity
- Remove unused `eslint.config.js` for cleanup
- Upgrade development dependencies for improved stability

* build(manglish-keyboard): add node types to tsconfig

- Add `"types": ["node"]` to include Node type definitions.
- Ensures TypeScript can resolve Node globals used in the extension.

* Update CHANGELOG.md and optimise images

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Dhruv Suthar <[email protected]>
Co-authored-by: raycastbot <[email protected]>
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