• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 962

  • Newest
  • Previous
  • Next
  • Oldest

The archive of what I posted on Twitter, which I now self host due to a lack of trust in Twitter and some other reasons.

I'll soon begin refelcting all my Mastodon posts here too. I'm happier self-hosting or maintaining an archive of my content on URLs that I can own.

There are tools to help you do this too. Such as this one from the makers of Eleventy.

A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @youknowjack

@youknowjack I'm taking the json file of my tweets, provided in the export, and cleaning it up a little to remove properties I'll not need. Which brings it down from ~50MB to ~8MB.

Then I'll use this is a data file in my site which is built with @eleventy, to generate a page for each, some pages listing them all, and a simple search that I'll build.

My site is set to get a `/notes` section to hold those and future social media postings.

Locally 26.5k pages build in ~4s at present

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @hankchizljaw

@hankchizljaw Yeah I've been thinking that too.

I'm not settled yet on deleting my tweets such as @beep and others are doing. But once I've published my own, I'll at least pin a tweet which points to their new home, noting that the id numbers in the URL match.

In time I might delete all from twitter other that this one bit of guidance on where to find that missing tweet on that now broken URL

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @GrangerYves
@GrangerYves @mahemoff I got a proper export.

https://indieweb.social/@philhawksworth/109353502681168763
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @jhey

@jhey Yeah.

The data dump is there too, which is useful. But yes, the little site you get for exploring it is nice.

I wish the data made a note of tweets that you posted into a circle though. That's given me pause.

And it doesn't include bookmarks.

Mine took about 24 hours to arrive after requesting it.

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @jhey

@jhey GET IN!

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @jhey

@jhey Excellent! Looking forward to seeing it.

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @jhey

@jhey You get a pretty nice artifact as it goes. All the data is in JSON (which I'll use to populate a section of my own site) and it has a little local site wrapper to let you explore.

Embedded image from social media
  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @jhey

@jhey I got you!

You want to create a Build Hook for your site in your Build & Deploy settings, and then call it each day with a scheduled function (using fetch to issue a POST request)

https://docs.netlify.com/functions/scheduled-functions/#cron-expression-inline-in-function-code

Embedded image from social media
  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @maiertech

@maiertech

@timhutton has made something very handy for that.

https://mathstodon.xyz/@timhutton/109316834651128246

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @hankchizljaw

@hankchizljaw Ha!

I'm not comfortable with the long look in the mirror that deciding what my wheat-to-chaff ratio has been... but I've always wanted to retain my content on URLs, so I want to publish everything I've chosen to post publicly

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022 replying to this from @hankchizljaw

@hankchizljaw I've not been very active/spicy in many circles... but still want a solution for this before I publish my archive on my site

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022

If like me and many others, you're in the process of moving your tweets to a new home on your own site, a word of caution:

Tweets to twitter circles are not labelled as such in the export, so be aware of the risk of making public what you might have intended for a trusted group

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 16th 2022
If like me and many others, you're in the process of moving your tweets to a new home on your own site, a word of caution:

Tweets to twitter circles are not labelled as such in the export, so be aware of the risk of making public what you might have intended for a trusted group
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @qbunt

@qbunt oh no!!

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @zachleat

@zachleat @sia * hides behind sofa *

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @qbunt

@qbunt Hoping yours came through or that you can try again. 🤞

My archive just arrived. A little over 24 hours for me.

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @aldr

@aldr Just got my archive. Sadly it looks like bookmarks are omitted.

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @Casablanca
@Casablanca @mahemoff Me too. Just over 24 hours.
Relieved.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @sia

@sia Stealing from @zachleat tends to be a pretty good strategy.

And he'll never know.

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @sia

@sia YES! I love this too

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @sia

@sia I love it!

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022

JavaScript

"...just because it’s the same language doesn’t mean you should treat it the same in both circumstance."

— @adactio

Jeremy completes me.

https://adactio.com/journal/19531

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @Davidtoddmccarty

@Davidtoddmccarty @sia

Fair enough.

I want to ensure that I can safeguard some of my content by giving it a home and a URL that I can keep around forever

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @philhawksworth

@Davidtoddmccarty @sia

There are also some good tips for adding webmentions from @mxbck too, which I've been planning to do for some time.

https://mxb.dev/blog/using-webmentions-on-static-sites/

  • Permalink
  • |
  • Mastodon
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • November 15th 2022 replying to this from @Davidtoddmccarty

@Davidtoddmccarty I'm planning to host it as part of my own site, and I'll do the same for all my future Mastodon posts too.

@sia Just did some of that on her site.

https://notes.sia.codes

  • Permalink
  • |
  • Mastodon
  • Newest
  • Previous
  • Next
  • Oldest

The source code of this site is available on GitHub and is hosted and updated by Netlify automatically after each code commit

Other than where specified, the content on this site is published under a Creative Commons Attribution 3.0 licence.

Subscribe to a feed of blog posts on this site.