Skip to content

Instantly share code, notes, and snippets.

microblog.pub建立

どうも、国見小道です。今回は、Fediverseに参加するためのさまざまなソフトの1つ、「microblog.pub」を建てて数日運用してみて得られた知識と感想について書いていきます。

microblog.pubというActivityPub実装のOSSがあります。これはMastodonPleromaMisskeyと同じカテゴリに属する、マイクロブログ型の分散SNSです。microblog.pubは「おひとりさま」を徹底追求したもので、なんとログインページにはパスワードの入力欄しかありません

loginPage

無事productionのbuildが成功した後にこのことを確認して、ド肝を抜かれました。

@udzura
udzura / yawaraka-docker.md
Last active June 16, 2022 23:34
やわらかDocker
@inodev
inodev / campaignDate.js
Last active March 26, 2024 08:47
侍エンジニア塾LP 2018-10-12-22_09_48(JSはminifyから展開済) 取得元: https://www.sejuku.net/other_lp/g/
function today() {
var b = new Date();
var d = b.getFullYear();
var e = b.getMonth() + 1;
var c = b.getDay();
var a = b.getDate();
return d + "/" + e + "/" + a
}
function addDate(h, f, i) {
var g = new Date(h);
@pacochi
pacochi / mastodon_show_faboo.user.js
Last active December 12, 2022 09:28
Mastodon の静的ページに⭐🔃した人のアイコンを表示します。
// ==UserScript==
// @name [Mastodon] show ⭐🔃 on static pages
// @namespace hen.acho.co
// @include /^https?:\/\/[^\/]+\/(?:@\w+|users\/\w+\/(?:statuses|updates))\/\d+/
// @version 1.221212
// @description add favoriter or booster icons next to counts
// @downloadURL https://gist.github.com/pacochi/d466d481fa9aa982c2f206815765fd53/raw/mastodon_show_faboo.user.js
// @run-at document-idle
// @grant none
// ==/UserScript==
@pacochi
pacochi / mastodon_spc2zwsp.user.js
Last active June 3, 2021 09:55
Mastodon の発言入力欄で絵文字の後ろについているスペースをゼロ幅スペースに変換するボタンを追加します。
// ==UserScript==
// @name [Mastodon] add "space → zero width space" button
// @namespace hen.acho.co
// @include https://*/web/*
// @version 2.210603
// @description make custom emoji fit snugly
// @downloadURL https://gist.github.com/pacochi/ae6714d1c71a8ef52a3d5a3407886e94/raw/mastodon_spc2zwsp.user.js
// @run-at document-idle
// @grant none
// ==/UserScript==
@unarist
unarist / mastodon-add-2col-layout.user.js
Last active November 13, 2022 09:12
:don: - Add tablet layout
// ==UserScript==
// @name :don: - Add tablet layout
// @namespace https://github.com/unarist/
// @version 0.8
// @description Add tablet layout (w/ tabbar, w/o compose column) for <=1024 width
// @author unarist
// @match https://mstdn.maud.io/*
// @downloadURL https://gist.github.com/unarist/71067609416aed633cf74eddb6feb725/raw/mastodon-add-2col-layout.user.js
// @grant none
// @run-at document-body
@unarist
unarist / auto_nya-n_s_rec.user.js
Last active March 3, 2018 12:12 — forked from pacochi/auto_nya-n_s_rec.user.js
安全なオートにゃーん(音声認識ロック付き)
// ==UserScript==
// @name auto nya-n (unlock by speech recognition)
// @namespace https://github.com/unarist/
// @include https://*/web/*
// @conrtibutor pacochi https://gist.github.com/pacochi/4295d00d6368c53921047d2a90dca8b5
// @version 1.170908
// @description nya-n
// @downloadURL https://gist.github.com/unarist/d71b04702091fe5a8143af26b78410da/raw/auto_nya-n_s_rec.user.js
// @run-at document-idle
// @grant none
@unarist
unarist / mastodon-mobile-composer.user.js
Last active January 24, 2025 17:26
Mastodon - Mobile Composer
// ==UserScript==
// @name Mastodon - Mobile Composer
// @namespace https://github.com/unarist/
// @version 0.15
// @description add composer to page bottom
// @author unarist
// @downloadURL https://gist.github.com/unarist/08f56c49986d3b1775fe88bc918cac50/raw/mastodon-mobile-composer.user.js
// @match https://*/web/*
// @match https://*/deck/*
// @match https://mstdn.maud.io/*
@unarist
unarist / mastodon-timed-mute.user.js
Last active November 1, 2018 13:50
Mastodon - 期限付きミュート
// ==UserScript==
// @name Mastodon - 期限付きミュート
// @namespace https://github.com/unarist/
// @version 0.11
// @author unarist
// @match https://*/web/*
// @grant none
// @downloadURL https://gist.github.com/unarist/91da256246fb438811f2e1a05785abad/raw/mastodon-timed-mute.user.js
// ==/UserScript==
@yukimochi
yukimochi / Caddyfile.caddy1
Last active December 9, 2024 14:11
For Mastodon Caddy Setting file. (Based on official Nginx configuration example) [Last Update: Mar 07, 2021]
https://yourdomain.example.com/ {
log / /var/log/caddy/mastodon.log "{combined}" {
rotate_age 90
}
root /home/mastodon/live/public
gzip
header / {
Strict-Transport-Security "max-age=31536000"
}