GitHub / quicksnip-dev / quicksnip
Find code snippets in seconds, across multiple languages.
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quicksnip-dev%2Fquicksnip
PURL: pkg:github/quicksnip-dev/quicksnip
Stars: 392
Forks: 128
Open issues: 17
License: mit
Language: TypeScript
Size: 4.4 MB
Dependencies parsed at: Pending
Created at: about 1 year ago
Updated at: 2 months ago
Pushed at: about 2 months ago
Last synced at: about 2 months ago
Topics: code-snippets, helper-tool, snippets, snippets-collection, snippets-library, tools
Funding Links https://ko-fi.com/technoph1le
QuickSnip API
v1.1.0
Improving the Code
- [MAJOR] Introduced API for QuickSnip with Express
- [MAJOR] Restructured the folder structure into
/frontend,/backendand/snippetsfolder. - Added eslint, prettier and husky in
/backendfolder. - Added husky pre-commit in the root directory.
- Added unified scripts in
package.jsonin the root directory. - Moved
consolidateSnippetsandsnippetParserlogic into/backendfolder. - Fixed corrupted favicon files
Adding Snippets
- Added/modified snippets for the following languages: C#, CSS, JavaScript
Others
- Other small fixes and adjustments
Thanks to all of our awesome contributors! 🙌
Download
v1.0.0
v1.0.0
Improving the Code
- Added “Share code” button.
- Added a small widget in the header to show GitHub repo stars with GitHub API.
- Improved the SEO (Search Engine Optimization) through meta tags.
- Renamed the old username to a new brand username where it has been referenced.
- Relocated the “Copy code” button.
- Fixed the issue where incorrect path (404) wouldn’t affect the UI. Instead, replaced with a method to redirect the user to default homepage.
- Fixed the issue where some frameworks had incorrect syntax highlighting in the code preview
- Fixed the issue where selected category had visible borders above and below it.
- Fixed the issue where the font wasn’t loading properly and was huge in size.
- Fixed the issue where
lfandcrlfcaused inconsistencies across files. - And, other minor bug fixes and UI adjustments
Adding Snippets
- Added snippets for the following languages/frameworks: Tkinter
Others
- Updated the description of the project to match the current theme.
- Updated the preview image in
README.mdfile.
Thanks to all of our awesome contributors! 🙌
Download
v0.9.0
v0.9.0
Improving the Code
- Fixed the issue where url at the beginning directed to
https://quicksnip.dev/javascriptinstead of selected category. - Fixed the issue where sharing snippets via URL redirected to Not Found page.
- Fixed the issue where blinking arrow would appear for a brief second when loading snippets.
- Fixed the issue where keyboard navigation in language selector didn’t work as expected for inner lists.
- Fixed the issue where languages icons in language selector showed a weird animation when opened.
- Fixed the issue where running
npm run devwould throw an unexpected error. - Fixed the issue where scrolling a lot of snippets weren’t user-friendly. Added a fixed height and scrollbar.
- Reformatted the codebase to match the Prettier style guide.
Adding Snippets
- Added snippets for the following languages/frameworks: C++, Java
Others
- N/A
Thanks to all of our awesome contributors! 🙌
Download
v0.8.0
v0.8.0
Improving the Code
- [BIG] Added support for frameworks and libraries
- [BIG] Added basic search functionality
- Added sharing ability with routing system
- Added cspell for spelling mistakes
- Added vitest for testing
- Added pre-commit checks for git
- Added framer motion animation
- Fixed keyboard navigation on language selector
- Fixed lint errors
Adding Snippets
- Added new languages/frameworks: Bash, Haskell, Java, React. Regex, Ruby
- Added snippets for the following languages/frameworks: Bash, C, C++, C#, CSS, Haskell. Java, React, JavaScript, Python, Regex, Ruby, Rust, SCSS, TypeScript
Others
- Created
CODE_OF_CONDUCTfile - Created
VISION.mdfile to outline the potential roadmap of QuickSnip - Refactored
CONTRIBUTING.md - Refactored
README.mdand added “Third Party” mentions
Thanks to all of our awesome contributors! 🙌
Download
v0.7.0
v0.7.0
Improving the Code
- Migrated to a new storage system (markdown format instead of json)
- Added a new light theme
- Added support for an optional contributor field
- Added husky pre-commit hooks
- Added
vite-tsconfig-pathsto make imports more consistent - Added a feature to close the modal when clicking outside
- Added a feature to close the language selector when clicking outside
- Improved keyboard navigation and accessibility of language selector
- Fixed accessibility issues with icons
- Refactored ESLint rules for more consistent commits
- Removed
all_snippets.jsoninconsolidatedfolder since it doesn’t rely on search functionality (still working on) anymore
Adding Snippets
- Added new languages: HTML, C
- Added snippets for the following languages: CSS, Rust, JavaScript, C++, Python, HTML, C
- Updated CSS logo
Others
- Created CODEOWNERS to assign maintainers
- Created custom pull request template
- Created custom issue templates (
stoleninspired from FreeCodeCamp Developer Quiz Site
Thanks to all contributors! 🙌
Download
v0.6.0
v0.6.0
Improving the Code
- Added custom hook to close the modal with
ESCkey - Configured Prettier for consistent formatting
- Added “consolidate” GitHub Actions workflow that merges all snippets into one file when there’s a change
- Fixed an issue where selecting the first category by default when switching languages was using global variable approach
- Fixed an issue where copy button on code preview was on incorrect container
Adding Snippets
- Added new languages: C++ and Rust
- Added snippets for the following languages: Python, JavaScript, C++, Rust, CSS
Others
- Created
FUNDING.ymlfor sponsoring the project - Added widgets for YouTube and Product Hunt
Thanks to all contributors! 🙌
Download
v0.5.1
v0.5.1
- Refactor
README.mdto include all important notes - Added
CONTRIBUTING.mdand wrote ways and steps to contribute - Added
LICENSE - Changed logo from gradient to solid color to make better contrast on dark theme
- Fixed the issue where first category was not selected when switching between different languages
- Changed code format in json files from strings to array for better readability for contributors
Download
v0.5.0
v0.5.0
- Separated LinkButton and Button components for easier usage
- Fixed potential overflow and long height issues with code preview
- Introduced working links along with custom styles
- Redesigned the Footer styles due to overflow issues on phones
- And, other minor UI & UX adjustments in overall design
Download
v0.4.2
v0.4.2
- Added a new language, Python along with new snippets
- Added a new language, JavaScript, along with new snippets
- Added more snippets in the following languages: CSS, SCSS
- Adjusted spacing across elements
- Removed default category since it caused some bugs
- And, other minor fixes and adjustments
Download