Skip to main content

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

Metadata

Release files for phi-thread 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phi-thread 0.2.0
File Size Uploaded Provenance
phi_thread-0.2.0.tar.gz 12.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for phi-thread 0.2.0
File Interpreter ABI Platform
phi_thread-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / phi_thread-0.2.0.tar.gz

Download URL phi_thread-0.2.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
38e1939b79b5e6e7bd6744726944b2eec044d0c22756086e0f0c5cf1032d3047
BLAKE2b-256 checksum
How to use checksums
8c7646277a0bb62ebeb9d8029ee97a8e6792e72b9725982016e07f16182ca6cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / phi_thread-0.2.0-py3-none-any.whl

Download URL phi_thread-0.2.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97f444f2cb44803fe86279d5c331dfc541d6f26fc0ae1316da71c366a7bb777e
BLAKE2b-256 checksum
How to use checksums
6e6d385f9e1fa6dd313d0c4d6ecb19298caa0fdf6609361868ca841a6b4df64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for phi-thread 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page