Photon
Fast terminal research tool - get AI-powered insights in seconds with zero setup
Install / Use
/learn @Jacky040124/PhotonREADME
Photon
<div align="center"> <img src="public/logo.png" alt="Photon Logo" width="1000" height="300"> </div>Research. Instantly.
The terminal research tool for people who value speed and simplicity. Ask anything, get answers in seconds, work from anywhere.
Demo
<div align="center"> <img src="public/demo.gif" alt="Photon Demo" width="800"> </div>What makes it different
Fast — Sub-second AI responses
Light — 3MB binary, zero setup
Free — Unlimited queries, always
Global — Works everywhere, including China
For developers who think in terminal
ptn "quantum computing basics"
# → Instant, structured insights
# → No context switching
# → No distractions
Simple tools. Powerful results.
Installation
Homebrew (Recommended)
brew tap Jacky040124/photon
brew install photon
Manual Download
Download pre-built binaries from GitHub Releases and add to your PATH.
Build from Source
git clone https://github.com/Jacky040124/photon.git
cd photon
go build -o ptn ./cmd
mv ptn /usr/local/bin/
Setup
Set your OpenRouter API key:
export PHOTON_OPEN_ROUTER_KEY="your_openrouter_api_key_here"
To make it permanent, add to your shell profile:
# For Zsh (macOS default)
echo 'export PHOTON_OPEN_ROUTER_KEY="your_key_here"' >> ~/.zshrc
source ~/.zshrc
# For Bash
echo 'export PHOTON_OPEN_ROUTER_KEY="your_key_here"' >> ~/.bashrc
source ~/.bashrc
Note: Get a free OpenRouter API key from openrouter.ai - no credit card required for the free tier!
Usage
Just run:
./ptn "your research topic here"
Examples:
ptn "machine learning basics"
ptn "rust vs go performance"
ptn "docker best practices"
Output Format
Photon provides clean, structured output:
- Summary: Concise 2-3 sentence overview
- Key Points: 3-5 essential insights, clearly numbered
Photon — Simple tools. Powerful results.
Related Skills
xurl
352.9kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
wanwu
3.8kChina Unicom's Yuanjing Wanwu Agent Platform is an enterprise-grade, multi-tenant AI agent development platform. It helps users build applications such as intelligent agents, workflows, and rag, and also supports model management. The platform features a developer-friendly license, and we welcome all developers to build upon the platform.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
