trace
trace11mo ago

Snippet Share

Made this application using Convex, next.js, and next-auth. A user does not need an account to preview a snippet. The notes below the following code is generated using AI. https://snippet-share-gamma.vercel.app/preview/jh7fpe0ayqe0cc84j96j5exrfh6mdbkx https://snippet-share-gamma.vercel.app/ Let me know if you come across any bug
Snippet Share
Snippet Share
Share code snippets with anyone, anywhere. Create, edit, and share code snippets with ease.
Snippet Share
Snippet Share
Share code snippets with anyone, anywhere. Create, edit, and share code snippets with ease.
15 Replies
Wayne
Wayne11mo ago
Thanks for sharing @trace . Snippet Share looks useful and well-designed.
trace
traceOP11mo ago
Thanks Wayne
ian
ian11mo ago
One thing I noticed is the "light" mode of the website makes the login button icon invisible
trace
traceOP11mo ago
Hey. Thanks for the feedback, Fixed it
ian
ian11mo ago
@trace I'm having trouble renaming a snippet. I was hoping to call it just bash or sh, but I can't even rename it to script.js
trace
traceOP11mo ago
Let me check on that. I will let you know soon Hey @ian can you provide me a bit more information? So you do not want the extension attach to the name? So in the application the the extension is coming from the language a user chooses. I initially did not have the .sh extension it is available now tho I did add another language option called "no language", that has no extension attached to it.
ian
ian11mo ago
I can rename from the dashboard page but when I go to rename on the homepage I don’t get the language options and it always fails even when logged in
trace
traceOP11mo ago
Hey Ian I tried it just now in the deployed link and it worked. Did you try similarly as in the video?
ian
ian11mo ago
From the dashboard it works, but I'm trying on the homepage:
ian
ian11mo ago
One feature request would be to just let me write the file name, and infer the file type from the extension. If it's an unknown extension, just don't do syntax highlighting.
trace
traceOP11mo ago
Gotcha. The homepage is non editable. I just made it look similar to what the final product will look like I will work on this one.
trace
traceOP11mo ago
now it will detect the extension from the name that the user enters. If no extension is provided it will choose the no language option. Also removed highlighting from the no language option
trace
traceOP10mo ago
GitHub
GitHub - trace2798/convex_postit
Contribute to trace2798/convex_postit development by creating an account on GitHub.
Hosna Qasmei
Hosna Qasmei10mo ago
This project is great!
trace
traceOP10mo ago
@Hosna Qasmei Thanks Hosna

Did you find this page helpful?