Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

updated mintlify docs

Steven Teyc1f837cc44da
diff --git a/apps/docs/examples.mdx b/apps/docs/examples.mdx
new file mode 100644
index 0000000000..c954c84fca
--- /dev/null
+++ b/apps/docs/examples.mdx
@@ -0,0 +1,15 @@
+---
+title: "Examples"
+description: "Explore ideas and examples of what you can build with the Dub.co API"
+---
+
+<CardGroup cols={2}>
+ <Card
+ title="Dublet"
+ icon="github"
+ href="https://github.com/dubinc/dublet"
+ color="#333333"
+ >
+ Mini link shortener built with the Dub.co Typescript SDK
+ </Card>
+</CardGroup>
diff --git a/apps/docs/integrations.mdx b/apps/docs/integrations.mdx
new file mode 100644
index 0000000000..6bde687ba5
--- /dev/null
+++ b/apps/docs/integrations.mdx
@@ -0,0 +1,106 @@
+---
+title: "Integrations"
+description: "Integrate Dub.co with your favorite tools and services."
+---
+
+## Active integrations
+
+<CardGroup cols={2}>
+ <Card
+ title="Raycast"
+ icon={
+ <svg
+ width="228"
+ height="228"
+ viewBox="0 0 228 228"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ className="h-8 w-8"
+ >
+ <g clip-path="url(#clip0_1218_28)">
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M227.987 113.987L216.097 125.89L170.987 80.7803V56.987L227.987 113.987ZM114.039 0L102.149 11.8901L147.246 56.987H171.039L114.039 0ZM88.5212 25.5177L76.6181 37.4208L96.1972 56.987H119.99L88.5212 25.5177ZM171.039 108.048V131.842L190.54 151.408L202.443 139.518L171.039 108.048ZM164.18 152.238L170.987 145.43H82.5177V56.987L75.7104 63.8073L62.9386 51.1003L51.0484 62.9905L63.8073 75.7623L56.987 82.5177V96.1454L37.4208 76.5662L25.5177 88.4693L56.987 119.939V147.168L11.8901 102.097L0 113.987L114.039 227.987L125.942 216.097L80.8321 170.987H108.061L139.531 202.469L151.434 190.566L131.855 170.987H145.482L152.29 164.18L165.061 176.939L176.952 165.048L164.18 152.238Z"
+ fill="#FF6363"
+ />
+ </g>
+ <defs>
+ <clipPath id="clip0_1218_28">
+ <rect width="228" height="228" fill="white" />
+ </clipPath>
+ </defs>
+ </svg>
+ }
+ href="https://www.raycast.com/quuu/dub-link-shortener"
+ >
+ Shorten links with Raycast
+ </Card>
+ <Card
+ title="Pipedream"
+ icon={
+ <svg
+ enable-background="new 0 0 600 600"
+ version="1.1"
+ viewBox="0 0 600 600"
+ xml:space="preserve"
+ xmlns="http://www.w3.org/2000/svg"
+ className="h-8 w-8"
+ >
+ <path
+ d="m413 601h-412v-600h600v600h-188m-249.49-374.5c2.13e-4 93.651 0.035782 187.3-0.10211 280.95-0.007019 4.7677 1.1727 6.2025 6.0619 6.152 24.327-0.25134 48.657-0.10834 72.987-0.12824 1.7477-0.001465 3.4952-0.19446 5.0492-0.28687v-105.64c0.7103 0.038513 1.1189-0.064697 1.3299 0.09433 0.79394 0.59842 1.5523 1.252 2.2729 1.9386 10.855 10.343 23.482 17.235 38.202 20.536 13.754 3.0848 27.621 4.5111 41.654 3.8274 41.472-2.0209 73.697-19.744 94.556-56.379 11.256-19.769 17.778-41.175 21.464-63.506 4.8599-29.442 4.9199-59.068 2.7362-88.712-1.6924-22.973-5.3217-45.622-13.603-67.302-10.566-27.662-27.689-49.597-56.101-60.187-33.964-12.66-68.366-13.049-102.57-0.19016-14.517 5.4573-27.194 13.949-39.095 24.427-4.8366-8.7217-9.6348-17.075-14.102-25.601-1.47-2.8053-3.1826-3.6822-6.2601-3.4362-11.125 0.88915-22.271 1.5068-33.407 2.2732-6.9087 0.4755-13.812 1.0345-21.073 1.5829 0 43.313 0 85.947 1.38e-4 129.58z"
+ fill="#34D28B"
+ />
+ <path
+ d="m163.51 226c-7.7e-5 -43.134-7.7e-5 -85.767-7.7e-5 -129.08 7.2617-0.5484 14.165-1.1074 21.073-1.5829 11.135-0.76641 22.282-1.3841 33.407-2.2732 3.0774-0.24596 4.7901 0.63092 6.2601 3.4362 4.4677 8.5261 9.2659 16.879 14.102 25.601 11.901-10.479 24.579-18.97 39.095-24.427 34.204-12.859 68.606-12.47 102.57 0.19016 28.412 10.59 45.535 32.525 56.101 60.187 8.2808 21.681 11.91 44.329 13.603 67.302 2.1837 29.644 2.1236 59.27-2.7362 88.712-3.6861 22.331-10.208 43.737-21.464 63.506-20.859 36.635-53.084 54.358-94.556 56.379-14.033 0.68375-27.899-0.74255-41.654-3.8274-14.72-3.3014-27.347-10.193-38.202-20.536-0.72058-0.68655-1.4789-1.3402-2.2729-1.9386-0.211-0.15903-0.61964-0.055817-1.3299-0.09433v105.64c-1.554 0.092408-3.3015 0.2854-5.0492 0.28687-24.329 0.019897-48.66-0.12311-72.987 0.12824-4.8892 0.050537-6.0689-1.3843-6.0619-6.152 0.13789-93.651 0.10232-187.3 0.10205-281.45m116.41-57.756c-11.344 4.0749-21.357 10.208-28.822 19.795-1.7525 2.2504-2.9519 5.5924-2.9638 8.4383-0.18326 43.805-0.013077 87.611-0.26497 131.42-0.033584 5.8413 1.8959 10.108 5.549 14.271 16.857 19.213 38.371 23.786 62.562 20.29 18.379-2.6563 30.69-13.119 37.316-30.036 3.3137-8.4608 5.9928-17.341 7.5757-26.277 4.6788-26.412 4.1864-53.067 1.8481-79.672-1.0942-12.45-3.4579-24.725-8.878-36.174-5.7627-12.173-15.005-20.134-28.25-23.214-15.049-3.4998-30.019-3.3802-45.672 1.1632z"
+ fill="#fff"
+ />
+ <path
+ d="m280.3 168.15c15.266-4.4467 30.236-4.5663 45.285-1.0665 13.244 3.0802 22.487 11.041 28.25 23.214 5.4201 11.449 7.7837 23.724 8.878 36.174 2.3383 26.605 2.8307 53.26-1.8481 79.672-1.5829 8.9356-4.262 17.816-7.5757 26.277-6.6257 16.917-18.937 27.38-37.316 30.036-24.191 3.4964-45.705-1.077-62.562-20.29-3.6531-4.1637-5.5826-8.4301-5.549-14.271 0.25189-43.804 0.081711-87.61 0.26497-131.42 0.011917-2.8459 1.2114-6.1879 2.9638-8.4383 7.4656-9.5867 17.479-15.72 29.209-19.892z"
+ fill="#34D28B"
+ />
+ </svg>
+ }
+ href="https://pipedream.com/apps/dub"
+ >
+ Shorten links with Pipedream
+ </Card>
+ <Card
+ title="Dropshare"
+ icon={
+ <svg
+ enable-background="new 0 0 192 192"
+ version="1.1"
+ viewBox="0 0 192 192"
+ xml:space="preserve"
+ xmlns="http://www.w3.org/2000/svg"
+ className="h-8 w-8"
+ >
+ <path d="m116.79 161.25c-7.8555 0.43628-15.084-0.36078-22.154-2.6081-27.018-8.5872-40.897-32.967-33.371-60.333 7.1198-25.887 21.645-47.383 41.904-64.919 6.9466-6.0129 10.529-6.2819 17.175-0.56768 23.003 19.778 39.283 43.9 44.622 74.2 3.9883 22.633-12.605 45.743-36.448 52.036-3.6866 0.97296-7.5013 1.4603-11.728 2.1916m-27.913-23.617c4.471 3.2535 8.9669 6.4465 14.888 6.2448 3.0063-0.10246 5.2491-1.4134 5.7613-4.4785 0.48747-2.9174-1.2853-4.9677-3.8861-5.6374-8.279-2.132-13.581-7.1151-16.461-15.184-1.1455-3.2089-4.1126-5.0832-7.6864-3.491-3.4384 1.5319-4.8823 4.209-3.4146 8.1668 2.0992 5.661 5.902 9.9739 10.799 14.379z" />
+ <path d="m69.528 52.549c7.0827-8.0213 14.148-15.547 22.636-22.382 0.50252 2.9362-1.2719 3.721-2.2755 4.8835-13.768 15.949-26.109 32.782-34.83 52.164-12.457 27.687-2.1361 51.367 18.137 67.354 1.4834 1.1697 3.6999 1.6931 4.1595 4.0898-2.3604 1.2021-4.244-0.30447-6.1145-1.0696-27.442-11.225-38.68-39.951-26.577-67.943 5.9541-13.771 14.856-25.598 24.865-37.097z" />
+ </svg>
+ }
+ href="https://support.dropshare.app/hc/en-us/articles/16652085354898-How-to-set-up-dub-co-as-URL-shortener"
+ >
+ Shorten your Dropshare links
+ </Card>
+</CardGroup>
+
+## Building your own integrations
+
+You can build your own integrations with Dub.co's link infrastructure using our [API](/api-reference/introduction).
+
+1. Read the documentation on how to [create links](/api-reference/endpoint/create-a-new-link).
+2. Integrate Dub.co with your product or service.
+3. [Reach out to us](mailto:[email protected]?subject=New%20Dub.co%20Integration) to feature your integration on this page.
+
+## Upcoming integrations
+
+Here are some services we're working on integrating with Dub.co:
+
+<Card href="https://zapier.com">
+ <b>Zapier</b>
+</Card>
+<Card href="https://make.com">
+ <b>Make.com</b>
+</Card>
diff --git a/apps/docs/integrations/make.mdx b/apps/docs/integrations/make.mdx
deleted file mode 100644
index da3949d85d..0000000000
--- a/apps/docs/integrations/make.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: "Make.com (Planned)"
-description: "Make.com <> Dub Integration"
----
-
-We are planning to add a Make.com integration for Dub soon. Feel free to thumbs-up this page to help us prioritize this feature.
diff --git a/apps/docs/integrations/pipedream.mdx b/apps/docs/integrations/pipedream.mdx
deleted file mode 100644
index df0b477c44..0000000000
--- a/apps/docs/integrations/pipedream.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: "Pipedream (Planned)"
-description: "Pipedream <> Dub Integration"
----
-
-We are planning to add a Pipedream integration for Dub soon. Feel free to thumbs-up this page to help us prioritize this feature.
diff --git a/apps/docs/integrations/raycast.mdx b/apps/docs/integrations/raycast.mdx
deleted file mode 100644
index a2c9495282..0000000000
--- a/apps/docs/integrations/raycast.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: "Raycast (Planned)"
-description: "Raycast <> Dub Integration"
----
-
-We are planning to add a Raycast integration for Dub soon. Feel free to thumbs-up this page to help us prioritize this feature.
diff --git a/apps/docs/integrations/zapier.mdx b/apps/docs/integrations/zapier.mdx
deleted file mode 100644
index 758e07f81a..0000000000
--- a/apps/docs/integrations/zapier.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: "Zapier (Planned)"
-description: "Zapier <> Dub Integration"
----
-
-We are planning to add a Zapier integration for Dub soon. Feel free to thumbs-up this page to help us prioritize this feature.
diff --git a/apps/docs/mint.json b/apps/docs/mint.json
index 2deffbde38..5a0cae73aa 100644
--- a/apps/docs/mint.json
+++ b/apps/docs/mint.json
@@ -64,13 +64,8 @@
"pages": ["introduction", "local-development", "self-hosting/guide"]
},
{
- "group": "Integrations",
- "pages": [
- "integrations/zapier",
- "integrations/pipedream",
- "integrations/make",
- "integrations/raycast"
- ]
+ "group": "Resources",
+ "pages": ["integrations", "sdks", "examples"]
},
{
"group": "API Reference",
@@ -117,5 +112,23 @@
"github": "https://github.com/steven-tey/dub",
"linkedin": "https://www.linkedin.com/company/dubhq",
"website": "https://dub.co"
- }
+ },
+ "redirects": [
+ {
+ "source": "/integrations/zapier",
+ "destination": "/integrations"
+ },
+ {
+ "source": "/integrations/pipedream",
+ "destination": "/integrations"
+ },
+ {
+ "source": "/integrations/make",
+ "destination": "/integrations"
+ },
+ {
+ "source": "/integrations/raycast",
+ "destination": "/integrations"
+ }
+ ]
}
diff --git a/apps/docs/sdks.mdx b/apps/docs/sdks.mdx
new file mode 100644
index 0000000000..6d18df682b
--- /dev/null
+++ b/apps/docs/sdks.mdx
@@ -0,0 +1,15 @@
+---
+title: "SDKs"
+description: "Open-source client libraries for the Dub.co API"
+---
+
+<CardGroup cols={2}>
+ <Card
+ title="Node.js"
+ icon="github"
+ href="https://github.com/dubinc/dub-node"
+ color="#333333"
+ >
+ github.com/dubinc/dub-node
+ </Card>
+</CardGroup>