Skip to content

Sushants-Git/SnippetsSafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This was made as a hackathon project for Frost Hacks 2024 by Vee, Ashish Malla, Siddarth and Sushant

Demo : SnippetSafe

--

SnippetSafe

Never loose your code snippits again.

image

Problem

While searching for an old code snippet during a project, we wasted significant time trying to recall and locate it. This experience inspired us to create a tool that efficiently stores and organizes code snippets, allowing users to easily retrieve them using some AI wizardery, even with vague descriptions, making the process seamless and time-saving.

What it does

You can easily store code snippets by copying them and adding a brief description along with some tags for better organization. The tool uses cosine similarity to match descriptions, allowing you to find snippets even with vague queries. This means you can type in a general idea of what you're looking for, and the tool will help you locate the relevant snippets. It makes managing your code snippets more efficient and helps you access what you need quickly. Plus, it runs locally in your browser, so you don’t have to worry about any costs.

image

image

How We Built It

  • Developed the front-end using React.js for seamless browser interaction.
  • Employed JavaScript for various project aspects.
  • Utilized MongoDB for user-specific snippet storage, ensuring accessibility from any device.
  • Integrated a pretrained model from Hugging Face for sentence similarity.
  • Added a touch of frosty snow to enhance the experience.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •