Jan-Lukas Else

Thoughts of an IT expert

💬 Micro: 2019

This section is for short notes, thoughts or IndieWeb interactions.


PESOS

Published on in 💬 Micro

I should definitely checkout how to PESOS for Pocket. I use Pocket quite often, but don’t publish all links on my blog. For that I still need to improve bookmark support and than use something like IFTTT to publish recommended or starred articles to a bookmarks section.

View

Published on in 💬 Micro

Thanks for your tip to take a look at the post by Steve Layton! Unfortunately I’m not using micro.blog currently and rather want my setup to be self-hosted as much as possible. To do that I recently also started receiving webmentions myself instead of relying on webmention.io. It’s not that I don’t like these services, it’s more that I strive for full control over my setup.

View

Refactoring

Published on in 💬 Micro

I wrote about my Indieweb dream this morning. To come closer to this dream and to clean up some code, I started refactoring my hugo backend code. I made use of Go interfaces to later be able to easily add more storage, CDN or social network providers. It also made the code a bit cleaner and a bit more modular, but there’s still a lot of learning and work to do. What I still struggle with though is testing: I don’t have any automatic tests yet. How do I test HTTP calls to external APIs?

View

More thoughts about ActivityPub support for this Hugo blog

Published on in 💬 Micro

I plan to add a bit of ActivityPub to my blog to be able to interact with the fediverse, without the need to use Mastodon, Pleroma or my current microblog. Just my static Hugo blog with it’s dynamic Go-backend. Because I don’t want to implement everything from scratch - I haven’t yet added media support for MicroPub - I am in search for libraries that help implementing ActivityPub, or at least give me a starting point. I discovered the library activityserver, which is used by a tool called pherephone by write.as, maybe that can help me.

What I still have to think about though, is how I’m going to connect it with the rest of the system. And what’s also still missing: The media endpoint and update support for MicroPub (I should do this first).

Or should I just cancel my plans with ActivityPub and wait until Fediverse software supports IndieWeb technologies? :thinking_face:

View

Webmention update

Published on in 💬 Micro

I’m now receiving webmentions myself and also show them as “interactions” on this blog.

I implemented webmention receiving into my Hugo backend. Mentions are stored as a simple json file per webmention in the “data” folder of my blog and then I’m using some Hugo magic (data templates) to render them in my theme.

By doing it this way, I don’t need any JavaScript to show interactions and I don’t need to rely on a 3rd party service (I used webmention.io) for receiving anymore.

View

Joining Codeberg

Published on in 💬 Micro

I just joined the Codeberg e.V. as an active member.

The mission of the Codeberg e.V. is to build and maintain a free collaboration platform for researching, creating, archiving, and preserving knowledge, code, and to document its development process.

I really like Codeberg and its mission and use the platform for some of my projects. Today, a fellow student / colleague asked me a few questions about it, then joined himself. That inspired me to actually join now too, instead of sometime in the future.

More Information about Codeberg on their website or blog. Joining is possible here.

View

A new “Share” option

Published on in 💬 Micro

Thanks to AddToAny, there’s now a “Share” option on my blog. If you find an article share-worthy, simply click on that link and select how to share this article. It should be pretty simple.

In Hugo I use the following line of code to create a share link:

<a href="https://www.addtoany.com/share#url={{ .Permalink }}{{ with .Title }}&title={{ . }}{{ end }}" target="_blank" rel="nofollow noopener">{{ T "share" }}</a>

{{ T "share" }} is a translation string, but if you don’t care about translations, simply replace this with your preferred string.

View

All the Nextcloud apps I use

Published on in 💬 Micro

These are the Nextcloud apps that are activated on my Nextcloud instance:

  • Accessibility: Has an option to activate a dark theme
  • Activity: It’s really nice to have an activity log of created, changed and deleted files
  • Brute-force settings
  • Calendar
  • Checksum: Lets you calculate checksum of files
  • Deck: I often use this when organizing the learning for exams
  • Deleted files
  • File sharing
  • Gallery
  • Log Reader
  • Markdown Editor
  • Metadata: Lets you see metadata of pictures etc.
  • Monitoring
  • Notes: I use it for all my notes, there’s a great Android app
  • Notifications
  • Optical character recognition
  • PDF viewer
  • Preview Generator: Lets you pre-generate preview images of new photos via a Cronjob
  • Privacy
  • Right click
  • Share by mail
  • Tasks: I don’t really use it, but it may be a good alternative to Todoist and other tasks managers
  • Text: Nextcloud’s new text editor. It’s really nice and supports markdown
  • Theming
  • Versions
  • Video player
  • Viewer

View

Automatic Webmention sending

Published on in 💬 Micro

My dynamic Hugo backend (it’s not just Micropub anymore) should now send Webmention requests automatically after publishing a post. I first thought about using the Telegraph API for that, but then just took the webmention library written in Go by Will Norris.

View

Published on in 💬 Micro

Codecademy was once a great source to learn new programming languages, but it seems in the last year, they started to push harder to increase revenue. After login you get presented a page to buy Pro access (and you need to find that small “Back” link), Pro banners everywhere and popular courses like the one to learn Python 3 are Pro-only anymore. Seems like I need to find another source to learn some Python basics for my seminar paper about Falcon.

View

Next

Jan-Lukas Else