Files
sorsfonalak/services/forum/Cargo.toml
T
fecoandClaude Opus 5.5 1d4f18b5d6 Forum: the link module, with YouTube previews
- services/forum/src/links: recognises the links in a post and shows a
  preview for the ones a provider knows; for now YouTube (watch, shorts,
  live, embed and youtu.be links, with the start time). Title and channel
  come from YouTube's oEmbed answer, the thumbnail is cut to 16:9 and kept
  in our own storage, so reading a thread loads nothing from YouTube. Made
  when a post is written or edited; without it the link stays text.
- The card: on a computer a click plays the video in place
  (youtube-nocookie.com); on a phone it opens the YouTube app (Android:
  an intent with the web page as fallback; iOS: the link the app takes
  over), and "Lejátszás itt" plays it in place.
- The privacy notice (HU, EN) says what YouTube sees when one plays it.
- "Pörgős most" is now "Élénk beszélgetések"; the new thread form lost its
  note about text and emoji.
- docs: the Turnstile captcha is on the list before going live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-26 16:26:37 +00:00

35 lines
1016 B
TOML

[package]
name = "forum"
description = "Sorsfonalak forum: pseudonymous members, topics, threads, posts, reactions, moderation"
edition.workspace = true
version.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
db.workspace = true
object-storage.workspace = true
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "webp"] }
sha2.workspace = true
service-kit.workspace = true
anyhow.workspace = true
axum = { workspace = true, features = ["ws"] }
axum-extra.workspace = true
deunicode.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
sqlx.workspace = true
thiserror.workspace = true
time.workspace = true
tokio = { workspace = true, features = ["time"] }
tower-http.workspace = true
tracing.workspace = true
uuid.workspace = true
[dev-dependencies]
tower = { version = "0.5", features = ["util"] }
tokio-tungstenite = "0.29"
futures-util = { version = "0.3", default-features = false }
http-body-util = "0.1"