Skip to content

Instantly share code, notes, and snippets.

View 0x7466's full-sized avatar
:octocat:
πŸš€πŸ’―πŸ™Œ

Tobias 0x7466

:octocat:
πŸš€πŸ’―πŸ™Œ
  • Austria
View GitHub Profile
@0x7466
0x7466 / hugging-face-openapi.json
Created March 20, 2026 13:54
Hugging Face OpenAPI spec
This file has been truncated, but you can view the full file.
{
"openapi": "3.1.0",
"info": {
"title": "Hub API Endpoints",
"version": "0.0.1",
"description": "We have open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos. We offer a wrapper Python client, [`huggingface_hub`](https://github.com/huggingface/huggingface_hub), and a JS client, [`huggingface.js`](https://github.com/huggingface/huggingface.js), that allow easy access to these endpoints. We also provide [webhooks](https://huggingface.co/docs/hub/webhooks) to receive real-time incremental info about repos. Enjoy!\n\nThe base URL for those endpoints below is `https://huggingface.co`. For example, to construct the `/api/models` call below, one can call the URL [https://huggingface.co/api/models](https://huggingface.co/api/models).\n\nIf you're an Agent, you might prefer the [markdown version OpenAPI spec](https://huggingface.co/.well-known/openapi.md).\n"
},
"servers": [
{
@0x7466
0x7466 / anthropic-openapi.json
Created March 20, 2026 08:13
Anthropic OpenAPI Spec
{
"openapi": "3.1.0",
"info": { "title": "Anthropic API" },
"paths": {
"/v1/messages": {
"post": {
"summary": "Create a Message",
"description": "Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.\n\nThe Messages API can be used for either single queries or stateless multi-turn conversations.\n\nLearn more about the Messages API in our [user guide](https://docs.claude.com/en/docs/initial-setup)",
"operationId": "messages_post",
"parameters": [
@0x7466
0x7466 / perplexity-ai-openapi.json
Last active March 19, 2026 22:48
Perplexity AI OpenAPI Spec
{
"openapi": "3.1.0",
"info": {
"title": "Perplexity AI API",
"description": "Perplexity AI API",
"version": "0.1.0"
},
"paths": {
"/chat/completions": {
"post": {
@0x7466
0x7466 / svix-openapi.json
Created March 18, 2026 21:50
Svix OpenAPI Spec
This file has been truncated, but you can view the full file.
{
"openapi": "3.1.0",
"info": {
"title": "Svix API",
@0x7466
0x7466 / tripadd-openapi.json
Created March 18, 2026 21:20
TripAdd OpenAPI Spec
{
"openapi": "3.0.0",
"tags": [
{
"name": "Bundle Offers"
},
{
"name": "Orders"
}
],
@0x7466
0x7466 / nanonets-openapi.json
Created March 15, 2026 21:01
Nanonets OpenAPI
{
"basePath": "/api/v2",
"consumes": [
"application/json"
],
"definitions": {
"Bndbox": {
"example": {
"xmax": 100,
"xmin": 1,
@0x7466
0x7466 / unsplash-openapi.yaml
Created January 27, 2026 10:43
Unsplash OpenAPI Spec
openapi: 3.1.1
info:
title: Unsplash API (Unofficial OpenAPI)
version: "1.0.0"
description: >
OpenAPI 3.1 specification for the Unsplash JSON API (v1). This spec covers the major
public endpoints (photos, users, collections, search, current user) and models
based on the provided Unsplash documentation.
Note: auth options include Client-ID (header or query) and user Bearer tokens.
servers:
@0x7466
0x7466 / postal-openapi.json
Created January 26, 2026 12:08
Postal Server OpenAPI
{
"openapi": "3.0.3",
"info": {
"title": "Postal Server API",
"description": "API for interacting with the Postal mail delivery server.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://your-postal-server.com/api/v1",
@0x7466
0x7466 / tailwind_form_builder.rb
Created September 17, 2024 12:02 — forked from borama/tailwind_form_builder.rb
Tailwind-styled Simple Form builder example - see https://dev.to/nejremeslnici/styling-simple-form-forms-with-tailwind-4pel for all details
# This is a thin wrapper of the Simple Form builder. It delegates rendering the resulting form fields to Simple Form
# but typically amends the Tailwind classes of the various elements in the field layout. It tightly integrates with the
# unstyled wrapper (aka `:plain`) Simple Form configuration (see `simple_form.rb`). The methods support the same syntax
# as the original Simple Form methods but enhance it to support replacing defaylt Tailwind claseses.
class Builders::TailwindFormBuilder < SimpleForm::FormBuilder
# This is the basic method for rendering `<input>` tags and their variants.
def input(attribute_name, options = {}, &block)
# The default Tailwind classes for the various parts of the Simple Form wrapper layout.
input_class = "block w-full sm:text-sm ... #{'text-gray-500 bg-gray-50' if options.dig(:input_html, :disabled)}"
@0x7466
0x7466 / todoist-openapi.yml
Created November 15, 2023 21:23
Todoist OpenAPI
openapi: 3.0.0
info:
version: 1.0.0
title: Todoist API
license:
name: MIT
servers:
- url: https://api.todoist.com/rest/v2
paths:
/projects: