Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Code snippet sharing #22

Closed
mryalamanchi opened this issue May 4, 2022 · 4 comments
Closed

[Feature Request] Code snippet sharing #22

mryalamanchi opened this issue May 4, 2022 · 4 comments
Assignees
Labels

Comments

@mryalamanchi
Copy link

Just riffing with the idea of code snippet sharing on SolPg.

  • Share code snippets with a shortened URL, makes sharing small PoCs easier for devs.
  • Have an option to import the code from a git repo like GitHub (May cause an issue with Anchor.toml, Cargo.toml file imports)
  • Have an option to export the files from SolPg into a compressed package.
@mryalamanchi
Copy link
Author

I understand that this feature is a complex one to do single-handedly,
kindly suggest where you may need help if you were to build this out!

Devs should be happy to contribute!

@acheroncrypto
Copy link
Member

Yes, all of these features are needed for better experience.

Share code snippets with a shortened URL, makes sharing small PoCs easier for devs.

Added this recently, haven't announced yet but you can use the feature currently. Example. There is a share button in explorer page.

I understand that this feature is a complex one to do single-handedly,
kindly suggest where you may need help if you were to build this out!

I appreciate any help and you can work on this if you'd like, but this features are probably too difficult for new people to implement. I will be opening some easier issues for people to implement if they want to contribute.

@mryalamanchi
Copy link
Author

I totally missed the share feature. It works!

@acheroncrypto acheroncrypto self-assigned this Jul 19, 2022
@acheroncrypto
Copy link
Member

Share code snippets with a shortened URL, makes sharing small PoCs easier for devs.
Have an option to import the code from a git repo like GitHub (May cause an issue with Anchor.toml, Cargo.toml file imports)
Have an option to export the files from SolPg into a compressed package.

Closing this as all 3 of these requests have been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants