Will talk about Linux, plants, space, retro games, and anything else I find interesting.

Also mesa@piefed.social over on Piefed.

  • 58 Posts
  • 339 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle



  • mesa@lemmy.worldtoFediverse@lemmy.worldBotKit 0.2.0 released
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    3 days ago

    Interesting:

    BotKit is a TypeScript framework for creating standalone ActivityPub bots that can interact with Mastodon, Misskey, and other fediverse platforms without the constraints of these existing platforms.

    I wish more open source projects would tell you what the thing does haha.









  • Yep take a look, theres quite a few examples, but they use Github Actions, CircleCI, Gitlab etc… etc…

    Most CI/CD that use the above-ish model will use the same kinda scripts (bash or otherwise). Basically if you can do it on your desptop, you can automate it on a server. Make it work first, then try to make it better.

    Most of the time, ill throw my Docker/Docker Compose (and/or terraform if need be) on the root of the repo and do the same steps I do on the development side for building/testing on the CI side. Then switch over to CD with either a new machine (docker build/ compose) or throw it all on a new server. At that point, if you script it out correctly, it doesnt really matter what kind of server you use for CI/CD, since they are all linux boxes at the end of the day.

    You can also mix it up by using bare metal, docker alternatives, different password managers, QA tools, linters, etc…etc…

    But virtualization will get you quite far. In my opinion start with just trying to get the project to build on another server via a script from scratch, then transfer it over to the CI. Then go with testing/deployment.

    GL!









  • I think the biggest issue is most people dont know what they are using to begin with. If you ask them, they will say they are not using Linux. While on an Android phone, with a router that may have linux (or at least some sort of nix), with servers that are likely Linux.

    They only see the base platform (like mastodon). They wont know what the fediverse is, but they are “using” it. Ive seen the phenomenon with some of the newer people to mastodon, pixelfed, etc…

    But yeah we are NOT salespeople lol. The good ones can make money selling just about anything. We are an active money sink (but thats ok).




  • import re
    
    def extract_fediverse_link(input_text):
        # Regex...should work?
        url_pattern = r"https://peertube//.wtf/[ac]/([^/]+@[a-zA-Z0-9.-]+)"
        
        # Throw it all in there
        links = re.findall(url_pattern, input_text)
    
        return links
    
    
    def process_history(history):
        lines = history.split('\n')
        
        extracted_links = []
        
        for line in lines:
            # remove date headers quick
            if re.match(r"\d{2}/\d{2}/\d{4}", line):
                continue
            extracted_links.extend(extract_fediverse_link(line))
        
        return extracted_links
    
    
    # string of links
    history_text = """
    01/02/2025
        https://peertube.wtf/c/food_and_cooking_channel@peertube.zalasur.media
        https://peertube.wtf/c/sv_seeker@lone.earth
        https://peertube.wtf/c/fiddle.gika
        https://peertube.wtf/c/dermaleon2@lone.earth
        https://peertube.wtf/c/artwork_channel@makertube.net
        https://peertube.wtf/c/stephen@tube.tchncs.de
        https://peertube.wtf/c/gamercast@videos.gamercast.net
        https://peertube.wtf/c/snstp_channel@hitchtube.fr
        https://peertube.wtf/c/root42@makertube.net
        https://peertube.wtf/c/finnvt@spectra.video
        https://peertube.wtf/c/lily_bit_music@makertube.net
        https://peertube.wtf/c/mastercrasher@video.gamerstavern.online
        https://peertube.wtf/c/bekomotion@makertube.net
    02/02/2025
        https://peertube.wtf/c/linux_vs_windows_benchmarks@video.hardlimit.com
    06/02/2025
        https://peertube.wtf/a/lyn1337@vid.northbound.online
        https://peertube.wtf/c/therman@cuddly.tube
        https://peertube.wtf/c/nicos_arcade@video.gamerstavern.online
        https://peertube.wtf/a/hikingdude@video.infosec.exchange
        https://peertube.wtf/a/fedora@peertube.linuxrocks.online
        https://peertube.wtf/a/itguyeric@peertube.linuxrocks.online
        https://peertube.wtf/a/sarah.louise@blurt.media
        https://peertube.wtf/a/nerdykeith@spectra.video
        https://peertube.wtf/a/mynamestee@spectra.video
        https://peertube.wtf/c/hotel_breakfast_review@spectra.video
        https://peertube.wtf/c/mezzostreams_vod@pt.mezzo.moe
        https://peertube.wtf/c/makingwaves@video.katehildenbrand.com
        https://peertube.wtf/c/katehildenbrand@video.katehildenbrand.com
    12/02/2025
        https://peertube.wtf/c/veronicaexplains@tinkerbetter.tube
    14/02/2025
        https://peertube.wtf/c/classx@blurt.media
        https://peertube.wtf/c/more_fun_making_it@makertube.net
        https://peertube.wtf/c/tech@dalek.zone
        https://peertube.wtf/c/submedia_channel@kolektiva.media
        https://peertube.wtf/c/sdemp@makertube.net
        https://peertube.wtf/c/andijah_channel@rankett.net
        https://peertube.wtf/c/learn_together@video.mycrowd.ca
    22/02/2025
        https://peertube.wtf/c/ashywolf@spectra.video
    25/02/2025
        https://peertube.wtf/c/first_2_hours@peertube.2tonwaffle.com
        https://peertube.wtf/c/independent_creator_podcast@peertube.2tonwaffle.com
        https://peertube.wtf/c/indie_creator_hub@peertube.2tonwaffle.com
    11/03/2025
        https://peertube.wtf/c/tripleiris
        https://peertube.wtf/c/forgottentunes
    14/03/2025
        https://peertube.wtf/c/bk
    16/03/2025
        https://peertube.wtf/a/emperor@video.infosec.exchange
    09/04/2025
        https://peertube.wtf/a/anubis2814a@peertube.stream
    10/04/2025
        https://peertube.wtf/a/firesidefedi@video.firesidefedi.live
        https://peertube.wtf/c/tech@video.firesidefedi.live
        https://peertube.wtf/c/games@video.firesidefedi.live
    """
    
    extracted_links = process_history(history_text)
    
    for link in extracted_links:
        print(link)
    

    exports:

    food_and_cooking_channel@peertube.zalasur.media
    sv_seeker@lone.earth
    dermaleon2@lone.earth
    artwork_channel@makertube.net
    stephen@tube.tchncs.de
    gamercast@videos.gamercast.net
    snstp_channel@hitchtube.fr
    root42@makertube.net
    finnvt@spectra.video
    lily_bit_music@makertube.net
    mastercrasher@video.gamerstavern.online
    bekomotion@makertube.net
    linux_vs_windows_benchmarks@video.hardlimit.com
    lyn1337@vid.northbound.online
    therman@cuddly.tube
    nicos_arcade@video.gamerstavern.online
    hikingdude@video.infosec.exchange
    fedora@peertube.linuxrocks.online
    itguyeric@peertube.linuxrocks.online
    sarah.louise@blurt.media
    nerdykeith@spectra.video
    mynamestee@spectra.video
    hotel_breakfast_review@spectra.video
    mezzostreams_vod@pt.mezzo.moe
    makingwaves@video.katehildenbrand.com
    katehildenbrand@video.katehildenbrand.com
    veronicaexplains@tinkerbetter.tube
    classx@blurt.media
    more_fun_making_it@makertube.net
    tech@dalek.zone
    submedia_channel@kolektiva.media
    sdemp@makertube.net
    andijah_channel@rankett.net
    learn_together@video.mycrowd.ca
    ashywolf@spectra.video
    first_2_hours@peertube.2tonwaffle.com
    independent_creator_podcast@peertube.2tonwaffle.com
    indie_creator_hub@peertube.2tonwaffle.com
    emperor@video.infosec.exchange
    anubis2814a@peertube.stream
    firesidefedi@video.firesidefedi.live
    tech@video.firesidefedi.live
    games@video.firesidefedi.live