Alguém conseguiu habilitar o endpoint /metrics no #GoToSocial ?
Pode compartilhar quais configurações foram feitas (seja env, seja config file)?
Alguém conseguiu habilitar o endpoint /metrics no #GoToSocial ?
Pode compartilhar quais configurações foram feitas (seja env, seja config file)?
Dear Fedi friends,
By now you might have seen the post announcing the release of my promotional video for the Fediverse. But in case you have boosts turned off, here we go: https://news.elenarossini.com/fediverse-video/
I posted about it this morning from my #GoToSocial account because I have a 5000 character limit there. And I had so many people to thank for their help. It really takes a village.
Thank you for all the wonderful feedback so far ❤️
After an embarrassingly long time, I figured out how to reset a password on a GoToSocial instance. You have to run the reset command, **AND THEN RESTART THE SERVER**.
It was that last part that tripped me up. I stopped reading after the password reset command. Oops.
From inside the docker container:
`./gotosocial admin account password --username USERNAME --password PASSWORD --config-path config.yaml`
The exit out of the container and run
`docker restart gotosocial`
I am incredibly delighted and impressed to see the domain access subscription feature in #GoToSocial - allowing admins to subscribe to a domain list for allowing or denying domains, and - more importantly - processing retractions when those lists remove an entry 💯
If you are building federated services, please review this feature set:
https://docs.gotosocial.org/en/v0.20.1/admin/domain_permission_subscriptions/
Additionally heartened to see NLNet funding @gotosocial for the addition of new moderation and federation features - congrats!
Testing an image post again with
media-image-size-hint: 1MiB
In #GotoSocial config.
#NLnet published their policy on so-called "ai" in projects they sponsor, and while it's a fucking bummer to see them say "We are not against GenAI", they are at least requiring grantees to disclose use of so-called "ai", including requiring a list of prompts used for so-called "substantive" use thereof:
https://nlnet.nl/foundation/policies/generativeAI/
As always, #GoToSocial in particular explicitly forbids would-be contributors to the code or docs from using "ai" tools in contributions. Our considered stance remains "fuck 'AI' all the way to hell".
good morning dorks and nerds! due to an excess of joie de vivre, gregariousness, bon vivantry, whimsy, and childlike wonder, we're going to extend our holiday by a week
what this means: instead of reopening all our codeberg issues and matrix rooms today (Jan 5th), we'll open them next week (Jan 12th) instead
we'll actually probably start doing bits of work already, we just don't quite feel ready yet to fully start Dealing With People again (no offense, you're lovely, just imagine us as sleepy winter bears who haven't had their coffee yet and are therefore blinking drowsily at all requests to be "on")
much love and kisses and happy new year from the #GoToSocial team ❤️

