You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Search organizations by name instead of just username #438
Summary
Right now OrgExplorer only accepts an organization's GitHub username/slug (e.g. psf). If someone types the organization's actual name, like Python Software Foundation, it gets split into separate words and the correct organization is not found. This makes the app harder to use for people who know an org by its name but not its handle(or username).
Proposed behavior
When a user enters a name, first look it up on GitHub using the search api, then load the organization using the matching handle.
python software foundation → finds psf
Multiple organizations can still be entered, separated by commas
Additional Context
Screen.Recording.2026-11-01.at.9.16.04.PM.mov
Code of Conduct
I have joined the Discord server and will post updates there
I have searched existing issues to avoid duplicates
Hi maintainers! Here's my proposed approach for implementing this feature.
I suggest introducing a small organization-resolution step before the existing organization-loading logic.
Try direct lookup first: For each input, call GET /orgs/{input} as the application does today. If it returns 200, use the organization directly. If the input contains spaces, skip this step and proceed to name search.
Search by organization name: If the direct lookup returns 404, call GitHub's Search Users API:
GET /search/users?q={input} in:name type:org
This searches GitHub accounts by name and restricts results to organizations.
Resolve the matching organization: Rank results by exact login match, normalized login match (ignoring case, spaces, hyphens, and underscores), and finally GitHub's relevance ranking. If multiple plausible matches remain, we could show a small selection list.
Fetch the organization: Once a match is selected, use its login to call GET /orgs/{login} and retrieve the complete organization profile.
@Ri1tik@rahul-vyas-dev
Please let me know if this approach looks good or if any modifications are needed. I'd love to work on implementing this feature!
Hey @divya5623, I had already started working on this issue after sharing my proposed implementation approach above. I was waiting for maintainer feedback before opening a PR.
I see that you've now opened a PR for the same feature. I would appreciate it if the maintainers could clarify how they want to proceed, considering I had already started working on this independently.
I understand that you had already started working on this issue, and I appreciate you sharing your approach.
I had independently worked on the same feature and have completed the implementation in PR #444. I've also addressed the review feedback and tested my changes.
I understand that duplicate contributions can happen in open source. I'll respect the maintainers' decision on how to proceed, and I'm happy to coordinate with you if needed.
Activity
ProgrammerNesi commentedon Nov 1, 2026
Implementation Approach
Hi maintainers! Here's my proposed approach for implementing this feature.
I suggest introducing a small organization-resolution step before the existing organization-loading logic.
Try direct lookup first: For each input, call
GET /orgs/{input}as the application does today. If it returns200, use the organization directly. If the input contains spaces, skip this step and proceed to name search.Search by organization name: If the direct lookup returns
404, call GitHub's Search Users API:GET /search/users?q={input} in:name type:orgThis searches GitHub accounts by name and restricts results to organizations.
Resolve the matching organization: Rank results by exact login match, normalized login match (ignoring case, spaces, hyphens, and underscores), and finally GitHub's relevance ranking. If multiple plausible matches remain, we could show a small selection list.
Fetch the organization: Once a match is selected, use its
loginto callGET /orgs/{login}and retrieve the complete organization profile.@Ri1tik @rahul-vyas-dev
Please let me know if this approach looks good or if any modifications are needed. I'd love to work on implementing this feature!
Thanks!
gitcordapp commentedon Nov 2, 2026
Link your account with Gitcord
Thanks for opening this issue, @ProgrammerNesi!
To receive Discord notifications and contributor tracking for this organization:
/link ProgrammerNesi/verify-link ProgrammerNesi)Once linked, Gitcord can notify you about assignments, mentions, and more.
— Posted by Gitcord
ProgrammerNesi commentedon Nov 5, 2026
Hey @divya5623, I had already started working on this issue after sharing my proposed implementation approach above. I was waiting for maintainer feedback before opening a PR.
I see that you've now opened a PR for the same feature. I would appreciate it if the maintainers could clarify how they want to proceed, considering I had already started working on this independently.
divya5623 commentedon Nov 6, 2026
Hi @ProgrammerNesi,
I understand that you had already started working on this issue, and I appreciate you sharing your approach.
I had independently worked on the same feature and have completed the implementation in PR #444. I've also addressed the review feedback and tested my changes.
I understand that duplicate contributions can happen in open source. I'll respect the maintainers' decision on how to proceed, and I'm happy to coordinate with you if needed.
Thanks for understanding!