tangled.org trending bluesky account

moved to tangled's og images

Changed files
+9 -10
bot
src
+6 -8
bot/src/main.rs
··· 275 275 }; 276 276 277 277 // Fetch the pre-rendered image from the external service instead of rendering via Chromium 278 - let encoded_subject = urlencoding::encode(&repo_subject); 279 - let url = format!( 280 - "https://tangled-search.bigmoves.deno.net/repo-image/{}", 281 - encoded_subject 278 + let tangled_og_image = format!("{tangled_sh_url}/opengraph"); 279 + log::info!( 280 + "Attempting to get the picture at: {tangled_og_image}" 282 281 ); 283 - log::info!("Attempting to get the picture at: {url}"); 284 282 285 283 let post_text = 286 284 format!("{handle_and_repo}{description}\n⭐️ {stars}"); 287 285 288 - let response = reqwest::get(url).await?; 286 + let response = reqwest::get(tangled_og_image).await?; 289 287 290 288 let embed = match response.status().is_success() { 291 289 true => { ··· 306 304 ), 307 305 aspect_ratio: Some( 308 306 atrium_api::app::bsky::embed::defs::AspectRatioData { 309 - height: NonZeroU64::try_from(400_u64)?, 310 - width: NonZeroU64::try_from(800_u64)?, 307 + width: NonZeroU64::try_from( 1_200_u64)?, 308 + height: NonZeroU64::try_from(630_u64)?, 311 309 } 312 310 .into(), 313 311 ),
+3 -2
justfile
··· 1 1 release: 2 - docker buildx build \ 2 + docker --context=default buildx build \ 3 3 --platform linux/arm64,linux/amd64 \ 4 4 --tag fatfingers23/stitch_counter:latest \ 5 - --push . 5 + --builder default \ 6 + --push .