photon(5)
πΈ photon(5) β the config file syntax page, bestie π
okay so this is the photon man page from the File Formats Manual, and it's literally just about how to write the config file. that's it. that's the whole vibe. let's get into it β¨
π NAME
photon β config file syntax π
like, the syntax of the config file. the grammar of the girl. the rules of the game. periodt.
π¦ SYNOPSIS
okay so here's the tea: photon reads the config file and interprets it's content as url for rss/atom feeds. no cap, that's the whole job β it opens the file, sees urls, and goes "oh these are feeds, got it π
".
and by default running photon with no arguments will try to read ~/.config/photon/config β so if you just type photon and hit enter with zero thoughts in your head, that's the file it's gonna go looking for π«Ά
π SYNTAX
photon parses the config file by lines. every single line, one at a time, main character energy. and each line can be either a:
- URL β direct url to a rss/atom feed π₯
- Comment β start with
#and end with the line break π¬ - Command β is a line with the prefix:
cmd://and then the command which will be called by the shell π (yes, the shell. it's giving power, use it responsibly)
β¨ EXAMPLE
here's a whole example, verbatim, no edits, we do not touch the code in this house π
#fsf news feed
https://static.fsf.org/fsforg/rss/news.xml
#itsfoss feed
https://itsfoss.com/feed/
#golang blog feed
https://blog.golang.org/feed.atom?format=xml
#some command (ratt searching youtube for cat videos)
cmd://ratt auto https://https://www.youtube.com/results --data-urlencode="search_query=cat"
see how it's laid out? comment, url, comment, url, comment, url, comment, command. it's giving organized. it's giving i-have-my-life-together. slay π
β SEE ALSO
yeah bestie. it references itself. iconic behavior honestly, the page contains itself like a little ouroboros ππ« iykyk
π AUTHORS
maintained by VladimΓr Magyar <vladimir@mgyar.me>. up-to-date sources can be found at https://sr.ht/~ghost08/photon and bugs/patches can be submitted by email to ~ghost08/photon@todo.sr.ht π«Ά
so if you find a bug, or you got a patch, or you just wanna say hi β that's where you go. email, not a dm. very old-school, very chic π
and that's the whole page, bestie!! this one's from photon(5), dated 2026-10-14 β go forth and configure your feeds, you absolute icon π
πβ¨π¦πΈ
π¦ where this page comes from
- alpine 3.24: photon-doc 1.0.1-r27 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms