Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature] Added endpoint for retrieving snippets by category #277

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

Conversation

Copy link
Contributor

@lille-morille lille-morille commented Jun 23, 2025

Description

Since creating the new backend structure, snippets are no longer organized by category. The Raycast extension - which relies on this feature - had to remove a feature because of this.

This pull request aims to create a new endpoint which works like the previous version before this breaking change.

I'm creating a new endpoint to avoid causing breaking changes to existing code on the frontend, since I'm not quite sure how the API is used there.

  • Added new endpoint at /languages/:language

Type of Change

  • ✨ New snippet
  • 🛠 Improvement to an existing snippet
  • 🐞 Bug fix
  • 📖 Documentation update
  • 🔧 Other (please describe): New backend endpoint

Checklist

  • I have tested my code and verified it works as expected.
  • My code follows the style and contribution guidelines of this project.
  • Comments are added where necessary for clarity.
  • Documentation has been updated (if applicable).
  • There are no new warnings or errors from my changes.

Related Issues

Additional Context

Screenshots (Optional)

Copy link
Collaborator

Thanks for your contribution. API will be down for a short time until I find a good alternative to host the backend. Or might just as well hop onto Hobby plan in Railway. Let's see.

@technoph1le technoph1le merged commit fedee1f into quicksnip-dev:main Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@Mathys-Gasnier Mathys-Gasnier Awaiting requested review from Mathys-Gasnier Mathys-Gasnier is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /