Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

196 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hack Club Photos Banner

Hack Club Photos

Next.js TypeScript Drizzle ORM PostgreSQL Tailwind CSS

No more digging for Google Photos Links, photos.hackclub.com stores photos in original quality, forever!

How it works

  • Storage: We use S3-compatible storage (AWS, R2, MinIO, etc) in prod we use Hetzner!
  • Database: Postgres with Drizzle ORM
  • Auth: Hack Club OAuth

Running it for Dev

You'll need Node 24+, Bun, a Postgres DB, and an S3 bucket. Redis is required for distributed rate limits in production.

  1. Get the code

    git clone https://github.com/hackclub/photos.git
    cd photos
     bun install
  2. Set up env

    cp .env.example .env
    # Fill in your creds!
  3. Run migrations

    bun run db:migrate
  4. Run dev

    bun run dev

Production deploys should run bun run db:migrate as a release step before serving the new application version. The Vercel build itself does not connect to Postgres.

License

MIT


Made with ❤️ by Hack Clubbers from all around the world.

About

Cool place for Photos

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages