[GH-ISSUE #680] [feature]: Public account data #240

Open
opened 2026-03-16 14:10:36 +03:00 by kerem · 8 comments
Owner

Originally created by @leomp12 on GitHub (Mar 17, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/680

Is your feature request related to a problem? Please describe.
Imo will be great to be able to share account data, specially collections.
I saw team support planning (https://github.com/liyasthomas/postwoman/issues/580), it will be awesome, but in some cases (at least on mine 😄 ) public collections is the best solution, without login required to read.

Describe the solution you'd like

  • User may be able to make account data public (read only);
  • With public account, user will have a custom URL (maybe just a query param) with ID to share;

Describe alternatives you've considered
Teams, but not so good for this case and I think it's even harder to implement.

Additional context
N/A

Originally created by @leomp12 on GitHub (Mar 17, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/680 **Is your feature request related to a problem? Please describe.** Imo will be great to be able to share account data, specially collections. I saw team support planning (https://github.com/liyasthomas/postwoman/issues/580), it will be awesome, but in some cases (at least on mine :smile: ) public collections is the best solution, without login required to read. **Describe the solution you'd like** - User may be able to make account data public (read only); - With public account, user will have a custom URL (maybe just a query param) with ID to share; **Describe alternatives you've considered** Teams, but not so good for this case and I think it's even harder to implement. **Additional context** N/A
Author
Owner

@leomp12 commented on GitHub (Mar 17, 2020):

@liyasthomas I can give a try if you agree and can wait a while again (I'm still kind of busy 😛 )

<!-- gh-comment-id:600162228 --> @leomp12 commented on GitHub (Mar 17, 2020): @liyasthomas I can give a try if you agree and can wait a while again (I'm still kind of busy :stuck_out_tongue: )
Author
Owner

@leomp12 commented on GitHub (Mar 17, 2020):

Additionally, for this purpose will be good to provide URLs for each collection request (another issue?).

<!-- gh-comment-id:600163089 --> @leomp12 commented on GitHub (Mar 17, 2020): Additionally, for this purpose will be good to provide URLs for each collection request (another issue?).
Author
Owner

@liyasthomas commented on GitHub (Mar 17, 2020):

I planned Teams support to be a customizable read-only collections with a sharable ID.

<!-- gh-comment-id:600310259 --> @liyasthomas commented on GitHub (Mar 17, 2020): I planned Teams support to be a customizable read-only collections with a sharable ID.
Author
Owner

@leomp12 commented on GitHub (Mar 18, 2020):

I'm not sure if I understand, will team support work as I described here?
I imagined that the teams would be composed of invited (authenticated) users only, and possibly with write permission, not?

<!-- gh-comment-id:600672693 --> @leomp12 commented on GitHub (Mar 18, 2020): I'm not sure if I understand, will team support work as I described here? I imagined that the teams would be composed of invited (authenticated) users only, and possibly with write permission, not?
Author
Owner

@liyasthomas commented on GitHub (Mar 18, 2020):

I thought of a public/authenticated Collections. Need some refining on it. Will update progress here. Anyways, let this issue stay untill then.

<!-- gh-comment-id:600676744 --> @liyasthomas commented on GitHub (Mar 18, 2020): I thought of a public/authenticated Collections. Need some refining on it. Will update progress here. Anyways, let this issue stay untill then.
Author
Owner

@kondr1 commented on GitHub (Mar 3, 2025):

Is this still in the plans?

<!-- gh-comment-id:2694242142 --> @kondr1 commented on GitHub (Mar 3, 2025): Is this still in the plans?
Author
Owner

@liyasthomas commented on GitHub (Mar 3, 2025):

We’re definitely working on making the API documentation and hosting a priority for next quarter. This could be a great starting point for public workspaces and collections.

<!-- gh-comment-id:2694338599 --> @liyasthomas commented on GitHub (Mar 3, 2025): We’re definitely working on making the API documentation and hosting a priority for next quarter. This could be a great starting point for public workspaces and collections.
Author
Owner

@MkDev11 commented on GitHub (Feb 25, 2026):

Hi @liyasthomas @jamesgeorge007, I’d like to implement this issue and would appreciate your feedback on this approach before sending a PR.

Scope (MVP)

  • Share one collection at a time (personal or team) via a read-only link.
  • User gets a shareable URL (e.g. ?shared=<shareId> or /shared/<shareId>) that works without login.

Backend

  • New share record (e.g. table or publicShareId on collection) so we can resolve shareId → collection and workspace type.
  • Unauthenticated read-only endpoint (GraphQL query or REST, similar to existing shortcode / published-docs) that returns the collection tree (reusing current export logic).
  • Authenticated mutation so only the owner (or team editor/owner) can create/revoke a share.
  • Throttling on the public endpoint to limit abuse.

Frontend

  • “Share” / “Get link” in the collection UI (personal and team) that creates a share and copies the URL.
  • Public view route (e.g. /shared/:shareId) that loads and shows the collection in read-only mode, no login.

Security

  • Only collection owner (or team with permission) can create/revoke.
  • Public response limited to that one collection; consider documenting or optionally redacting sensitive auth/env data in the exported payload.

If this direction works for you, I’ll implement accordingly and open a PR. Thanks.

<!-- gh-comment-id:3956354184 --> @MkDev11 commented on GitHub (Feb 25, 2026): Hi @liyasthomas @jamesgeorge007, I’d like to implement this issue and would appreciate your feedback on this approach before sending a PR. ### Scope (MVP) - **Share one collection at a time** (personal or team) via a read-only link. - User gets a **shareable URL** (e.g. `?shared=<shareId>` or `/shared/<shareId>`) that works **without login**. ### Backend - New **share record** (e.g. table or `publicShareId` on collection) so we can resolve `shareId` → collection and workspace type. - **Unauthenticated read-only endpoint** (GraphQL query or REST, similar to existing shortcode / published-docs) that returns the collection tree (reusing current export logic). - **Authenticated mutation** so only the owner (or team editor/owner) can create/revoke a share. - **Throttling** on the public endpoint to limit abuse. ### Frontend - **“Share” / “Get link”** in the collection UI (personal and team) that creates a share and copies the URL. - **Public view route** (e.g. `/shared/:shareId`) that loads and shows the collection in **read-only** mode, no login. ### Security - Only collection owner (or team with permission) can create/revoke. - Public response limited to that one collection; consider documenting or optionally redacting sensitive auth/env data in the exported payload. If this direction works for you, I’ll implement accordingly and open a PR. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#240
No description provided.