Code Monkey home page Code Monkey logo

psky.app's Introduction

RETIRED

bsky implemented embeds, so this code is no longer running!

p(review)sky.app

vxtwitter for bsky (preview urls by rewriting them)

how to use

simply change bsky.app to psky.app

image

want to help?

take a look at the open issues

thanks to!

psky.app's People

Contributors

ianklatzco avatar yafesdot avatar

Stargazers

Juan avatar BloodDragooner2 avatar sal avatar Eric Gallager avatar vonDubenshire avatar Aidan avatar  avatar  avatar  avatar Aden LeQuire avatar Tani Nevins-Klein avatar Emma avatar Justin Goldberg avatar Martin Němeček avatar Burner avatar rjt avatar James Martindale avatar Dziban303 avatar Sandalots avatar Resi Respati avatar PSingletary avatar Mars avatar Felicitas Pojtinger avatar Storm avatar aura avatar Chloe Arciniega avatar  avatar Sunny avatar Andrew Zigler avatar  avatar Lᴉɐm avatar Ricardo avatar tree avatar skye avatar Neos21 avatar Sho Shimauchi avatar Hilary Baumann avatar  avatar YoungChief avatar Luca avatar Gai avatar 22388o⚡️  avatar nori li avatar Eugene Dobry avatar Harshit Choudhary avatar raph avatar Matt Menzenski avatar  avatar Theodore Keloglou avatar Jaz avatar Caleb Jasik avatar Ellie 
:3 avatar Christina Warren avatar Max Bittker avatar  avatar Steve Klabnik avatar Prana Adiwira avatar Eddie Kay avatar Sam El-Borai avatar Ian Muchina avatar  avatar Andy Bell avatar  avatar

Watchers

 avatar Blair Hamaski avatar Emma avatar Caleb Jasik avatar  avatar  avatar

Forkers

22388o ichthyos

psky.app's Issues

quote skeets?

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:

image

but this leaves out the crucial context, that I'm quoting something.

The same thing, but fxtwitter: https://fxtwitter.com/austin_walker/status/1652101865855647745

image

... 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!

oembeds can be json instead of html

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>"
}

telegram is cutting off text previews

i wonder if serving a telegram-specific response would fix it, curl'ing vxtwitter with telegram's user agent might work

actual behavior:

image

desired behavior:

image

Link previews aren't working with Signal

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.

Example of missing preview before message is sent (psky):

Screenshot 2023-05-17 at 3 21 56 PM

Example of preview before message is sent (Twitter):

Screenshot 2023-05-17 at 3 22 13 PM

Example of preview after message is sent (Twitter):

Screenshot 2023-05-17 at 3 24 08 PM

Do NOT fix the missing close paren

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 >:]

Screenshot_20230726-142625~2.png

Display multiple images of multi-image posts

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.