Jerry Mouse on Nostr: Sunday, its Sunday... Have you been doing any good today?? Well, I have been working ...
Sunday, its Sunday...
Have you been doing any good today??
Well, I have been working on a [rust script](
https://github.com/mypdns/MK-Cleaner) that aims to help any [Misskey](
https://github.com/misskey-dev/misskey) moderators and admin to suspend users and delete their posts from a MissKey instance in one process.
Or should I be honest and say, was supposed to, as I ran into a problem with the code. This is properly caused by a couple of things:
1. I'm the `Hallo World` noob
2. The [misskey-rs](
https://github.com/coord-e/misskey-rs), [Crate](
https://docs.rs/misskey/) do not seem to have been updated ti match the latest version of MissKey
3. The way the Crate are handling the JSON
## What is MK-Cleaner
1. Suspend an Account based on internal(local) ID
2. Delete all the users posts
3. Delete all the users files
4. (When Rust-lang become a natural language.) Cron the job to find these accounts by tags and do
it by itself (Needs Some kind of manual approval system)
If you know about Rust-lang programming I would like your help to learn to decode this problem and how to solve it. And maybe provide the solution and then teaching me how I could have found that my self.
PS: I do suffer PTSD, this means I sometime get tired rather fast and loosing concentration; and sometimes stays offline for days to recover.
When this is not the case... I can go on for a couple of days. before the batteries runs out :coffee:
#misskey #rustlang #rust #api #learning #help #silentsunday
Published at
2024-10-20 21:42:28 UTCEvent JSON
{
"id": "37bf8b2d82f3f69b333f15ae22cda201cc2ab4df3109d9296280a74e7e1ea6e4",
"pubkey": "18cbe413082448129b5d1d9ad751cdcc4785687e34ce9d1608d7a08de353022b",
"created_at": 1729460548,
"kind": 1,
"tags": [
[
"t",
"rust"
],
[
"t",
"api"
],
[
"t",
"rustlang"
],
[
"t",
"misskey"
],
[
"t",
"help"
],
[
"t",
"silentsunday"
],
[
"t",
"learning"
],
[
"proxy",
"https://matrix.rocks/notes/9zlogxh3fh",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://matrix.rocks/notes/9zlogxh3fh",
"pink.momostr"
],
[
"-"
]
],
"content": "Sunday, its Sunday...\n\nHave you been doing any good today??\n\nWell, I have been working on a [rust script](https://github.com/mypdns/MK-Cleaner) that aims to help any [Misskey](https://github.com/misskey-dev/misskey) moderators and admin to suspend users and delete their posts from a MissKey instance in one process.\n\nOr should I be honest and say, was supposed to, as I ran into a problem with the code. This is properly caused by a couple of things:\n\n1. I'm the `Hallo World` noob\n2. The [misskey-rs](https://github.com/coord-e/misskey-rs), [Crate](https://docs.rs/misskey/) do not seem to have been updated ti match the latest version of MissKey\n3. The way the Crate are handling the JSON\n\n## What is MK-Cleaner\n\n1. Suspend an Account based on internal(local) ID\n2. Delete all the users posts\n3. Delete all the users files\n4. (When Rust-lang become a natural language.) Cron the job to find these accounts by tags and do\n it by itself (Needs Some kind of manual approval system)\n\nIf you know about Rust-lang programming I would like your help to learn to decode this problem and how to solve it. And maybe provide the solution and then teaching me how I could have found that my self.\n\nPS: I do suffer PTSD, this means I sometime get tired rather fast and loosing concentration; and sometimes stays offline for days to recover.\n When this is not the case... I can go on for a couple of days. before the batteries runs out :coffee:\n\n#misskey #rustlang #rust #api #learning #help #silentsunday",
"sig": "e01deb80e4aa889f53fe1c1d88abc59acf4315df86f42ec0a92891e5ef80cf5ee61843c4c9d2d524839701e17d3c3118d7b1a80247a9b68976ea739b771e077b"
}