this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update todos, update README with Debian 12 backend setup instructions

alice 66ea08b8 6580d046

+59 -3
+59 -3
README.md
··· 1 1 # Emoji stats for Bluesky 2 2 3 - Current todos: 3 + ## Bootstrapping the backend on Debian 12 4 + 5 + ```bash 6 + # Install Postgres and required packages 7 + apt update && apt -y upgrade && apt install -y postgresql-common 8 + /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh 9 + apt update && apt install tmux postgresql-17 postgresql postgresql-client-17 curl make gcc build-essential pkg-config libsystemd-dev libjemalloc-dev libssl-dev git vim unzip libpq-dev 10 + 11 + tmux 12 + 13 + # Install valkey 14 + curl -LO https://github.com/valkey-io/valkey/archive/refs/tags/8.0.1.tar.gz && tar -xvzf 8.0.1.tar.gz && cd valkey-8.0.1/ 15 + make BUILD_TLS=yes USE_SYSTEMD=yes 16 + make install 17 + vim valkey.conf 18 + 19 + # Append to valkey.conf 20 + save 3600 1 300 10 60 100 10 10 21 + appendonly yes 22 + appendfsync everysec 23 + 24 + # Start valkey 25 + valkey-server ./valkey.conf 26 + 27 + # Create DB 28 + su - postgres 29 + 30 + CREATE USER emojistats WITH PASSWORD 'replaceme'; 31 + CREATE DATABASE emojistats OWNER emojistats; 32 + GRANT ALL PRIVILEGES ON DATABASE emojistats TO emojistats; 33 + 34 + # Install Node and Bun 35 + curl -fsSL https://fnm.vercel.app/install | bash 36 + source ~/.bashrc 37 + fnm use --install-if-missing 38 + node -v # should print `v22.9.0` 39 + curl -fsSL https://bun.sh/install | bash 40 + source ~/.bashrc 41 + 42 + # Clone the repo 43 + git clone https://github.com/aliceisjustplaying/emojistats-bsky 44 + bun i 45 + # If needed, override cursor in ~/emojistats-bsky 46 + vim CURSOR_OVERRIDE.TXT 47 + 48 + # Set up .env, create DB tables, start 49 + cd emojistats-bsky/packages/backend/ 50 + cp .env.example .env 51 + vim .env 52 + bun db:create 53 + bun run start 54 + ``` 55 + 56 + ## Current todos: 4 57 5 58 - [x] Cursor handling 6 59 - [x] Nicer tabs 60 + - [x] Handle Weird Emojis 61 + - [x] Initial blinking implementation 62 + - [x] Postgres 63 + - [ ] Backfill the entire network 7 64 - [ ] Better design 8 65 - [ ] Explore/move to SSE? 9 66 - [ ] Send updates efficiently 10 - - [ ] Performant, realtime-ish frontend 11 - - [ ] Handle Weird Emojis 67 + - [ ] More performant frontend 12 68 - [ ] etc.