Skip to content

[FEATURE]: Search organizations by name instead of just username #438

Open
divya5623/OrgExplorer
#1

Description

@ProgrammerNesi

Feature and its Use Cases

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

Activity

  1. ProgrammerNesi commented on Nov 1, 2026

    @ProgrammerNesi
    ContributorAuthor

    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.

    1. 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.

    2. 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.

    3. 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.

    4. 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!

    Thanks!

  2. gitcordapp commented on Nov 2, 2026

    @gitcordapp

    Link your account with Gitcord

    Thanks for opening this issue, @ProgrammerNesi!

    To receive Discord notifications and contributor tracking for this organization:

    1. Join Discord: https://discord.gg/hjUhu33uAn
    2. In Discord, run /link ProgrammerNesi
    3. Paste the verification code into your GitHub bio (or a public gist)
    4. Click Verify in Discord (or run /verify-link ProgrammerNesi)

    Once linked, Gitcord can notify you about assignments, mentions, and more.

    — Posted by Gitcord

  3. ProgrammerNesi commented on Nov 5, 2026

    @ProgrammerNesi
    ContributorAuthor

    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.

  4. divya5623 commented on Nov 6, 2026

    @divya5623

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions