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.2.0.tar.gz (12.3 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.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phi_thread-0.2.0.tar.gz
  • Upload date:
  • Size: 12.3 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.2.0.tar.gz
Algorithm Hash digest
SHA256 38e1939b79b5e6e7bd6744726944b2eec044d0c22756086e0f0c5cf1032d3047
MD5 4343a633166ae6a9eea7226c19eb98ef
BLAKE2b-256 8c7646277a0bb62ebeb9d8029ee97a8e6792e72b9725982016e07f16182ca6cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phi_thread-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97f444f2cb44803fe86279d5c331dfc541d6f26fc0ae1316da71c366a7bb777e
MD5 1541631c83835f604b4865bb66099a6f
BLAKE2b-256 6e6d385f9e1fa6dd313d0c4d6ecb19298caa0fdf6609361868ca841a6b4df64a

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