Skip to main content

Find answers across platforms. Connect, don't create.

Project description

phi-thread

Find answers across platforms. Connect, don't create.

$ phi-thread "docker container keeps restarting"

  phi-thread | docker container keeps restarting
  2.2s | 5 answers

  1. Docker container keeps restarting
     [SO] docker
     https://stackoverflow.com/questions/38715934/docker-container-keeps-restarting

  2. Mysql docker container keeps restarting
     [SO] mysql, docker, docker-compose, dockerfile
     https://stackoverflow.com/questions/66831863/mysql-docker-container-keeps-restarting

  3. PSA: Check Your Docker Memory Usage & Restart Containers
     [Reddit] r/selfhosted | 130 comments
     https://reddit.com/r/selfhosted/comments/1jneagx/...

Install

pip install phi-thread

Usage

# Basic search
phi-thread "nginx reverse proxy websocket"

# Limit results
phi-thread "vault 403 error" -n 3

# Specific platforms (so, reddit, hn, github)
phi-thread "python asyncio gather" --platforms so

# JSON output (for piping)
phi-thread "kubernetes crashloopbackoff" --json

# Skip cache, force fresh search
phi-thread "docker networking" --no-cache

How it works

  1. Searches Stack Overflow, Reddit, Hacker News, and GitHub in parallel
  2. Ranks results by relevance (title match) and quality (votes, comments, answers)
  3. Caches results for 24 hours — second ask is instant
  4. Zero dependencies — uses only Python standard library

The idea

Every answer already exists somewhere — on Stack Overflow, in a Reddit thread, in a GitHub issue. You don't need another knowledge base. You need a router that connects your question to the best existing answer.

Inspired by how Slack threads work: every message has a deterministic coordinate (timestamp + channel). This tool treats every answer on every platform as a coordinate and routes you there.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phi_thread-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phi_thread-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file phi_thread-0.1.0.tar.gz.

File metadata

  • Download URL: phi_thread-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for phi_thread-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4263115e330e272b427daaee2e6bb4dae5f1a6d19d6bd5086b39780080fcdc1
MD5 ac0f5c91d0d83ed89f567a60c6e6bc3c
BLAKE2b-256 ad31b0b0406e14a332a3d7cf6165a4cf6cc8235906d0969b0be575a7a6819e8b

See more details on using hashes here.

File details

Details for the file phi_thread-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phi_thread-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for phi_thread-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c451903edca8e84f3a23bb945d930b7100111da42232937f892cbcd0c746c962
MD5 15ef4685f15f4223617705c1944b5fc8
BLAKE2b-256 560b44da33d91664b20b04379de1a09e3b31834c25e780390c0ff7546d62d674

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page