• Joined on 2023-07-08
zephyr pushed to schema at ligmo/ligmo 2025-05-03 16:45:24 -04:00
6127b3ccab schema: use _at for timestamps
e2db1c9dbb schema: define emote lists
Compare 2 commits »
zephyr commented on pull request ligmo/ligmo#12 2025-05-03 16:23:04 -04:00
schema: initialize database

Soft delete would work, but eventually there has to be something to turn a soft delete into a hard delete for the purpose of GDPR and friends.

zephyr commented on pull request ligmo/ligmo#12 2025-05-03 16:21:30 -04:00
schema: initialize database

I'm weakly anti-_at. As a name, I don't feel it adds anything; just "created" being an integer tells me what it means. (If this were Postgres, we'd have actual time types, which would be even…

zephyr pushed to schema at ligmo/ligmo 2025-05-03 16:18:24 -04:00
fb13e785d3 schema: use blob for emote ids
zephyr commented on pull request ligmo/ligmo#12 2025-05-03 16:05:12 -04:00
schema: initialize database

My original plan was to use an FTS5 table for tags, but doing things that way, I couldn't find a straightforward way to look up the tags given an emote ID without either including IDs in the FTS…

zephyr commented on pull request ligmo/ligmo#12 2025-05-03 15:59:29 -04:00
schema: initialize database

BLOB was because at first I had UUIDv7 binary as the ID format, and then I switched to TEXT opaque encoding for it to try FTS5 for tag searching, then I gave up on FTS5 because it would be…

zephyr created pull request ligmo/ligmo#12 2025-05-03 13:24:29 -04:00
WIP: schema: add emote tables
zephyr pushed to schema at ligmo/ligmo 2025-05-03 13:24:11 -04:00
17061dfb64 schema: add emote tables
zephyr created branch schema in ligmo/ligmo 2025-05-03 13:24:10 -04:00
zephyr commented on issue ligmo/ligmo#1 2025-05-03 12:12:11 -04:00
thoughts

it is probably perfectly ok to simply not have emotes themselves expire, only drop off lists. even millions of emotes will be maybe a few dollars per month in storage.

zephyr commented on issue ligmo/ligmo#1 2025-05-01 18:22:33 -04:00
thoughts

could probably use exclusively avif for emote images. seems to be supported everywhere these days.

zephyr commented on issue ligmo/ligmo#5 2025-05-01 18:20:13 -04:00
CDN

I feel like in the long run there would be a lot to gain from a custom CDN. By nature, we'll have extra information about what emotes are likely to be used, since we keep track of recency in order…

zephyr merged pull request ligmo/ligmo#4 2025-04-30 21:57:05 -04:00
meta: add .vscode configuring elixirls
zephyr pushed to main at ligmo/ligmo 2025-04-30 21:57:05 -04:00
0d25fe733f meta: add .vscode configuring elixirls (#4)
zephyr deleted branch vscode-settings from ligmo/ligmo 2025-04-30 21:57:05 -04:00
zephyr commented on pull request ligmo/ligmo#4 2025-04-30 21:55:53 -04:00
meta: add .vscode configuring elixirls

make @hamza do it

zephyr commented on issue ligmo/ligmo#1 2025-04-28 23:53:19 -04:00
thoughts

emote model:

  • id (random string)
  • name
  • media links: list of format, scale, id (hash of content)
  • tags
  • uploader user id
  • attributions: list of people credited for the work, external…
zephyr created pull request ligmo/ligmo#4 2025-04-28 22:35:41 -04:00
meta: add .vscode configuring elixirls
zephyr created branch vscode-settings in ligmo/ligmo 2025-04-28 22:35:07 -04:00
zephyr pushed to vscode-settings at ligmo/ligmo 2025-04-28 22:35:07 -04:00
a0987c2a89 meta: add .vscode configuring elixirls