Fediverse people, need your advice! 🙂
Do you know any GoToSocial servers that are open to public signups?
Would especially like to know about general servers that aren't aimed at a specific niche.
I've had many people asking about joining a GTS server lately, not sure what to suggest as there isn't a "JoinGoToSocial" website anywhere and the official GTS site is aimed at self-hosting people.
@board
求助:如何在gotosocial上“偷“取其他实例的表情
项目: https://codeberg.org/pswilde/gts_emoji_importer
账号:jay、有admin权限
配置安装环境工具
curl https://nim-lang.org/choosenim/init.sh -sSf | sh# 手动配置PATH环境变量nano ~/.bashrc末行添加:export PATH=/home/jay/.nimble/bin:$PATHsource ~/.bashrcgit clone https://codeberg.org/pswilde/gts_emoji_importer.gitcd gts_emoji_importernimble build# 找不到fedi_auth就运行nimble install https://codeberg.org/pswilde/fedi_auth & nimble build
偷远程表情包(出错了)
cd bin# gts_emoji_importer --home=myinstance.com --remote=remote.com./gts_emoji_importer --home=gts.feddit.social --remote=myce.li点击链接获得token的链接一定要手动复制,因为read和write之间有空格,导致链接不会包括 write权限导致不够无法上传emoji然后粘贴token即可但是我这里还是无法拉取emoji...求教
导入本地表情包(还是出错了)
curl -s https://myce.li/api/v1/custom_emojis > emojis.jsoncat emojis.json | jq -r '.[] | "\(.shortcode) \(.url)"' > links.txtmkdir -p downloaded_emojis/myce_li_emojiscd downloaded_emojis/myce_li_emojiswhile read shortcode url; do echo "下载: $shortcode" curl -L -O -J "$url" 2>/dev/null || curl -L "$url" -o "${shortcode}.${url##*.}"done < ../../links.txt
漫长等待图片下载完,导入
cd ../.../gts_emoji_importer --import --home=gts.feddit.social --dir=/home/jay/gts_emoji_importer/bin/downloaded_emojis/myce_li_emojis --category="myce.li"
但是还是出现很多错误,求教!
构造admin权限url、只上传少量emoji等操作也尝试过了,还是无效
难道真的要手动一个一个上传吗
#gotosocial #mastodon #import #emoji #admin #selfhost #fediverse
Migrated from Sharkey to GoToSocial, because I wanted something more light-weight and less feature-rich (though I do have to say that Sharkey is excellent and has tons of features and control. I highly recommend it to somebody who really wants a lot from their Fediverse software). I probably sent out some unnecessary notifications by mistake while backloading my posts. Sorry about that.
I wrote this python script for doing the actual backloading. It's clunky, doesn't handle many common cases, breaks on mentions, and has tons of little flaws, but it did get the job done.
在config.yaml内将远程媒体缓存默认配置从
media-remote-cache-days 7media-cleanup-from "00:00“media-cleanup-every "24h"
修改为
media-remote-cache-days 2media-cleanup-from "00:00“media-cleanup-every "8h"
目前在Cloudflare R2的存储空间为6.26GB
等过一段时间再看看
当然也可以通过GTS Cli手动执行清理
但是我运行在docker内,不启动gotosocial_main就无法执行docker exec -it gotosocial_main sh和./gotosocial admin media prune remote
但是这个命令必须在Gotosocial未运行时起作用。
求赐教
删除孤立媒体:
./gotosocial admin media prune orphaned
If you are on a @gotosocial instance and use an iPhone, what app are you using? I used to use Metatext but it seems development had stopped a few years ago. I think the maintainer was experiencing some health issues and had to back away for a while. I absolutely love the app but, recently, I started experiencing some issues. I keep trying different apps but they just don't do a great job of supporting GoToSocial. Or, at least, I can't get the apps to support GoToSocial.
Thanks for any ideas you might have.
#GoToSocial #GTS
Hello everyone!
Here's version 0.20.2 of #GoToSocial; it's another bugfix release!
https://codeberg.org/superseriousbusiness/gotosocial/releases/tag/v0.20.2
If you're updating to this version from v0.20.0 or v0.20.1, it's a very easy update with no db migrations.
If you're updating to this version from a version before v0.20.0, please follow the update instructions from v0.20.0, but replace 0.20.0 with 0.20.2 throughout. Be aware that the update to 0.20.x contains some potentially very long migrations. Please do read the notes carefully!
Release highlights:
Roll back to using name property instead of summary for alt text (for now anyway), due to compatibility issues with *oma, *key, and Iceshrimp.
Stub authorize_interaction to avoid surprising 404 when trying to do a remote interaction.
Fix issue that was causing emojis not to download properly.
Add optional build tags for reduced binary size.
Fix some swagger docs issues.
Various other fixes + performance tweaks.
Dependency bumps.
Thanks for reading! Have a good week!
#GoToSocial will be updated to the latest version by tomorrow which will restore compatibility with #Mastodon.
We've been working on it all week, a few changes in the code have required us to make alterations to our systems and run a lot of tests and simulations.
Sorry for the delays.
neat, #GoToSocial got featured in Codeberg's latest newsletter
good sloth
#gotosocial listed in the #codeberg community spotlight
https://blog.codeberg.org/letter-from-codeberg-onwards-and-upwards.html
We’re about to start the upgrade to #GoToSocial v0.20.2.
This is a big update, so your instance may go offline and come back a few times. That’s completely normal for an update of this size. Things might take a bit longer than usual, but everything will return to normal once the upgrade is finished.
To see what's new:
https://codeberg.org/superseriousbusiness/gotosocial/releases/tag/v0.20.0
All #GoToSocial instances have been updated to v0.20.2 !
Thank you for your patience.
got distracted by #Wrapstodon but back to #GotoSocial interaction requests
Rochaverso Stats
Daily 2024-09-23 
Summary
7415 requests/hour
123 requests/minute
10GiB Network Traffic / day
590MB average RAM
1.8% average CPU
5 DAU
uptime 100%
Requests
177.980 Total Requests Processed
139.220 GET
24.594 POST
Platforms
145.706 #Mastodon
2579 #Akkoma
1173 #GoToSocial
698 #Friendica
498 #Misskey
424 #Pleroma
236 #Iceshrimp
73 #GNUSocial
65 #Firefish
22 #snac2
16 #Mitra
8 #WordPress
Instances
29.739 mastodon . social
22276 bolha . one
18717 hachyderm . io
11606 fosstodon . org
8598 ursal . zone
3123 bolha . us
1331 masto .donte .com . br
1278 panelinha .club
...
This report has been generated with LNAV log analyzer
为GoToSocial添加自定义表情包 
下载表情包: 
各种小表情meme,动态静态都有:https://slackmojis.com/
哔哩哔哩Lv0到Lv6硬核会员:https://i0.hdslb.com/bfs/seed/jinkela/short/webui/user-profile/img/level_0.svg - https://i0.hdslb.com/bfs/seed/jinkela/short/webui/user-profile/img/level_h.svg
哔哩哔哩表情包(付费那种,而且还在更新):https://github.com/ccmuyuu/bilibili-emotes 适合搭配 https://minhaskamal.github.io/DownGit/#/home 下载目录
风格化的表情,主要还是类似emoji而非表情包: https://mutant.tech/
蓝豆表情包,适合抽象人士: https://bluemoji.io/
表情符号资源网站: https://emojipedia.org/
主要是颜文字,复制粘贴很方便: https://emojidb.org/meme-emojis
用豆包的seedream AI生成N创表情包: https://www.doubao.com/chat/create-image
压缩处理表情包: 
各种图片,我常用于处理GIF:https://imagestool.com/
专业处理GIF:https://ezgif.com/
主要用于处理非动态图片,效果特别好:https://squoosh.app/
从其他服务器“窃取”表情包: 
一个用于从本地目录或远程实例将自定义表情符号导入 GoToSocial 的小工具: : https://codeberg.org/pswilde/gts_emoji_importer
#gotosocial #mastodon #fediverse #bilibili #ezgif #mygo #mujica #imagestool #ezgif #gif #png #jpg #webp #squoosh #icon #logo
@board
明快打字机的前世今生 
我一定要造一部打字机,使我可以真正的打字
——林语堂
今天突然看到何同学在YouTube上2025年10月14日发布的视频,这个视频其实在2023年就看过了,在今天又遇见,仿佛在看一个全新的视频一样。
我找到了明快打字机的专利网站:patents.google.com
三级滚筒系统
大油桶上装着6个中滚筒,每个中滚筒装着6个小滚筒,就如图3所示(图三、图四)
每个小滚筒有八面
每面上又有20个字模(图5),而明快是29个字模(图6明确数出来了确实是29)
所以明快可以打出668*29=8352个字模
魔眼装置
要打“呼”字,先打“口”再打“竖钩”,然后就会到小滚筒的某一节上,前面说了每个小滚筒有八面,所以一般有八个有“口”有“竖钩”的汉字,(所以我觉得6629*8=8352更符合直觉)这使用了林语堂自己发明的”上下型检字法“(图8)
我觉得更奇妙的是还有个预览滚筒(图7)
大滚筒上处于打印位置的八个字;
就是预览滚筒上被放大的八个字;
然后按键盘下的”87651234“8个按键中的一个,就可以选择正确的字。
声旁+形旁
8352个字模里,有7000左右是可以直接打出来的,剩下的是偏旁(70声旁+1300个形旁)
比如情,通过打声旁”竖心旁“和形旁”青“
所以这样就可以很轻松的通过组合打出字!甚至可以打出生僻字,自创汉字!
猜, 睛, 精, 倩, 清, 请, 晴, 情,等等等等
所以经过简单排列组合就是70X1300=91000个字
林语堂在1947年发明的明快打字机的故事。(视频前期主题)
这台打字机能够打9万个字,解决了汉字数量多的问题。它通过三级滚筒结构和上下行检字法实现。(视频中期主题)
尽管这台打字机设计巧妙,但由于成本过高,未能量产,林语堂也因此负债。(视频后期主题)
注意:何同学在YouTube的视频中删减添加了很多的片段
关于明快打字机下落消息(2025.1)
明快打字机原型被找到
Facebook原地址
reddit-唯一一台明快中文打字机原型机已被找到
按照reddit的说法:
这台打字机是纳尔逊·费利克斯在他妻子祖父家的地下室里发现的,他首先将其发布到了一个 Facebook 群组中。
明快打字机是第一台使用键盘的中文打字机。它由林语堂发明,于1947年5月22日首次生产。它是当时速度最快的中文打字机,熟练的打字员平均每分钟可以打出约50个字,即使是未经训练的用户也能达到每分钟20个字的速度。
林德森委托卡尔·E·克鲁姆公司制造了一台定制原型机。在研发过程中,他背负了巨额债务,最终未能将打字机商业化。1948 年,默根塔勒·林诺打字机公司从林德森手中买下了这款打字机的专利权。该公司也收购了那台原型机,据说后来将其丢弃了。
视频信息(2025.11.29)
Youtube We Built a Chinese Typewriter.. 1,105,163次观看
Bilibili【何同学】我们做了一台中文打字机... 1675.1万
维基百科:
其他图片来源:
https://news.stanford.edu/stories/2025/05/mingkwai-chinese-typewriter-prototype-stanford-libraries
https://patents.google.com/patent/US2613795A/en
https://tool.yzitc.com/ytb/
https://tool.yzitc.com/bili/
@board @worldboard
#youtube #bilibili #哔哩哔哩 #林语堂 #LinYutang #MingKwai #明快打字机 #Chinese_typewriter #patent #何同学 #HTX #TechArchaeology #MechanicalMarvel #Chinese #History #fedi #gotosocial #fediverse #mastodon
I host my own Phanpy but there's a feature in dev (automatically populate alt-text if it's embedded in images, yessss!!!) I really want. So, I finally setup a build container for @phanpy and a small script to extract out the static folder so I can continue serving it out via Caddy. I wrote a quick post about it, I'm sure there are better and more idiomatic ways of doing this, so advice is welcome.