bsky implemented embeds, so this code is no longer running!
vxtwitter for bsky (preview urls by rewriting them)
simply change bsky.app to psky.app
take a look at the open issues
- kawarimidoll https://github.com/kawarimidoll
vxtwitter for bsky (preview urls by rewriting them)
License: MIT License
bsky implemented embeds, so this code is no longer running!
vxtwitter for bsky (preview urls by rewriting them)
simply change bsky.app to psky.app
take a look at the open issues
Hi, thank you for nice project.
I found that psky.app returns 500 error when URL has user's DID.
example:
this works:
https://staging.bsky.app/profile/kawarimidoll.bsky.social/post/3juagfzruqs2u → https://psky.app/profile/kawarimidoll.bsky.social/post/3juagfzruqs2u
but this returns error:
https://staging.bsky.app/profile/did:plc:okalufxun5rpqzdrwf5bpu3d/post/3juagfzruqs2u → https://psky.app/profile/did:plc:okalufxun5rpqzdrwf5bpu3d/post/3juagfzruqs2u
Hey there!
First of all, thank you for making this! I've been really wanting it to exist. And the domain is perfect.
I've got a feature request, maybe: I use https://github.com/FixTweet/FixTweet to do similar things on twitter, but part of what makes it so good is that it shows quotes well.
Consider this skeet: https://psky.app/profile/did:plc:3danwc67lo7obz2fmdg6jxcr/post/3jup6ppmuef2g
The embed shows up in discord like this:
but this leaves out the crucial context, that I'm quoting something.
The same thing, but fxtwitter: https://fxtwitter.com/austin_walker/status/1652101865855647745
... this embedded shows the quote as well, making it more coherent
Anywho, feel free to close if you're not interested in this, but I think it would make this tool even better. Thanks!
https://codepen.io/tigt/post/oembed-for-static-sites
<link rel="alternate" type="application/json+oembed" href="oembed.json">
{
"version": "1.0",
"type": "rich",
"provider_name": "Example.com",
"provider_url": "https://example.com",
"title": "Great Uncle Pawdabber’s Pre-tend Ice Cream Showdown",
"author_name": "Strong Bad",
"author_url": "https://twitter.com/StrongBadActual"
"html": "<iframe src='https://example.com/recipes/great-uncle-pawdabbers-pre-tend-ice-cream-showdown/embed.html'></iframe>"
}
ty for building this sweet preview app 💜
https://psky.app/profile/xn--u38h.jasik.xyz/post/3juses57v4627, and most urls, seem to be throwing a 500 error
I came here to file a feature request for link previews, but from the other issues, it looks like it's actually supported and working on other platforms. For some reason, the link previews don't seem to be working on Signal (either Android or iOS), even when link previews are available, and even though they work for Twitter links (both text and images).
Because Signal supports link previews for all sites served over SSL/TLS, and because it works for other websites on Signal but consistently not for psky, I think this is an issue on psky's end.
Please don't misunderstand the tone of the issue title! I genuinely think it's funnier to leave it unfixed, but your stance on polished software might differ.
Anyway, on to the actual report. I've seen the OpenGraph cards made by psky, at least when embedded to discord, mostly consistently leave off the close paren as attached. A quick search of my friend group's small server (I can pass this screenshot along as well, but am on phone so the censoring is more involved) shows that one of the five uses of psky.app did add a close paren, so I'm stumped, because I can't draw conclusions about the length of a handle or display name being related. Are there two routes for strings to get formatted, maybe?
At the end of the day, given there is an actual inconsistency, a call probably has to be made in one direction or the other, but I'm still rooting for the funnier route (no close paren >:]
The README says: "RETIRED bsky implemented embeds, so this code is no longer running!"
However, BlueSky's link previews often fail to render properly for me in Discord. Please turn this back on so we can have a backup method of linking to skeets for cases when the default link previewer fails?
when the following link is shared in discord:
https://psky.app/profile/meo.bsky.social/post/3jvurz3ksmv2j
it's trimmed to an exceptionally short length as shown below.
It is a longer post. I don't find that it cuts off all previews to this short length.
Another post here works like normal and shares the whole post, the desired behavior
Seems like psky.app currently just displays the first image from multi-image posts? At least on Telegram. Would be nice if it displayed multiple.
Back in the day, Telegram allowed multi-image embeds, but that seems to be done on Telegram's site, and very site-specific. The opengraph API doesn't actually support multi-image previews at all.
But maybe psky.app could use something like the mosaic server that fxtwitter.com uses, which mosaics images together in an efficient manner?
Mosaic might need a tweak or something to support bluesky image URLs, but shouldn't be too tricky there
subject
They are just showing up as normal links instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.