home.social

#libp2p — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #libp2p, aggregated by home.social.

fetched live
  1. librats: Выпуск версии 2.1.x (библиотека для распределённых P2P-приложений). Так же релиз rats-search 2.1.7 и rasync

    Всем привет! Я продолжаю развивать свою библиотеку для создания распределённых приложений. Она уже легла в основу новой версии rats-search (распределённый торрент-поисковик) и rasync (синхронизация папок, файлов и исходников между устройствами), а также, судя по всему, используется в UltraVNC (VNC-клиент). Библиотека позволяет развернуть собственную P2P-сеть, связать пользователей между собой и выстроить обмен данными через потоки разных типов — бинарные, строковые и другие. Главная особенность — автоматическое обнаружение участников (peer discovery), что особенно актуально в условиях постоянных блокировок и сетевых ограничений. На данный момент поддерживаются C/C++, Java (Android), Python и Node.js. Это очередное обновление: ещё больше стабильности в работе различных функций, значительно улучшены протоколы DHT и BitTorrent. Обо всём подробнее — далее. Последний стабильный релиз на сегодня — 2.1.5 . Исходный код и собранные бинарные файлы доступны для:

    habr.com/ru/articles/1066186/

    #C++ #librats #p2p #синхронизация #libp2p #dht #mdns

  2. Then I wrote my first post about hosting behind NAT using open-chat-federation built with #libp2p; things were functioning but convoluted and unclean.

    blog.t1m.me/blog/breaking-thro

    Then at the beginning of this year, I tried to turn its re-implementation into a master's thesis proposal; I still like the proposal; didn't manage to convince a professor to let me write it as my thesis yet though ;)

    Still thinking such a #VPN system would be awesome to have for many reasons.

    (2/2)

  3. My Idea for a Decentralized P2P VPN Protocol and a botched master's thesis proposal attempt.

    blog.t1m.me/blog/designing-a-d

    Some know that I'm still trying to finish my master's @rwth while working full-time @littleworld Well, I have been tinkering and exploring #peer2peer #p2p systems for a while and am quite intrigued by the decentralized, independent nature. Then sometime last year, when I was getting into #golang I started building with #libp2p

    (1/2)

  4. librats: Выпуск версии 1.0.x (библиотека для распределённых P2P-приложений). Так же релиз rats-search 2.0.28

    Всем привет! Я продолжаю развивать свою библиотеку для создания распределённых приложений, которая уже легла в основу новой версии rats-search (распределённого торрент-поисковика) и, судя по всему, UltraVNC (VNC клиент). Она позволяет развернуть собственную P2P-сеть, связать пользователей между собой и выстроить коммуникацию посредством различных потоков данных (бинарных, строковых и т.п.). Главная особенность — автоматическое обнаружение участников ( peer discovery ), что крайне актуально в условиях постоянных блокировок и сетевых ограничений. На данный момент библиотека поддерживает языки C/C++, Android (Java), Python и Node.js (Javascript). Это очередное обновление и ещё большая стабилизация различных функций. Обо всём подробнее далее. Последний стабильный релиз на сегодня — 1.0.0 . Исходный код и бинарные файлы доступны для скачивания c github.

    habr.com/ru/articles/1043370/

    #c++ #p2p #p2pсети #librats #libp2p #javascript #python #mdns

  5. NAT traversal в embedded P2P-мессенджере на Go: почему overlay routing, а не STUN/TURN/ICE

    NAT traversal в embedded P2P-мессенджере на Matrix-протоколе. Стек: форк Dendrite, Pinecone overlay routing, gomobile bind. Разбор почему overlay routing, а не STUN/TURN/ICE или libp2p, и где этот подход начинает течь.

    habr.com/ru/articles/1043134/

    #nat_traversal #p2p #matrix #overlay_routing #gomobile #pinecone #webrtc #libp2p #dendrite #stun

  6. Приватная Cвязь на Go и Flutter

    Пока все обсуждают очередные сливы баз и особенности модерации в популярных «безопасных» мессенджерах, решил попробовать пойти другим путем. В этой статье рассказываю, как я скрестил Flutter и Go через CGO, прикрутил libp2p для создания P2P-сети и реализовал честное E2EE шифрование (Double Ratchet для личек и MLS для групп). Никакой централизации, никаких единых точек отказа. Делюсь результатами эксперимента.

    habr.com/ru/articles/1025202/

    #Go #Flutter #P2P #libp2p #децентрализация #мессенджеры #сквозное_шифрование #Double_Ratchet #MLS #max

  7. Mochi 0.3 is out. It's a federated platform for distributed apps: feeds, forums, projects, CRM, wikis, git hosting, and P2P chess/Go/word games. Anyone can run their own server. Anyone can create and publish apps.

    mochi-os.org

    0.3 brings full app sandboxing, a new Projects (kanban/ticket system) app, CRM app, git repository hosting, AI tagging and scoring for feeds and forums, and hundreds of smaller improvements.

    #Mochi #Distributed #P2P #SelfHosted #Golang #libp2p

  8. Mochi 0.3 is out. It's a federated platform for distributed apps: feeds, forums, projects, CRM, wikis, git hosting, and P2P chess/Go/word games. Anyone can run their own server. Anyone can create and publish apps.

    mochi-os.org

    0.3 brings full app sandboxing, a new Projects (kanban/ticket system) app, CRM app, git repository hosting, AI tagging and scoring for feeds and forums, and hundreds of smaller improvements.

    #Mochi #Distributed #P2P #SelfHosted #Golang #libp2p

  9. #introduction

    Hello! I'm Alistair, developer of Mochi, a decentralised application platform. It's built with Go, libp2p, Starlark, and React. It ships with lots of apps such as feeds, forums, project management, CRM, and wikis. We're launching version 0.3 soon, and looking for early adopters who aren't afraid of rough edges.

    mochi-os.org

    Outside of coding: long-term traveller (141 countries and counting), pilot, sailor, and hiker.

    #Decentralization #P2P #SelfHosted #Golang #libp2p

  10. #introduction

    Hello! I'm Alistair, developer of Mochi, a decentralised application platform. It's built with Go, libp2p, Starlark, and React. It ships with lots of apps such as feeds, forums, project management, CRM, and wikis. We're launching version 0.3 soon, and looking for early adopters who aren't afraid of rough edges.

    mochi-os.org

    Outside of coding: long-term traveller (141 countries and counting), pilot, sailor, and hiker.

    #Decentralization #P2P #SelfHosted #Golang #libp2p

  11. @jabster28 yeah but headscale is quite limited (os tailscale server ). And I dont like the thought of a central control node.
    This setup would be static / my nix config can know all nodes at all times so perfekt for wireguard in my op.

    Actually in my #openchat project i've integrated #libp2p and it can do something similar to tail schale without central control ( bit that ainr far enough / stable enough yet ). Also cool thing to check in that space is edgevpn also libp2p based vpn.

  12. Also #OpenChat made some developments.
    A major re-structure of the core apis - based on past iterations and tests - is planned.
    Clean formalization of the #libp2p based federation api's is also planned ( de-central p2p vpn spec )

    #openchat should seamlessly connect any '#ai' components, web-servers, or hardware.
    Still hope #llm to become a commodity; Can def say I'm positively surprised my capabilities of #Opensource models today!

    Checkout my Test on 'strix-halo': blog.t1m.me/blog/local-llms-on

  13. librats: Выпуск версии 0.7.x (новая библиотека для распределённых P2P-приложений). Так же релиз rats-search 2.0

    Всем привет! Я продолжаю развивать свою библиотеку для создания распределённых приложений, которая уже легла в основу новой версии rats-search (распределенного торрент-поисковика). Она позволяет развернуть собственную P2P-сеть и связать пользователей между собой. Главная особенность — автоматическое обнаружение участников (peer discovery), что крайне актуально в условиях постоянных блокировок и ограничений сети. На данный момент библиотека поддерживает языки C/C++, Android (Java), Python и Node.js . С момента выхода прошлой статьи накопилось много приятных изменений, о которых я и хочу рассказать. Кроме того, в этот раз я затрону и сам rats-search новой версии. Последний стабильный релиз на сегодня — 0.7.0 . Исходный код и бинарные файлы доступны для скачивания для:

    habr.com/ru/articles/991190/

    #bittorrent #сетевые_технологии #c++ #javascript #python #p2p #libp2p #librats

  14. Pears, birds and peer to peer
    How does pears.com, p2panda and libp2p compare?

    I found pears a couple of days ago, when a fellow hacker from POuL highlighted me keet.io, a peer to peer chat application. They promise

    No middlemen, no metadata, no surveillance, just direct encrypted chats with people you trust.

    Nice try dudes. Too bad Keet is proprietary softwar
    monodes.com/predaelli/2026/01/
    #Ethics #libp2p #p2p #p2panda #pearscom

  15. Pears, birds and peer to peer
    How does pears.com, p2panda and libp2p compare?

    I found pears a couple of days ago, when a fellow hacker from POuL highlighted me keet.io, a peer to peer chat application. They promise

    No middlemen, no metadata, no surveillance, just direct encrypted chats with people you trust.

    Nice try dudes. Too bad Keet is proprietary softwar
    monodes.com/predaelli/2026/01/
    #Ethics #libp2p #p2p #p2panda #pearscom

  16. librats: Выпуск версии 0.5.x. Ускорение поиска пиров, алгоритм spider, поддержка JavaScript, Python и многое другое

    Привет! Работа над ядром поисковика rats-search продолжается. Новая версия библиотеки librats (v0.5.3) приносит важные архитектурные улучшения для построения распределенных сетей в условиях NAT и блокировок. Ключевые изменения: Унифицированный API (FFI): Завершена интеграция с Node.js. В отличие от фрагментированных реализаций libp2p, librats предоставляет идентичный набор функций для C++, Python, Node.js и Android через FFI. Эффективный DHT: Реализован алгоритм Spider для прибегания с сбора announce. Добавлена поддержка branch-factor и маршрутизации на основе задержек (RTT-routing). Персистентность: Routing-таблицы сохраняются при перезапуске, что критически важно для связности сети в сложных сетевых условиях. BitTorrent: Значительный рефакторинг и оптимизация модуля. Платформы: Windows (x64), Linux (x64), Android (32/64), macOS (x64).

    habr.com/ru/articles/976366/

    #сетевые_технологии #p2p #p2pсети #libp2p #librats #ffi #блокировки #dht #mdns #с++

  17. librats: новая C++ библиотека для распределённых P2P-приложений

    Всем привет! Я являюсь создателем распределённого поисковика rats-search на базе DHT (

    habr.com/ru/articles/943652/

    #p2p #p2pсети #libp2p #rats #dht #mdns #c++ #c++17 #java #javascript

  18. P2P на Go: библиотека libp2p

    Привет, Хабр! Сегодня рассмотрим библиотеку libp2p в Go. libp2p — это модульная библиотека для построения P2P-сетей. Libp2p выросла из проекта IPFS , но теперь активно используется в блокчейнах, мессенджерах и других децентрализованных приложениях. Главная фича библиотеки — она даёт возможность полностью контролировать P2P-коммуникации. Libp2p разделена на несколько модулей, которые можно подключать по мере необходимости.

    habr.com/ru/companies/otus/art

    #golang #программирование #libp2p #модульная_библиотека #p2p_сети

  19. Реализация Peer-to-Peer сетей на Rust: создание протокола обмена файлами с помощью libp2p

    Привет, Хабр! Сегодня я расскажу, как на Rust создать собственный протокол обмена файлами, используя библиотеку libp2p .

    habr.com/ru/companies/otus/art

    #rust #PeertoPeer_сети #libp2p #протокол_обмена_файлами

  20. This one has kind of an insane deadline (June 10) -- but if you're interesting in exploring how to contribute to open source software, are interested in #libp2p #ipfs etc, and want a little money on the side, applications are open for the first Protocol Labs Dev Guild!

    This is "cohort 0" so I suspect it will be a bit bumpy. I'm going to apply myself, but if you don't mind being a guinea-pig along with me, here's the link: ecosystem-wg.notion.site/PL-De

  21. This one has kind of an insane deadline (June 10) -- but if you're interesting in exploring how to contribute to open source software, are interested in #libp2p #ipfs etc, and want a little money on the side, applications are open for the first Protocol Labs Dev Guild!

    This is "cohort 0" so I suspect it will be a bit bumpy. I'm going to apply myself, but if you don't mind being a guinea-pig along with me, here's the link: ecosystem-wg.notion.site/PL-De

  22. Hey, have you done something cool, and open source/for the public good on using #libp2p in the last year ? Then you can apply to get retroactively rewarded for your 2023/2024 citizenshipness in this LibP2P retroactive public good funding run. US$125K is being given out blog.libp2p.io/2024-04-08-libp . Retoot at will!

  23. Hey, have you done something cool, and open source/for the public good on using #libp2p in the last year ? Then you can apply to get retroactively rewarded for your 2023/2024 citizenshipness in this LibP2P retroactive public good funding run. US$125K is being given out blog.libp2p.io/2024-04-08-libp . Retoot at will!

  24. if you're using and trying to transition away from it, our professional services team is ready to help you — at no charge.

  25. if you're using #libp2p and trying to transition away from it, our professional services team is ready to help you — at no charge. #p2p

  26. Cool thing in the #IPFS and #libp2p ecosystem is #IPNSLink ipnslink.com/

    tl;dr: Run a server somewhere (like at home), generate a public key for it's identity. Users can access it from either the p2p network directly or any gateway that will automatically route to it.

    No need for dns or messing with ip addresses.

    I'm thinking it could be handy for #SocialInbox users that want to self host at home on their pc.

  27. Cool thing in the #IPFS and #libp2p ecosystem is #IPNSLink ipnslink.com/

    tl;dr: Run a server somewhere (like at home), generate a public key for it's identity. Users can access it from either the p2p network directly or any gateway that will automatically route to it.

    No need for dns or messing with ip addresses.

    I'm thinking it could be handy for #SocialInbox users that want to self host at home on their pc.

  28. About 6 months in, we uncovered so many design and reliability problems with Hyperswarm we decided to abandon it entirely and look at .

    To our surprise, it wasn’t able to handle most kinds of NAT traversal, it was a huge code base, it was extremely complex, and had no actual spec. In fact, nothing in the P2P space had a spec. We started sweating bullets. Was it all bullshit? Did no one know what they were doing?

  29. About 6 months in, we uncovered so many design and reliability problems with Hyperswarm we decided to abandon it entirely and look at #libp2p.

    To our surprise, it wasn’t able to handle most kinds of NAT traversal, it was a huge code base, it was extremely complex, and had no actual spec. In fact, nothing in the P2P space had a spec. We started sweating bullets. Was it all bullshit? Did no one know what they were doing?

  30. Congrats to the only real #serverless #database #OrbitDB for reaching v1.0!

    "OrbitDB is a serverless, distributed, peer-to-peer database. OrbitDB uses #IPFS as its data storage and #Libp2p #Pubsub to automatically sync databases with peers. It's an eventually consistent database that uses #Merkle-#CRDTs for conflict-free database writes and merges making OrbitDB an excellent choice for #p2p and decentralized apps, blockchain applications and #localfirst #webapps."

    github.com/orbitdb/orbitdb/pul

  31. @sofia
    Yeah, #libP2P might be an option, or #Yggdrasil, for a tunnel. Alternatively, something like @delta's #webXDC could be useful, though I've never tried it. (I hear there's work to support it in #XMPP apps like @cheogram and @monocles too.)

  32. say i'd like to make a multiplayer game/application using web technology, what are my best chances for achieving this without running a server? #WebRTC still needs a signaling server, but maybe someone else can let me use their signalis server for my app somehow?

    alternatively maybe something like #libP2P can be used locally to create a tunnel of sorts?

  33. Does someone have a tutorial on #libp2p ?

    I fail to understand things. 👀

  34. I'm on a train today for about 6 hours.

    I think I will write up my thoughts on my #libp2p #ipfs #rust project that I want to start...

    Probably on my blog though, not here because it will be rather long-form.

  35. Ok I am almost convinced that I will start another try with #iced and #libp2p ... I hope I can make it to a first prototype.

    Probably should make a plan.

  36. So #libp2p looks interesting.

    Maybe I should play with it in my free time. It would be much more effort to get a prototype running with #libp2p, but I guess all the required bits are there 🤔

    Maybe I _do_ need the vacation days I have left this year 😆

  37. Hm, maybe I do not need #ipfs but can build my app directly on #libp2p ?

    Not sure yet, and also not sure about the #rust implementation, but at least there is one...

  38. CW: Technical stuff about #P2P #XMPP over #yggdrasil

    I like XMPP, and I also like #peerToPeer things. So why not both at once?

    Yggdrasil gives you a stable IP address, and it turns out that the domain part of an XMPP address can be just a [bracketed] IPv6 address, meaning you can have a stable XMPP address, without buying DNS entries, regardless of whether or how often you change how you're connected to the internet.

    As an experiment, I tried setting up #Prosody to run on such an address, on my desktop and on my phone. And it worked!

    All I needed to change in the default configuration file was the VirtualHost line and the s2s_secure_auth line (setting it to false, so that they would accept each others' self-signed certificates, which is ok, because yggdrasil takes care of the end-to-end authentication and encryption). I also had to persuade each operating system that its own self-signed certificate was legit, so that #Dino on the same machine would be willing to accept it, to sign me in.

    And with that, I could send myself peer-to-peer XMPP messages, and it carried on working seamlessly even when I switched my phone's WiFi off, leaving it to connect via its mobile data connection, which is a #CGNAT IPv4 address.

    Having seen #libp2p try and not yet succeed in CGNAT holepunching, I'm really impressed by how easy it was to get yggdrasil to make the CGNAT barrier effectively disappear.

    Cc: @neilalexander, @prosodyim @dino