romanzolotarev.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
/pub
Admin account
@hi@romanzolotarev.com

Search results for tag #snac2

1 ★ 0 ↺

[?]roman » 🌐
@hi@romanzolotarev.com

can't click on a handle, but can follow @你好@i18n@mastodon.social.viii.fi ok


    [?]ltning » 🌐
    @ltning@wii.cafe

    Well, this kinda blew up a bit. My original post here[1] has so far seen well over a hundred boosts, a new personal best :D

    It has been suggested it is time to detail a bit about the configuration of this beast. Let's start with the basics: This is a straight-up 11rc2 installation on a stock . Many people have detailed how to install it, but one useful source of information is Alex Haydock's blog[2], and of course the NetBSD release documentation. The kernel config[3] is modified slightly from the default WII in an attempt to save a bit of memory.

    Building was straight forward; no difference from building on i486 or i686. Simply make and make install, with the -f Makefile.NetBSD (the NetBSD-specific makefile is included with the snac sources).

    Since snac won't do TLS for inbound connections, a TLS proxy is needed. My go-to nginx isn't in the 11rc2 PPC package repository at the time of writing, so I built it from pkgsrc myself. This only took a couple of hours.. But alas, it's a bit too memory hungry for my taste, even with a minimal configuration.

    Next up, I found ttp[4]. It is a very small and simple proxy server, which works fine but cannot serve static files, nor does it support TLS 1.3. It is also incapable of dropping privileges, and since I want to run it as nobody I had to find a different way to pass port 443 traffic to it.

    Luckily, NetBSD has npf, a built-in firewall that can do NAT and which is fairly easy to configure (at least with the usual good documentation and examples included). Picking up port 443 and NATing it to a high port for ttp to handle worked fine - and allows me to easily move traffic from one TLS proxy to another while I experiment.

    TTP wasn't without problems - but they turned out to not be entirely its fault. I kept getting connection failures and snac kept exiting for no obvious reason.

    After some fiddling around, the snac author suggested[5] that I was running out of file handles, which is indeed the case. Adding ulimit -n 1024 to /etc/rc.d/snac solved that issue as well.

    Then my thoughts landed on an old acquaintance of mine - pound[6]. This is a reverse proxy with good TLS support, and recent versions can even serve static files in a fairly simple way. After a couple of bug reports, lots of help by the current maintainer, and some more fiddling, I got the most recent versions to build. Once the next release drops (4.21), I'll have a go at doing my first pkgsrc port update :)

    The pound configuration[7] now seems to be fairly complete, even keeping out most random scanning attacks (yes, they have already started).

    [1] https://wii.cafe/ltning/p/1773014130.033156
    [2] https://blog.infected.systems/posts/2025-04-21-this-blog-is-hosted-on-a-nintendo-wii/
    [3] https://anduin.net/~ltning/WII_TINY
    [4] https://github.com/Theldus/ttp
    [5] https://codeberg.org/grunfink/snac2/issues/576
    [6] https://www.gnu.org.ua/software/pound/manual/index.html
    [7] https://anduin.net/~ltning/pound/wiicafe_pound.tgz

    Screenshot of htop running on the Wii. pound and snac processes both hovering between 1 and 2 MB resident memory.

    Alt...Screenshot of htop running on the Wii. pound and snac processes both hovering between 1 and 2 MB resident memory.

      3 ★ 1 ↺
      Aslak Raanes boosted

      [?]roman » 🌐
      @hi@romanzolotarev.com

      fun fact, every time i post something here it takes about a minute for to propagate my message to your instances.

      from the first to last, excluding timeouts (they get requeued for later)

      Mar 13 13:15:53 s2 snac[69343]: 13:15:00 output message: sent to inbox ... (202 Accepted)
      ...
      Mar 13 13:15:53 s2 snac[69343]: 13:15:53 output message: sent to inbox ... (202 Accepted)

        0 ★ 1 ↺

        [?]roman » 🌐
        @hi@romanzolotarev.com

        @gumnos@bsd.cafe dillo is cute, but that's a bit too minimalist even for :)

          1 ★ 0 ↺

          [?]roman » 🌐
          @hi@romanzolotarev.com

          1 ★ 1 ↺
          Vaasco boosted

          [?]roman » 🌐
          @hi@romanzolotarev.com

          weekly report:

          • users: 2 (incl. relay)
          • following: 122
          • timeline_purge_days: 1
          • file count: 15687
          • inode count: 14090
          • size on disk: 70.3mb (incl. 53.1mb of data, mostly *.json)
          • core dumps: 3 (added rcctl restart snac in crontab for now)

            roman boosted

            [?]amilatled » 🌐
            @amilatled@snac.la10cy.net

            Hello from an old year 1997 Machine!
            This snac server is now running on a Micronics Spitfire with 2x Pentium II @ 233MHz and 512MB SD-RAM. Operating System is NetBSD 10.1, installed on a 120GB SSD (SATA->IDE converter)

            OpenBSD wasn't able to run snac stable on this machine, it crashed after a few requests with "illegal instruction".


            Open 19" 90's rack Case with a green motherboard in it and old grey ribbon cables connected to a dvd drive and a ssd. there are two addon cards in the pci slots and two slot 1 pentium ii cpus with fans installed. The 4:3 screen shows a fastfetch output giving stats of the machine , an htop screen with two cpu usage graphs and snac log

            Alt...Open 19" 90's rack Case with a green motherboard in it and old grey ribbon cables connected to a dvd drive and a ssd. there are two addon cards in the pci slots and two slot 1 pentium ii cpus with fans installed. The 4:3 screen shows a fastfetch output giving stats of the machine , an htop screen with two cpu usage graphs and snac log

            green motherboard with two pentium ii slot 1 cpus

            Alt...green motherboard with two pentium ii slot 1 cpus

              9 ★ 9 ↺

              [?]roman » 🌐
              @hi@romanzolotarev.com

              if you're running , you may want to try my style.css. let me know what you think.

              please boost ❤️

                17 ★ 6 ↺

                [?]roman » 🌐
                @hi@romanzolotarev.com

                two weeks of running

                number of files generated by snac is huge, but i don't care that much anymore.

                $ du -hd0 /var/snac
                133M /var/snac
                $ find /var/snac | wc -l
                35603
                i like snac a lot: i run my own server and client, i can modify css (and i do tweak it often, i can modify the source code---didn't get to that yet ;)

                sometimes i use snac command line, but mostly snac web ui and nothing else.

                someday maybe i'll try to build some minimalist server, but looks like a lot of work :)

                see also
                activitypub-single-php-file by @Edent@mastodon.social

                  3 ★ 0 ↺

                  [?]roman » 🌐
                  @hi@romanzolotarev.com

                  well, that one day is today... here is my complete styles.css:

                  html { font: 20px sans-serif; max-width: 40rem; padding: 0.4rem; }
                  img { max-width: 100%; border-radius: 0.4rem; }
                  for i still have like a hundred lines of css, but i think i can ditch at least a half of it

                    1 ★ 0 ↺

                    [?]roman » 🌐
                    @hi@romanzolotarev.com

                    how do you rotate keys for a user on a instance?

                    i understand you need to generate a new keypair and then sign your new public key with old one and propagate to the network... how do you practically do that?

                    cc: @grunfink@comam.es

                      5 ★ 0 ↺

                      [?]roman » 🌐
                      @hi@romanzolotarev.com

                      upgraded

                        4 ★ 2 ↺

                        [?]roman » 🌐
                        @hi@romanzolotarev.com

                        @grunfink@comam.es https://social.anoxinon.de/@codebergstatus/116086080296752717

                        heavy traffic caused by people updating their instances :)

                          4 ★ 0 ↺

                          [?]roman » 🌐
                          @hi@romanzolotarev.com

                          \o/

                          yay! looking forward to updating my server tonight

                            1 ★ 0 ↺

                            [?]roman » 🌐
                            @hi@romanzolotarev.com

                            i'm still fine-tuning snac.css, but it's already feeling great. i hadn't realized how much the styling would matter to me. i'm enjoying using so much more now

                              7 ★ 3 ↺
                              passthejoe boosted

                              [?]roman » 🌐
                              @hi@romanzolotarev.com

                              made my instance pretty. now i feel like i don't need any 3rd party clients. works for me on small and large screens, in the sunlight and in the dark. total cost—10kb of

                              @grunfink@comam.es, thanks again for snac ❤️

                                3 ★ 0 ↺

                                [?]roman » 🌐
                                @hi@romanzolotarev.com

                                drafted snac.css

                                • few colors
                                • default fonts and everything
                                • large high contrast font for content
                                • small fonts for controls
                                • dark and light color schemes
                                • big and small screens
                                • works with styles from my site
                                please note, it's just a draft.

                                updated /var/snac/data/server.json

                                  "cssurls": [ "/style.css", "/snac.css" ],
                                while keeping /var/snac/data/styles.css empty, otherwise snac re-creates it with default styles... :)


                                  4 ★ 0 ↺

                                  [?]roman » 🌐
                                  @hi@romanzolotarev.com

                                  @geffrey@id.geff.re installing and talking to people online, i guess

                                    4 ★ 2 ↺

                                    [?]roman » 🌐
                                    @hi@romanzolotarev.com

                                    two days later, but with relays connected (with daily purge)

                                    +260% file count
                                    +16% space

                                    $ du -hd0 /var/snac/data && find /var/snac | wc -l
                                    71.5M /var/snac/data
                                    26230
                                    still okayish for a project

                                      5 ★ 0 ↺

                                      [?]roman » 🌐
                                      @hi@romanzolotarev.com

                                      shell scripts work for templating config files and deployments at small scale.

                                      i use shell scripts to configure and deploy a few servers:

                                      • generate configuration files locally for each server (sshd, httpd, relayd, acme-client, nsd, and now )
                                      • deploy with ssh or rsync (set permissions, time)
                                      • clean up if needed
                                      • run health checks that all configurations applied correctly (testing with nc, dig, curl, etc)
                                      @h3artbl33d@exquisite.social @OpenBSDAms@bsd.cafe

                                        [?]Paul Wilde :dontpanic2: :smeghead: :archlinux: :freebsd: » 🌐
                                        @paul@notnull.space

                                        @hi ah, I question I just cannot resist!

                                        I have my own instances of #Gotosocial, #snac2, and... #honk, all for my own use.

                                        All running as jails on a FreeBSD box with an 8 core Ryzen 7 and 32GB memory, but those 3 jails, plus a couple of others only really utilise about 4-5GB.

                                          3 ★ 5 ↺

                                          [?]roman » 🌐
                                          @hi@romanzolotarev.com

                                          if you're running your own instance, i'd love to hear about it.
                                          what software are you using? ? ? ? something else?
                                          what hardware? please share whatever you find interesting about your setup. thank you ❤️

                                            23 ★ 7 ↺

                                            [?]roman » 🌐
                                            @hi@romanzolotarev.com

                                            if you prefer over , then you can subscribe to accounts by adding .rss to their urls. for example:

                                            https://romanzolotarev.com/pub/hi

                                            becomes

                                            https://romanzolotarev.com/pub/hi.rss

                                            how cool is that? 😎

                                              7 ★ 4 ↺

                                              [?]roman » 🌐
                                              @hi@romanzolotarev.com

                                              minimal setup in just two days...
                                              • 12 posts
                                              • 60 following
                                              • over 9000 files (sic!)
                                              $ du -hd0 /var/snac && find /var/snac | wc -l
                                              61.8M /var/snac
                                              9532
                                              $
                                              meanwhile feed is just 9999 bytes
                                              https://romanzolotarev.com/pub/hi.rss

                                              $ curl -s https://romanzolotarev.com/pub/hi.rss | wc -c
                                              9999
                                              thanks for great defaults and working perfectly out of the box ❤️

                                                [?]Stefano Marinelli » 🌐
                                                @stefano@mastodon.bsd.cafe

                                                The time is probably right.

                                                Back in 2022, when I was still using iOS, I wasn’t completely happy with the Fediverse apps that were available. I was mostly using Akkoma, and the interface I liked the most was actually its web UI, even on mobile. So I started playing with Xcode and put together the foundations of an app tailored to my needs.

                                                A lot has changed since then and today we have great alternatives like IceCubes, Mona, Ivory, etc. Each one has strengths and weaknesses though, so I picked up my old project again and kept pushing it forward.

                                                So I’m happy to announce that my app will finally see the light: I’ve been using it for the past few days and, in my spare time, I’m fixing bugs and adding missing features. I’m building it around my own needs, so it doesn’t have to “appeal to everyone”. I wouldn’t call it opinionated, but it’s definitely targeted.

                                                The app will have one key trait: support will be a first-class feature, not an incidental one. Many apps, especially on iOS, support snac as a side effect, but the experience is often not optimal. In this case, the choice is deliberate and it strictly follows the Mastodon API support implemented by snac. So snac will work properly (within the limits of the platform, of course).

                                                Among the features already implemented: the app is minimal and lightweight (under 10 MB, including debug code), easy on RAM, and privacy-first (for example it strips EXIF data from media before posting, so the server will never see it). On snac it also cleans up the "Boosted by Aoderelay" messages that appear when using a relay, removes the character limit, and supports posting in Markdown.

                                                I also added support for Apple Intelligence to generate alt text, both for the media I post and for media posted by others that is missing alt text.

                                                Everything is processed locally through Apple APIs and only on supported devices. The results aren't amazing, Apple Intelligence is extremely limited, but in my opinion it's the only privacy-friendly and ethical way to approach it. And of course, you can disable it.

                                                On Mastodon it supports all the main features: lists, quote posts, granular notifications (you can choose what you want for each category), notification grouping, multi-account support, and it works.

                                                It's still missing a few things (block, etc.) and has some bugs, which I’m spotting as I keep using it.
                                                As soon as it's stable enough, I'll invite a few people to test it. I still haven't fully decided how I'll distribute it: an Apple Developer account has a yearly cost, and I hope to reuse it for other projects too. So this app might be paid, with a trial period, but if possible (I still need to check what’s feasible) I'd like it to be free if you connect to one of the BSD Cafe instances, illumos Cafe, or any snac instance, including your own.

                                                I don't know how long it will take before it's ready... but I can already tell you what it will be called.
                                                It already has a name, and it's... MastoBlaster.

                                                This name was chosen for personal reasons, and also because of its similarity to Master Blaster by Stevie Wonder, which even today feels relevant and fitting for the Fediverse.

                                                Stay tuned!

                                                MastoBlaster, showing my profile on my phone

                                                Alt...MastoBlaster, showing my profile on my phone

                                                  2 ★ 0 ↺

                                                  [?]roman » 🌐
                                                  @hi@romanzolotarev.com

                                                  just found out supports a subset of markdown. this is exactly what you need! ❤️

                                                  see also
                                                  https://comam.es/snac-doc/snac.5.html

                                                    1 ★ 1 ↺

                                                    [?]roman » 🌐
                                                    @hi@romanzolotarev.com

                                                    @grunfink@comam.es is it safe to backup like this:

                                                    # rcctl stop snac 
                                                    # cd /var/snac
                                                    # tar -cpf /tmp/snac data
                                                    # rcctl start snac
                                                    then restore:
                                                    # rcctl stop snac 
                                                    # cd /var/snac
                                                    # tar -xpf /tmp/snac.tgz
                                                    # rcctl start snac
                                                    or is there a way to backup/restore while it's running?

                                                    any plans to use sqlite or some other database?

                                                    also thank you for creating . i love it!

                                                      79 ★ 12 ↺
                                                      asj boosted

                                                      [?]roman » 🌐
                                                      @hi@romanzolotarev.com

                                                      yay! moved from @romanzolotarev@mas.to

                                                      like/favorite if this appears in your feed please :)