selfagency / mastodont Goto Github PK
View Code? Open in Web Editor NEWCLI blocklist importer for Mastodon admins
Home Page: https://npmjs.org/mastodont
License: MIT License
CLI blocklist importer for Mastodon admins
Home Page: https://npmjs.org/mastodont
License: MIT License
Move on from just instance blocks to user blocks
โน Opening browser to instance blocklist... 22:10:36
node:events:491
throw er; // Unhandled 'error' event
^
Error: spawn xdg-open ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:485:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:485:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn xdg-open',
path: 'xdg-open',
spawnargs: [ 'https:///admin/instances?limited=1' ]
}
There is no GUI on this machine, the app does not handle that cleanly
Add a flag for updating the settings on existing blocks
Requesting a function to remove blocked domains from the server or whitelist servers.
Cheers and thanks
Let users import blocklists
Create a sample GitHub workflow demonstrating how to update a blocklist from a URL automatically
Create Action in GitHub Marketplace
Not just textfiles
Where instances have been added to a blocklist using this tool add reason 'import-mastodont' to the blocking reason published by the server.
Then when running your script to generate the most-defederated list you could exclude those added by this tool.
Otherwise if it gets reasonable adoption you have some circularity, it's on the list because it's on the list, and lots of instances subscribe to the list.
Being on a blocklist is not a good reason for being on a blocklist..
Instead of just local textfiles, add support for importing blocklists by URL
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.