npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tbtorrent2

v0.3.0

Published

TB Torrent uruchamiany wewnątrz natywnego kontekstu TizenBrew, z dostępem do Samsung AVPlay.

Readme

TB Torrent for TizenBrew

Aplikacja dla Samsung Tizen TV, która docelowo samodzielnie pobiera i odtwarza legalnie udostępnione materiały przez BitTorrent/magnet. Telefon w tej samej sieci Wi‑Fi działa jako pilot oraz panel do wprowadzania danych.

Projekt jest przeznaczony wyłącznie do materiałów, do których użytkownik ma prawa lub zgodę na pobieranie i rozpowszechnianie.

Aktualny stan: prototyp diagnostyczny 0.1.0

Ta wersja służy do sprawdzenia możliwości konkretnego telewizora i TizenBrew. Zawiera:

  • kod QR i lokalny panel telefonu,
  • sześciocyfrowe parowanie,
  • komunikację telefon ↔ aplikacja TV,
  • wklejanie magnetu,
  • upload .torrent, SRT, ASS/SSA i VTT do pamięci usługi,
  • przyciski play/pause/stop, ±10 s, ±60 s i przejście do timestampu,
  • wykrywanie oraz wybór ścieżek audio,
  • wykrywanie oraz wybór wbudowanych napisów,
  • przesunięcie czasu napisów,
  • obsługę podstawowych przycisków pilota,
  • diagnostykę Node.js, adresu LAN i Samsung AVPlay.

Magnet i plik .torrent są na razie odbierane, ale silnik pobierający torrent zostanie dołączony dopiero po pomyślnym teście portu LAN oraz usługi Node.js na telewizorze.

Struktura

app/index.html       interfejs telewizora
app/styles.css       wygląd interfejsu TV
app/app.js           AVPlay, pilot i komunikacja z usługą
service/index.js     lokalny serwer telefonu i kolejka poleceń
docs/ARCHITECTURE.md dalszy plan techniczny

Testy lokalne

npm install
npm run check
npm run pack:preview

Usługę można również uruchomić zwykłym Node.js na komputerze w celu sprawdzenia panelu telefonu:

node service/index.js

Panel będzie dostępny pod adresem wypisanym w terminalu. Zatrzymanie: Ctrl+C.

Instalacja w TizenBrew

TizenBrew pobiera moduły z npm przez jsDelivr. Dlatego przed testem na telewizorze trzeba:

  1. upewnić się, że TizenBrew obsługuje usługi modułów aplikacyjnych,
  2. opublikować paczkę pod publiczną nazwą npm,
  3. dodać tę nazwę w menedżerze modułów TizenBrew,
  4. uruchomić moduł na telewizorze.

Nie publikuj paczki, dopóki pole private w package.json ma wartość true. Zmienimy to dopiero po uzgodnieniu nazwy npm i przygotowaniu konta.

Port lokalny

Usługa nasłuchuje na:

0.0.0.0:8790

Panel telefonu ma postać:

http://ADRES_IP_TV:8790/?code=KOD

Port nie jest automatycznie wystawiany na internet ani otwierany przez UPnP.