Skip to content

gonstoll/tweet-archive

Repository files navigation

Tweet Archive

Tweet Archive is an app where you can store relevant tweets for later reference. You can tag them, search through them and edit them at any point in time, at your leisure.

Tweet archive screeenshot

Tweet archive screeenshot with tags applied

Tweet archive screeenshot with tags and search applied

Features

  • Add tweets to your archive
  • Tag tweets
  • Search through your archive
  • Edit tweets
  • Delete tweets

Tech Stack and infrastructure

  • Next.js
  • Tailwind CSS
  • Drizzle ORM
  • Zod
  • Bun
  • Vercel
  • Turso
  • Clerk
  • Upstash

How to run the app

This project uses Turso for the database (so... SQLite), Clerk for authentication and Upstash for ratelimiting. So, you will need to create an account on these platforms and set up the necessary environment variables. You can find the necessary environment variables in the .env.example file. Copy the contents of the file to a new file called .env.local and fill in the necessary values. The app will not work at all without them.

Once you have the environment variables set up, you need to install its dependencies:

bun install

Next thing, you'll need to run the db migrations and push the schema to Planetscale:

bun run db:migrate && bun run db:push

If you wanna have some data right off the bat, you can run the seed command:

bunx ts-node ./src/db/seed.ts

Then you can run the app:

bun run dev

About

A place to store important tweets and tag them for future reference

Resources

License

Stars

Watchers

Forks

Languages