Discover Twitter Spaces is a tool that helps you find the Twitter Spaces. We use data from Twitter to find the Twitter Spaces.
The api endpoint for Discover Twitter Spaces is Spaces, pass Query param to the endpoint for data of different spaces.
https://discover-twitter-spaces.vercel.app/api/spaces?search=bitcoin
This application is built using Sveltekit and Svelte.
The total size of the application is way less when you build the application with Sveltekit compared to other frameworks like React / NextJS or Vue.
This project is inspired by the similar project find twitter spaces made by @abtrakhi. That project is built using React.
- 💡 Tech Stack
- 🔨 Project Setup
- 🐛 Known Bugs
- You can discuss this project here.
This web application has 100% lighthouse score.
- Svelte and Sveltekit.
- TypeScript.
- Tailwindcss.
- Postcss.
- Twitter API.
- Redis.
- Serverless Functions.
git clone https://github.com/navneetsharmaui/discover-twitter-spaces.git
.yarn install
.Setup the environment variables in the *.env* file and take reference of *.env.example* file for the fields to be used
.yarn run dev
.yarn run build:vercel
.yarn run preview
.- The twitter API code is in the
src/routes/api/spaces/index.ts
file. - The Sveltekit project is built using
sveltekit vercel adapter
as the application us deployed on the Vercel.
The details about how to contribute to this project are available here.
- Code and Contributions have MIT License
Copyright (c) 2021 Navneet Sharma (@asnavneetsharma)