Steven Tey Profile picture
founder @dubdotco | previously @vercel
Daniel O'Donnell Profile picture Jerome Ku Profile picture dragondelis πŸ‡ΊπŸ‡¦ Profile picture dakotamoonlite Profile picture 4 subscribed
Apr 24 β€’ 6 tweets β€’ 4 min read
Introducing my new open-source side project:

It's a crowdsourced list of the best open-source projects on the web.

Best part? It's dogfoods @dubdotco's API to create short links for each project page + display real-time click analytics for them πŸ“ˆ oss.gallery
Here's the full tech stack:

β—† @nextjs Server Actions + Form Actions (zero API routes)
β—† @dubdotco's TypeScript SDK ()
β—† @tremorlabs for charts
β—† @vercel Postgres + deployment

The code is fully open-source – go check it out: πŸ‘‡d.to/sdk
oss.gallery/github
Jan 17 β€’ 6 tweets β€’ 3 min read
Life update: I'm starting a company around πŸš€

We're building the link management infrastructure for you to create marketing campaigns, link sharing features, and referral programs.

Here's how it all started – and where we're going: Dub.co
Image @dubdotco Quick backstory: I built Dub​ as a side project to solve an internal need we had @vercel – sharing links on @X with nice OG images.

The product was fully open-source and quickly gained a lot of traction (#1 on Hacker News + 14K stars on @github).

Aug 31, 2023 β€’ 4 tweets β€’ 2 min read
Introducing Shooketh – an AI bot fine-tuned on Shakespeare's literary works:

It's fully open-source and built with:
β—† @OpenAI's new fine-tuning feature
β—† @nextjs + @vercel AI SDK

Full guide on fine-tuning in thread πŸ‘‡ vercel.fyi/shooketh
So, what is fine-tuning?

It's akin to prompt engineering, but instead of customizing GPT via a prompt at every user request, you are customizing the *base model* itself.

Analogy: getServerSideProps vs getStaticProps in @nextjs πŸ‘‡

β†’ vercel.com/guides/fine-tu…
What is Fine-tuning?  Similar to prompt engineering, fine-tuning allows you to customize gpt-3.5-turbo for specific use cases. However, instead of customizing them via a prompt every time the user interacts with your application, with fine-tuning you are customizing the base model of gpt-3.5-turbo itself.  A great analogy for this is comparing Next.js' getServerSideProps vs getStaticProps data fetching methods:  getServerSideProps: Data is fetched at request time – increasing response times (TTFB) and incurring higher costs (serverless execution). This is similar to prompt engineering, wher...
Jun 15, 2023 β€’ 7 tweets β€’ 6 min read
β–² @vercel just launched the AI SDK.

You can now build AI-powered apps with streaming – starting with one simple command: `npm i ai`

Here are some examplesπŸ‘‡ Illustration of the Vercel ... But first, why streaming?

Here are 2 examples – the first uses a blocking UI, while the second uses a streaming UI.

As you can see, the streaming UI is able to start displaying the response much faster than the blocking UI.

Try it out for yourself: vercel.fyi/Gb6nMzv
May 9, 2023 β€’ 6 tweets β€’ 5 min read
I spent the weekend upgrading dub.sh to @nextjs App Router.

Featuring:
β—† Segment-level caching
β—† Server components
β—† Parallel & intercepting routes
β—† Dynamic OG images + Metadata API

Here's what I learned 🧡 1. You can now cache individual fetch calls via segment-level caching.

Combine static, dynamic, and revalidated data inside reusable components. E.g. on @dubdotsh's homepage:
β—† GitHub star count: 60s
β—† Tweet testimonials: 1hr

The best part? Detailed logs for each cache hit 😍 Image
May 1, 2023 β€’ 11 tweets β€’ 6 min read
β–² @vercel just launched databases.

Here are some open-source templates you can clone & deploy to try it out πŸ‘‡ 1. Vercel Postgres @nextjs Starter

Simple Next.js App Router template that uses Vercel Postgres as the database.

vercel.com/templates/next…
Apr 30, 2023 β€’ 5 tweets β€’ 4 min read
Weekend project: Building a Changelog for @dubdotsh with @nextjs App Router β†’ dub.sh/changelog

Some of my takeaways:
1. React Server Components are 🐐-ed
2. File-based metadata API is a gamechanger
3. Route handlers are heavenly

Code is 100% open-source πŸ‘‡ 1. React Server Components allowed me to dynamically fetch data for the <Author/> component directly inside the component itself.

The best part? Leveraging @nextjs' built-in Cache API to set a revalidate timeframe of 24 hours.

Code: github.com/steven-tey/dub… A screenshot of the <Author...
Apr 27, 2023 β€’ 7 tweets β€’ 4 min read
Rolling out one of the biggest updates to @dubdotsh today:

β—† Unlimited custom domains per project
β—† Improved pricing (higher limits)
β—† Link search
β—† Ability to duplicate a link
β—† Project-level billing

The code is fully open-source – here's a quick overview πŸ‘‡ 1. Unlimited custom domains per project

You can now use as many custom domains as you want with your Dub project – no need to create multiple projects for all your domains.

The best part? Filtering your short links by custom domain 🀩 Image
Apr 21, 2023 β€’ 10 tweets β€’ 6 min read
We're seeing some companies on @vercel that are literally making science fiction a reality.

Here are some of my favorite ones: 1. @zipline – building instant delivery drones

flyzipline.com
Apr 5, 2023 β€’ 14 tweets β€’ 9 min read
We're seeing more and more AI startups choose to build on @vercel β–²

Here are some of the most exciting ones I've discovered recently: 1. beta.tome.app (@magicaltome) – AI-powered storytelling tool

Apr 3, 2023 β€’ 10 tweets β€’ 7 min read
We live in an era where you can go from idea to a full-stack website with perfect SEO & performance.

All in under 3 hours 🀯

Here's the story of how I built my personal blog using @nextjs, @contentlayerdev, @tailwindcss, @TallyForms, and @vercel β–² Last Friday, my thread on the Twitter algorithm blew up.

It gained ~20M total impressions, and even got a reply from @elonmusk himself.

I quickly realized that I needed to turn the thread into a blog post for posterity & SEO.

Mar 31, 2023 β€’ 15 tweets β€’ 9 min read
Twitter just open-sourced their algorithm.

Some initial takeaways:
β—† Your following to follower ratio matters.
β—† @TwitterBlue subscribers do get a boost in the algorithm.

Will keep adding more to this thread πŸ‘‡ 1. Your following-to-follower ratio matters.

Twitter's "Tweepcred" PageRank algorithm reduces the page rank of users who have a low number of followers but a high number of followings.

Source ↓

dub.sh/tweepcred
Mar 31, 2023 β€’ 4 tweets β€’ 2 min read
Launched DomainsG.PT yesterday and the response has been incredible 🀩

Folks really love the names that it came up with 😌

Here's some of my favorite available .com domains from DomainsGPT:

β—† Dashcarry
β—† Zentrova
β—† Braindex
β—† Sensibyte
β—† Fletchon
β—† Swiftroost Screenshot of available .com domains generated by DomainsGPT Fun fact: I built something similar back in 2021 using a more naive Markov Chains-based approach, but the quality of the names it came up with were nowhere as good.

Really goes to show how powerful GPT is 🀯

Mar 30, 2023 β€’ 10 tweets β€’ 6 min read
Introducing DomainsGPT β†’ domainsg.pt

Generate brandable & memorable domain names using AI.

Powered by @OpenAI and @vercel Edge Functions β–² Before I dive in, just a quick heads-up that we are live on Product Hunt πŸ₯³ would really appreciate your support!

producthunt.com/posts/domainsg…
Mar 30, 2023 β€’ 4 tweets β€’ 2 min read
The cat is finally out of the bag – Google relied heavily on @ShareGPT's data when training Bard.

This was also why we took down ShareGPT's Explore page – which has over 112K shared conversations – last week.

Insanity. Screenshot from TheInformation.com article: Devlin quit afte A moment of silence for @ShareGPT's Explore page πŸ₯²

Mar 27, 2023 β€’ 8 tweets β€’ 6 min read
I built a free ChatGPT Plugin that helps you brainstorm domain ideas by automatically checking if they are available inside ChatGPT πŸ’‘

Bonus feature: Compare prices across registrars and get the cheapest price for your domain.

Here's how I built it πŸ‘‡ First, if you have access to Plugins, you can try it out by going to the Plugin Store, click "Install an unverified plugin", enter "domainsg.pt", and click "Install".

If not, don't worry – I'm planning to launch this as a standalone product tomorrow, stay tuned πŸ‘€
Mar 26, 2023 β€’ 5 tweets β€’ 1 min read
The developer experience for building a ChatGPT Plugin is sublime.

I went into it expecting to write code logic to tell ChatGPT what to do. I ended up writing mostly natural language and everything *just worked* 🀯

It really takes declarative programming to the next level. The closest analogy I can think of:
β—† JavaScript/jQuery β†’ React
β—† Chrome Extension development β†’ ChatGPT Plugin development

Instead of writing imperative JS code, you *describe* what you want ChatGPT to do. The rest is history.
Mar 23, 2023 β€’ 4 tweets β€’ 1 min read
ChatGPT Plugins is a gamechanger.

You can now:
β—† browse the web
β—† reserve hotels/AirBnBs
β—† purchase groceries on Instacart

...the possibilities are endless!

We're witnessing the birth of a whole new developer ecosystem 🀯

This is equivalent to:

β—† Apple's App Store
β—† Google's Play Store
β—† Chrome's Extension Web Store

etc.
Mar 22, 2023 β€’ 4 tweets β€’ 2 min read
We've added native Edge support for @remix_run on @vercel β–²

You can now turn any route into an edge-rendered route and start using features like Streaming SSR – all with just 1 line of code.

Check out the demo β†’ vercel.fyi/remix-edge The best part? It's truly zero-config and very lightweight:

β—† No custom `remix.config.js`
β—† No `@​vercel/node` or `@​remix/vercel` dependencies at all
β—† No custom `vercel.json` configuration needed

All it needs is one line of code and it just worksℒ️ Code snippet showing the si...
Mar 13, 2023 β€’ 11 tweets β€’ 4 min read
In 2023, @reactjs/@nextjs and @tailwindcss are all you need to build anything you want:

β—† Web pages
β—† Open Graph Images
β—† Dataviz
β—† Emails
β—† Native apps
β—† PDFs
β—† Desktop/menubar apps
β—† Chrome extensions

πŸ§΅πŸ‘‡ 1. Build web pages (@nextjs)

nextjs.org
Mar 7, 2023 β€’ 12 tweets β€’ 12 min read
The AI-native product generation is here.

Here are 10 free, open-source AI projects that you can learn from, deploy to @vercel, and build the next big thing: 1. RoomGPT by @nutlope

β—† Demo β†’ roomgpt.io
β—† Code β†’ roomgpt.io/github
β—† 1-click Deploy β†’ roomgpt.io/deploy