home.social

#localhost — Public Fediverse posts

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

fetched live
  1. Малая автоматизация

    Всем привет. Есть малая механизация, когда вы мотокультиватором типа "Крот" сажаете картошку на 20 сотках, а есть малая автоматизация, когда вам лень ставить жирный homeassiant и/или приложение от вендора с завязкой на облака и хочется пожить в уютном локалхосте. Сегодня пойдет речь про вторую. И да, важный момент - вы не планировали умный дом и не тянули провода заранее. Достаточно давно была куплена розетка "Умная розетка Wi-Fi SmartHome 2300W 10А IP20 c заземлением Gauss" в озоне, к сожалению сейчас уже не продается и непонятно продается ли она у вендора. Важно в ней то, что протокол общения там Philips WiZ, он расковырян, много скриптов на гитхабе, оттуда и подчерпнута важная информация. Сегодня мы делаем включение ее и приборов, подключенных в ней, по закату солнца в конкретной вашей локации. И выключение в 23:00. Для доосвещения рассады дома, что весной, что осенью. Пререквезиты - любой линукс хост с bash, curl, jq, netcat и доступом в интернет. Что оставляем за кадром - подключение в ваш локальный LAN, это инструкция из коробки. После подключения доступ в интернет розетке можно заблокировать, она не потеряет адрес и даже валяющаяся на полке в течении полугода сохранит подключение wifi. Итак, что делает скрипт:

    habr.com/ru/articles/1103312/

    #linux #автоматизация #localhost #shell

  2. How to run local LLMs in a container with Ollama and Podman
    A step-by-step Podman tutorial with CPU and NVIDIA GPU options, from your first volume to your first prompt. #AI #ollama #podman #linux #localhost

    allthingsopen.org/articles/run

  3. Как легко открыть запущенный локально сервис на телефоне и почему меня это выбесило

    Привет хабровчане! Обычно только читаю, а тут решил поделиться своей небольшой историей, может даже кому‑то будет полезной. Немного о себе - Senior Java Developer, работаю на удаленке и постоянно мигрирую между деревней и городом (эта часть будет важна позже). В свободное время под настроение бывает пишу простенькие программки или игры в надежде что что‑то из этого однажды выстрелит и я проснусь богатым человеком, которому больше не придется никогда работать. Теперь к сути - на работе дали мне проект по переписи китайского реакт монолита на наш спринговый с thymeleaf. Таймлиф выб выбран для простоты, и оттого что в проекте только одна страница (а нам не нужен отдельный микросервис фронта на одну страницу). Вот только эта единственная страница должна распознавать руку и работать не только с пк, но и с телефонов. На пк то всё понятно, для проверки достаточно перейти на localhost:8080 и проверяй что хочешь. Но вот для телефона не всё так просто. Вернее просто, но муторно. Покажу пошагово как это делаю я на примере одного из своих пет проектов. 1) Сперва..

    habr.com/ru/articles/1097670/

    #тестирование #android #localhost #ip #поиск_адреса

  4. Как я создал локальное хранилище и агрегатор VLESS конфигураций

    Я думаю, что все заметили, что в последнее время доступ к большинству зарубежным ресурсам и API оставляет желать лучшего. Для обычного человека потеря связи с любимыми или нужными ресурсами посреди рабочего дня — это очень неприятно. Полагаться на один зарубежный сервер стало неэффективно: узлы падают, скорость проседает. У меня у самого появилась это проблема, поэтому я захотел ее решить. Что я решил сделать, рассказываю дальше Читать дальше

    habr.com/ru/articles/1057636/

    #vless #vless+reality #whitelist #белые_списки #vpn #localhost #обход #v2ray #aggregation #open_source

  5. #AI und #localhost und äh #DIY #offline #Datenschutz

    - Dell Laptop (16 GB RAM, NVIDIA Quadro P1000 mit 4 GB VRAM)
    - LM Studio mit gemma-4-e2b-it-qat
    - mit Text-Datei gefüttert (8MB), die ich aus einem 8 Jahre Telegram-Chat extrahiert hab
    - Aufgabe: so antworten, als wäre KI ich (der System-Prompt ist etwas präziser)

    Fazit: Alles kapiert die KI nicht.
    --
    Ich: "Ich habe gehört, dass die in Krefeld einen Surfpark bauen wollen. Was ist deine Meinug dazu?"

    KI: "Ein Surfpark in Krefeld... das klingt ja nach einer ziemlich verrückten Idee! Ich meine, da muss man halt mal überlegt, ob das überhaupt passt zu dem ganzen Mist und der Atmosphäre dort [...]"

    Ich: "Es gibt einen Investor und man will eine öffentliche Fläche direkt neben der Müllverbrennungsanlage dafür dem Investor verkaufen (oder verpachten)."

    KI: "Das ist ja mal 'ne Ansage von Investoren – also direkt neben der Müllverbrennungsanlage! Da muss man halt echt über die Moral nachdenken, wenn so was in Betracht gezogen wird [...]"

  6. Un outil pour exposer une app locale en HTTPS avec un nom de domaine (local également).

    🔗 github.com/vercel-labs/portless

    #https #localhost #dev #proxy

  7. How to be K•••••d D••s (the full guide):

    1. Deploy everything directly on localhost and call it "production"
    2. Hardcode your DB password as password123 — security is for cowards
    3. Run your app on port 3000 exposed raw to the internet, no nginx, no nothing
    4. When someone asks "where's your reverse proxy?" say "I don't need that, I'm built different"
    5. No Docker because containers are "too complicated" — just npm start in a tmux session and pray
    6. Copy-paste from Stack Overflow 2014 answers and ship it
    7. When your app goes down, blame the VPS
    8. Gatekeep other devs for not knowing things you only learnt last week
    9. Call yourself a senior developer on your LinkedIn at age 19
    10. Remove anyone from the community who actually knows what they're doing — they're a threat

    #coding #developer #programming #funny #tech #humor #code #software #webdev #security #production #localhost #javascript #devlife #relatable #system #vps #linux #sysadmin #bugs

  8. @der_kleine_herr_b Wieso heißt der nicht ISO 127001, vertane Chance.

    #localhost

  9. Ah, another revolutionary CLI tool that lets you play whack-a-mole with #localhost services. 🚀 Because who doesn't love the thrill of #debugging their own computer? 🙄 Next up, a tool to tell you when your coffee is brewing. ☕️
    github.com/RasKrebs/sonar #CLItools #techhumor #softwaredevelopment #coffeeautomation #HackerNews #ngated

  10. Ach, ich hab immer via Shell geguckt, ob bei mail was bei username@localhost angekommen ist (für privaten Rechner brauch ich kein Forwarding an richtige Mail).

    Gerade der Gedanke, ich kann die einfach in Thunderbird als lokalen Ordner anzeigen. Mit Flatpak grob so

    1. Bei Flatpak Zugriff auf Ordner /var/mail erlauben
    3. `ln -s /var/mail/USERNAME "/home/USERNAME/.var/app/org.mozilla.Thunderbird/.thunderbird/CHECKMICH.default-release/Mail/Local Folders/System-Mail"

    #thunderbird #localhost #TIL

  11. Clawdbot — Self hosted AI assistant with long term memory and data sovereignty. The part which it access file system and act as the user is a concern though. docs.clawd.bot/start/showcase

  12. A port on open only to one process. Can namespaces help me?

    Let's find out.

    The idea is to MitM between my IMAP server and Claws Mail. The proxy would ignore the password and instead use with a client to authenticate me (mTLS style).

    This way, there's one less to store in RAM and accidentally exfiltrate.

    As much as I like the Claws UI, it's crashy and I don't trust its a lot. anyone :P?

  13. Собственный центр сертификации под Linux

    Для тестирования, разработки и внутреннего использования часто используются самозаверенные (самоподписанные) сертификаты . Технически такой сертификат ничем не отличается от публичного, только вместо передачи на подпись в удостоверяющий центр (УЦ) пользователь создаёт свою собственную подпись. Под Linux мы можем сгенерировать сертификат командой mkcert или OpenSSL. Единственная проблема в том, что браузер не доверяет такому сертификату, поскольку он не подписан доверенным УЦ. Поэтому нужно ещё запустить и настроить собственный УЦ, который подписывает наши сертификаты — и добавить этот УЦ в список доверенных центров сертификации УЦ (или браузера).

    habr.com/ru/companies/globalsi

    #TLS #сертификаты #УЦ #удостоверяющий_центр #Smallstep #XCA #самозаверенный_сертификат #самоподписанный_сертфикат #localhost #mkcert

  14. 🥳 Auto-Encrypt Localhost version 9.0.0 released

    Bye bye, Windows.

    • Windows is no longer supported as Microsoft is complicit in Israel’s genocide of the Palestinian people¹ and Small Technology Foundation² stands in solidarity with the Boycott, Divestment, and Sanctions (BDS) movement³. Windows is an ad-infested and surveillance-ridden dumpster fire of an operating system and, alongside supporting genocide, you are putting both yourself and others at risk by using it.

    Enjoy!

    💕

    About Auto-Encrypt Localhost:

    codeberg.org/small-tech/auto-e

    Auto Encrypt Localhost is similar to the Go utility [mkcert](github.com/FiloSottile/mkcert/) but with the following important differences:

    1. It’s written in pure JavaScript for Node.js.

    2. It does not require certutil to be installed.

    3. It uses a different technique to install its certificate authority in the system trust store of macOS.

    4. It uses enterprise policies on all platforms to get Firefox to include its certificate authority from the system trust store.

    5. In addition to its Command-Line Interface, it can be used programmatically to automatically handle local development certificate provisioning while creating your server.

    Auto-Encrypt Localhost is licensed under AGPL version 3.0.

    #AutoEncryptLocalhost #SmallTech #SmallWeb #localhost #TLS #SSL #certificates #web #security #dev #FOSS #israel #microsoft #BigTech #genocide #Palestine #StopIsrael #FreePalestine

    ¹ bdsmovement.net/microsoft
    ² small-tech.org/
    ³ bdsmovement.net/

  15. So MAMP pro 6 just broke because ssl 🙄
    And MAMP pro 7 still won’t work, because why would you sell a functional product. It won’t even accept my valid license. Because the update window closed? What the fuck? I paid for both mind you… 🤬

    So what’s the right alternative for MAMP? Something simple to use. For macOS. Preferably without screw-you licensing.

    No not docker or vagrant or whatever.

    #php #mamp #macos #localhost

  16. stackoverflow.blog/2025/12/24/

    A fucking Tragedy

    Undeniably, Undebatably.

    Environmentally? Tragedy.
    Cost? Tragedy.
    Just everything here is a Tragedy.

    If you are able to run on your own hardware, fucking do it, there's no excuse to go cloud, especially if you already have the infra, even if you need to physically move it.

    For fuck sakes.

    Throwing away On-Prem or at least Self-Hosted is throwing away the Sovereignty of your Business, of your Data. You've just given all of your customer and business Data to Google. Good Job.

    #StackOverflow #Stackexchange #Cloud #LocalHost

  17. Portex: Mang localhost lên mạng chỉ vài giây, chia sẻ URL công khai dễ dàng! Thiết kế đẹp, bảo vệ PIN thông minh khi chia sẻ link phát triển, cài đặt 1 lệnh duy nhất cho mọi hệ điều hành. Tác giả sẵn trực tiếp hỗ trợ và tiếp thu ý kiến. #Portex #localhost #SaaS #CôngNghệ

    reddit.com/r/SaaS/comments/1px

  18. Finally caved and installed #Facebook since Mom sends me so many reels. Hopefully this will be ok. Though maybe they'll still do that #localhost nonsense. 🙄😮‍💨

  19. As someone who tried to make a new language and gave up after a month or two, three years... ​:blobcat_salute:​ I really enjoyed this RC #localhost talk that Ryan gave on the programming language she has been working on Felt.

    She covers topics about what goes into building new languages and her case for a trying to make a smaller
    #rustlang, and shows some of the basic aspects of Felt. Love it! ​:blobcat_amused:​
    https://www.youtube.com/watch?v=dVHZFtJatxw
    #recursecenter #programminglanguages

  20. Ah yes, yet another groundbreaking tool that lets you expose your #localhost to the wild, wild #web, because who doesn't love an invitation for every #script kiddie and their dog to come knocking on your door? 🚪🤦‍♂️ "Tunnl.gg: Making #amateur #hour great again, one unsecured connection at a time!" 🌐👶
    tunnl.gg #tunneling #security #kiddies #HackerNews #ngated

  21. Ngrok sayesinde local projelerinizi hızlı ve güvenli bir şekilde canlıya alabilirsiniz.
    XAMPP entegrasyonu, proje klasörü paylaşımı ve ufak ipuçları rehberimde mevcut.
    yuceltoluyag.github.io/ngrok-k
    #WebDev #Ngrok #Localhost #PHP #DevLife

  22. Thanks, Microsoft.

    #localhost #KB506683

    PS I'm not sure searching the web for localhost will help...

  23. If '0.0.0.0' binds to all local IPv4 addresses and '::' binds to all IPv6 (and IPv4 addresses on dual homed machines)

    Why is there no equivalent that binds to both '127.0.0.1' and '::1'

    #IPv6 #IPv4 #localhost

  24. @Natouille : Et moi, comme je n'ai pas envie de bouger, je vais me contenter de regarder #localhost.

  25. Breaking localhost network functionality is an impressive achievement.

    Pushing that breakage out undetected in a general availability update of your current mainstream OS is even more impressive.

    But the real WTF is why it was even possible in the first place. Quoting The Register's coverage:

    > The bug, introduced in build 26100.6899, has been traced to HTTP.sys,
    > the Windows kernel component that handles local HTTP traffic.

    "the Windows kernel component that handles local HTTP traffic" is a phrase that has no reason to exist in the English language. I can only imagine how many security vulnerabilities having HTTP/2 in the kernel makes possible.

    #Windows #security #breakage #broken #localhost #networking #Windows11 #Microsoft #qwality #QualityWeveHeardOfIt #WeveHeardOfIt #HTTP #kernel

Share on Mastodon

Enter the server where you have an account.