Skip to content

beachglasslabs/beachdemo.zig

Repository files navigation

beachdemo.zig - netflix clone in zig

This is meant to be a technical exploration of various technologies to be used in our actual decentralized video streaming app.

login main

This particular project is written in ZAX (Zig/Zap Alpinejs htmX 😜):

  • This is the rewrite of an earlier rewrite written in Juila:
  • The original UI is based on a great video tutorial I found on Youtube and you can find my own nextjs version here.
  • I rewrote the UI to be based on HTMX and Alpinejs instead of the original next.js.
  • The backend is completely rewritten in zig.
  • Sepcial thanks to Rene for zap and all the help along the way.
  • The users and sessions are ephemeral to remove the dependency on Mongodb Atlas in the original version.

To test it out:

  1. git clone git@github.com:beachglasslabs/beachdemo.zig.git
  2. npm install to install npm packages
  3. cp env.oauth.sample.json env.oauth.json and then optionally fill out the oauth2 information from github and google
  4. npm run dev to start the server
  5. go to http://localhost:3000 on your browser

About

Netflix clone in Zig, AlpineJS, and HtmX.

Topics

Resources

Stars

Watchers

Forks

Languages