Show newer

K, lets delete the old file and make a new one:

```
await fetch('README.gemini', {method: 'delete'})
await fetch('/index.gmi', {
method: 'PUT',
body: `
# Mauve's Gemblog!
Wow this sure is something.
Way more advanced than my HTML based blog!

=> blog.mauve.moe
`
})
```

hyper://sqtc3rcay8hcg3y8ehcrc66zpiceufstcwupukrggf5eukwp7xdo/index.gmi

Show thread

Honestly, this is all you need to get a basic blog up and running. From here you an change the URL in the `fetch()` API call to whatever page you want and add the gemtext into the `body`. Each time you'll be overwriting what was there before.

Whoops! I got the file extension wrong. Seems it's just loading it as Markdown. :P Most of the formatting works anyway. Hopefully folks looking at this in the future will see the fixed version. Also I think I got the file extension wrong?

Show thread

Navigating to the URL will give me an empty index. So first thing I'll do is add my "homepage" under `/README.gemini`. Sadly I don't have a thing to resolve `index.gemini` yet, but I wanna add that next time I get a chance. Gonna read these docs to brush up on my gemtext: gemini://gemini.circumlunar.sp

```
res = await fetch('/README.gemini', {
method: 'PUT',
body: `# Mauve's Gemblog!`
})
await res.text()
```

Now I can reload and click to open the page

Show thread

Next I'm going to use the `fetch()` API to create a new `hyper://` website based on a "pet name" for the key. Every time I use this human readable name it will resolve to the same human-unreadable public key URL.

I got back hyper://sqtc3rcay8hcg3y8ehcrc66zpiceufstcwupukrggf5eukwp7xdo/ which is the public URL for my new site (currently empty)

```
res = await fetch('hyper://localhost/?key=gemblog', {method: 'POST'})
await res.text()
```

Show thread

First thing I'm gonna do is open agregore://welcome to get a fresh page and hit ctrl+shift+i to open up the devtools. You can also use `File > Open Dev Tools` or right click on the page and hit `Inspect`.

Show thread

First, I'm going to create a new based website. This used to be called and I think is now called holepunch.to (all very hard to search for :P ).

You can find the docs for the protocol handlers here: github.com/RangerMauve/hyperco

Show thread

My brain is kinda exhausted from first wrestling with Linux and Ansible automation, and then wrestling with JavaScript type hell in trying to get some p2p libraries to work.

Gonna decompress before bed by live-coding a lil in with some basic and

So if you haven't yet, try installing the latest pre-release of Agregore and follow along.

github.com/AgregoreWeb/agregor

I feel like a lot of devs are sleeping on and using one to store more "data" related state in order to keep logic on actual pages more sparse.

E.g. have your connection to the backend and your IndexedDB caching layer in the shared worker, then have pages load some basic web components and query the backend.

This works better for multi-window/tab setups which used to be the default in desktop apps back in the day.

Now it's all tied in a single page monolith.

1990s web experience

- Open site in browser
- Watch framework of site gradually appear
- Start reading site text
- View images once they load
- Click a hyperlink to more information on the thing you're looking for

2020s web experience

- Open site in browser
- Wait for Cloudflare to verify you aren't a bot
- Wait for background movie to load
- Dismiss cookie popup
- Decline to subscribe to their mailing list
- Decline to speak to a chatbot that promises it's a human
- Scroll infinitely looking for the information you want that's probably not there since it's all generated text intended for other robots to read anyway

Low key all I want from any computing device is to be able to open up a terminal and mess with its guts.

This is why I love the web and `inspect element` so much.

GNOME's devtools are kinda cool, but it's way more constrained.

Show thread

Feeling nostalgic about some experiments I did 3 years ago where I was live editing virtual scenes in on my shitty Android phone with Google Cardboard.

I'm still a believer that speech based programming could be viable for making simple interactions possible in

youtube.com/watch?v=qwOOgvEiN_

We don't talk enough about the absurdity of rich countries emitting lots of CO₂ and then asking poor countries to offset those emissions.

Excited for this to come in so I can start messing with key bindings. I'm guessing I can get some speech to text combined with tab completion from key bindings to boost my productivity.

Might also be nice for taking public transportation in the future.

Sad that the battery life sucks so hard, but that's what my omnicharge is for I suppose. :P

transhumanism, crapitalism 

Honestly having a digital brain wouldn't be so bad if not for us existing in a capitalist hellscape.

Reading Greg Egan's writing gives me so much hope for being able to surpass my body's physical limitations. Sadly it's science fiction and I'll likely be stuck in this shell for my existence.

Bananas that Github actually had to issue a fresh SSH cert.

Thinking that instead of making a new fsdiverse implementation from scratch it'd be cool to have a "sidecar" that attaches to Mastodon's database and exposes new intefaces for custom clients.

One idea we talked about a few months back was users designing their own algorithms for their feed. I'd like one that would show the most recent post (singular) from every person I follow. This would surface content from less frequent posters. Call it a "check in" page. This shouldn't be default, but rather a sorting option you could toggle. #feeds #algorithm #mastodonSuggestions

Some folks turned me onto Greg Egan's writing. Gotta say I can't believe I've been missing out on all of this for so long! Lots of greathard with transhumanist storylines and graphs.

@pikhq "intellectual property" is a scam invented by the wealthy so they can try to own ideas,. Thoughts! As if owning everything in the physical world isn't enough!
(Quick disambiguation:
IP is not copyright (a radio play of Star Wars wouldn't violate Lucasfilm's copyright unless i used audio from the film. It would, however, violate their IP because they own the characters and general story))

Show older
Mauvestodon

Escape ship from centralized social media run by Mauve.