discover-twitter-spaces

Discover Twitter Spaces

Discover Twitter Spaces is a tool that helps you find Twitter Spaces. We use data from Twitter to find the Twitter Spaces. You can use this tool to find Twitter Spaces.

Discover Twitter Spaces

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.

:paperclip: Menu

:100: :fire: Project LightHouse Report

This web application has 100% lighthouse score.

:bulb: Tech Stack

  • Svelte and Sveltekit.
  • TypeScript.
  • Tailwindcss.
  • Postcss.
  • Twitter API.
  • Redis.
  • Serverless Functions.

:hammer: Project Setup

  1. git clone https://github.com/navneetsharmaui/discover-twitter-spaces.git.
  2. yarn install.
  3. Setup the environment variables in the *.env* file and take reference of *.env.example* file for the fields to be used.
  4. yarn run dev.
  5. yarn run build:vercel.
  6. yarn run preview.
  7. The twitter API code is in the src/routes/api/spaces/index.ts file.
  8. The Sveltekit project is built using sveltekit vercel adapter as the application us deployed on the Vercel.

Contribution

The details about how to contribute to this project are available here.

💫 License

  • Code and Contributions have MIT License

Copyright (c) 2021 Navneet Sharma (@asnavneetsharma)

Top categories

Loading Svelte Themes