ronilaukkarinen / fedionfire Goto Github PK
View Code? Open in Web Editor NEWWatch every Mastodon/Fediverse post in real-time - filter the firehose
Home Page: https://fedionfire.stream
Watch every Mastodon/Fediverse post in real-time - filter the firehose
Home Page: https://fedionfire.stream
I mentioned this on Mastodon, but just to be absolutely certain it gets addressed: the streaming API doesn't just contain events of new stuff being posted. Every event sent contains a type, which indicates specific expected behaviour for the consumer.
One of these event types is deletes, which are issued when a user deletes their post: currently Fedionfire does not respect these delete events, which should remove the post from the output.
you'll also want to make sure you're respecting status.update
too, not just update. status.update
says "the status with this ID has been edited & therefore it should be updated in the UI"
This gives you three events you should listen to: update, status.update and delete. The other's aren't relevant for your use-case.
I have no idea how to implement this and maybe using relays is the answer (#3), but mastodon-firehose has done this in the past. It would be a blast to see as much sources as possible, since mastodon.social is just a start.
Right now the token has only read:statuses
permissions so no harm cannot be done by using it. But it is not a good thing to expose the API code anyway so need to figure out a better way to do this.
The better way to develop something like this is to use the Relay's functionality, instead of the streaming API.
By using the Relay's API, you'd also be needed to add in a privacy policy to document how data is stored, handled, distributed and secured.
For a bit of background, take a look at this ticket: โชmastodon/mastodon#24116
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.