100 Mastodon myths:

1. Mastodon is hard.

FALSE. It’s a "soft"ware. Not hardware.

2. You have to use Linux to post on Mastodon.

FALSE. FreeBSD and OpenBSD are also supported.

3. You need to learn to use the Vim editor before posting on Mastodon.

FALSE. There’s also an emacs plugin.

4. Mastodon is only for computer nerds.

FALSE. As you can see, we sometimes try to make jokes that everyone could understand.

@ploum There’s also an emacs client, not plugin. A software that's meant to be installed on a full-blown OS and connects to a server is called a client 🤡
@devnull @ploum FWIW, the docs of the one I'm aware of call it an "extension" https://github.com/igb/emacstodon
GitHub - igb/emacstodon: An Emacs extension for posting "Toots" to Mastodon.

An Emacs extension for posting "Toots" to Mastodon. - igb/emacstodon

GitHub
@devnull @ploum but which editor would I use to write toots?

@tessarakt You mean there are other editors beside #vim? 🤔

You'd normally use "vim /tmp/toot.txt" obviously, then use your instance's API to actually post it 🤡

@ploum

@devnull @ploum I was talking about the client running on Emacs. I was under the impression that there are no decent editors for that OS. But if there is now a vim port, your suggestion of course works.
@devnull @tessarakt @ploum more seriously, is something like this technically possible on current mastodon versions?

@madargon Well, there is actually an API (for both Mastodon and some other Fedi stuff, either compatible or different APIs). As well as an official Mastodon python library, which might be overkill, depending what (and how¹) you'd use it for.

One could write a vim (or else…) plugin that would just read the currently open file, or script that uses $EDITOR to open your default editor² to write your post. Then makes HTTP POST request to send it to your instance using the API.

@tessarakt @ploum

@madargon

1. I'd recommend against using the library in a text editor plugin, as it makes starting that editor slower. It shouldn't be very hard to make API calls without Mastodon library.

2. The same way git uses the default text editor for commit messages when you 'git commit' without the '-m "Message"' part. It just open the default text editor with a comment/hint and let you write your commit message there. Saving means commit with the message. Quitting cancels commit.

@tessarakt @ploum

@devnull @tessarakt @ploum I meant mostly that part with sending something directly to Mastodon API. Like manually sending request and it will be converted to a valid toot, nomally visible from UI and possible to interact with.

@madargon I'd have to try on newer Mastodon versions without the Mastodon library, but as far as I can remember, it's just HTTP Post requests. curl works for text-only single post.

The script is mainly for EXIF extraction, default hashtags, as well optional stuff and mixing all this shit together.

The library is because I didn't know what features I'd use. Been 4 years that I'm like "I should add multiple images/threads support". Not sure how easy that would be without lib.

@tessarakt @ploum

@madargon Actually, it has been possible for a long time¹.

While not exactly "from a text editor", I publish photos on my photography account from a script. I guess I could add an optional "Open $EDITOR if the 'description' argument is missing" feature, someday…

https://framagit.org/devnull/mastupload

1. The script doesn't support image's alt yet, because it was written and updated for the last time before image's alt was introduced in Mastodon. I should probably add it someday 🙄

@tessarakt @ploum

devnull / MastUpload · GitLab

A python script to automagically publish photos on Mastodon, with corresponding EXIF metadata, and optional support for custom emojis.

GitLab
@devnull @tessarakt @ploum Windows users don't need to feel left out - I see that Notepad++ has a plugin which can make HTTP calls.
@devnull
of course there are editors besides vim, who actually uses vim? especially when neovim is right there

@AVincentInSpace You should really learn to not take everything litterally…

And yes, there's people "still" using vim. It's far from "archaic". "Newer" doesn't mean "better"… Don't over-estimate your technical skills…

People who've spend years maintaining their custom config for vim and have specific plugins that won't "just work" as-is in neovim are not going to abandon vim for nvim and spend time adapting shit for extra-features they don't need, or that have nothing to do on servers (GUIs).

@devnull @tessarakt @ploum
Well you could always use ed. But echo works too.
@ploum try, but whether the catch makes up for it is anyone's guess.
@ploum I use to post on mastodon with templeos
@ploum i’m still trying to understand joke2 please wait.
@ploum funny 😂 nothing wrong with using vim great editor!🤣
@ploum from the first False, I read this in Dwight Shrute 's voice
@coisbackeljau
He probably won't answer the questions though and tell you that it's KGB who's going to be asking questions 😂
@ploum
@ploum I hear even NetBSD support is on the roadmap, so it is definatly a multi platform software at this point!
@ploum 2- can I use BeOS?
@MrsMouse @ploum I heard, there‘s also an Application for OS/2 Warp.
@ploum Did you know that 100% of mastodon users think they're still on linkedin? #feditips

For more tips like these please follow @MaidBot! And remember to like, comment, and subscribe to the channel. It's with the help of viewers like you that we get to make quality content like this.
@cafkafk
When you write your entire resume in your bio.
@ploum @MaidBot
@ploum Blast. All I have is CP/M.
@rmacanthony So keep on PIP'ing along, to the right destination device, and you'll be fine!
@ploum
@rmacanthony (fun fact my mother told me when I was eight: my initials are the same as the pretty much most often used CP/M command :)
@ploum
@mrrmot @ploum love that story :) My dad was a programmer and we had a CP/M machine in the house early on. Was great to learn some things on it.
@rmacanthony @ploum these young'uns with thier fancy CP/M ... OS/360 was good enough for Apollo...
@ploum I'm completely baffled by the people who don't understand it. The Masto web interface is EXACTLY like Tweetdeck, so if you can use twitter you can use Masto.
@ploum Hmmmmm.
Is it also ok that other than having heard of Linux I literally don't know anything about any of the stuff you mention 🤔 I'm just hangin' out here taking it all in without plugins or vims or bsds... Perhaps there's another magic portal ??
@Jos21Bell @ploum Jos me too. Many of us are new & still trying to figure it out.
@Jos21Bell @ploum
Relax and go with the flow. Just absorb the nerd lingo, then search for the new words.
To *use* Mastodon, a browser or mobile app is enough. To *manage* Mastodon, Linux wizardry is required.
Vim and Emacs are old-style text editors, still very popular. BSD is an operating system, Linux-like. A plugin is software made to install within another software; browser extensions are examples.
@jcastroarnaud @ploum Most of us who've just joined are just using it as per other soc media on standard browser without add ons - I found the basic app useless, but seems fine going via the website.
Is there more to see ??
@Jos21Bell @ploum The Mastodon app offers little more than the web interface. I prefer the Tusky app on Android, also free. And there are paid apps, which I didn't try.
@Jos21Bell @ploum
Its mostly just nerd techy jokes... to parody the people saying it's too complicated (It isn't)
Mastodon is all web based, the backend usually run in Unix/Linux but can run on Windows...

@ploum I was hoping to use vi as my editor of choice....  

I really cannot see how people think it's hard to use Mastodon on pc or mobile version (eg Tusky on android).

I'm enjoying using it...

@pfred60
So what is wrong with ed then?
@Steveg58 Ed is ok too.... I draw the line with TECO (from DEC PDP o/s).... ☺️

@pfred60 @Steveg58

'Ere, wots all this against TECO? Totally awesome editor. Got to be the DEC version though. None of this half assed CP/M rubbish.

@rdm @pfred60
We used TECO at nightschool in the 70's and boy did it make us so glad to get access to VI.