Skip to content

AetherLib/client_example

Repository files navigation

AetherExample

setup

Generate a random string of 32 characters using the following command for encryption:

# Linux/macOS
dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64

# Alternative: OpenSSL
openssl rand -base64 32
  • Set the results of that in your .env file as CLOAK_KEY
  • Source & run setup
source .env &&
mix setup

Start the server

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

WIP: this is an example of a atproto client currently running againts bsky.social

Resources

Stars

Watchers

Forks