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
Thanks for sharing @trace . Snippet Share looks useful and well-designed.
Thanks Wayne
One thing I noticed is the "light" mode of the website makes the login button icon invisible
Hey. Thanks for the feedback, Fixed it
@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
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.
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
Hey Ian I tried it just now in the deployed link and it worked. Did you try similarly as in the video?
From the dashboard it works, but I'm trying on the homepage:
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.
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.
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
Code is public now: https://github.com/trace2798/convex_postit
GitHub
GitHub - trace2798/convex_postit
Contribute to trace2798/convex_postit development by creating an account on GitHub.
This project is great!
@Hosna Qasmei Thanks Hosna