Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions site/assets/docs-index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"slug":"install","title":"Install","text":"install filiation comes two ways: a desktop app, and fil, the command line. both use the same library, so you can switch between them. windows macos linux the app download the installer and run it. it installs for you only, needs no administrator rights, and adds fil to your path so a terminal and your ai assistant can find it. download the windows installer ! the installer isn't signed yet, so windows smartscreen may warn you. choose more info , then run anyway . a macos installer is coming. until then, the app builds from source (see contributing.md ), and the command line below works today. a linux package is coming. until then, the app builds from source (see contributing.md ), and the command line below works today. the command line one file, nothing else to install. download it from the latest release , unpack it, and run it. expand-archive fil_{v}_windows_amd64.zip fil .\\fil\\fil.exe version copy tar xzf fil_{v}_darwin_arm64.tar.gz sudo mv fil /usr/local/bin/ fil version copy on an intel mac, download the darwin_amd64 archive instead. tar xzf fil_{v}_linux_amd64.tar.gz sudo mv fil /usr/local/bin/ fil version copy see where your library lives: fil where copy"},{"slug":"first-library","title":"Your first library","text":"your first library give filiation one paper you know well. in a few minutes it has found what that paper cites, kept the pdfs that are free to read, and made them searchable. add a paper a doi, arxiv id, link or title. filiation records the paper and every work it cites. fil add arxiv:1409.0473 copy follow its references fetch the papers it cites, and theirs, most-cited first, up to a budget you set. fil expand --max-nodes 300 copy keep the pdfs download the legal open-access copies and read their text so it can be searched. fil fetch copy search a few keywords. each passage comes back with its paper and page. fil search attention alignment translation copy i in the app, each step is one action: paste into the title bar search to add a paper, then library › fetch pdfs . the command line and the app share the same library."},{"slug":"desktop-app","title":"The desktop app","text":"the desktop app one window, a few screens. everything you do here, the command line can do too. screens papers your library, one paper per row, with its pdf, labels and details beside it. search keywords across every pdf; the passage and its page, lit on the pdf. citation map what a paper cites and what cites it, or the whole library at once. reader read, highlight and comment. notes live in your library; the pdf stays as it was. groups topics found from the citations alone, offered as collections. title bar search find a paper you have, or paste a doi or title to add a new one. keys worth knowing ctrl+f search your library from the title bar. ctrl+click select more than one paper. shift+click select a run of papers. ctrl+a select every paper in the list. delete delete the selected papers. their folders go to the recycle bin. right-click a paper's actions: favourite, add to a collection, label, show on the map, download its pdf, bring in papers around it, delete."},{"slug":"command-line","title":"Command line","text":"command line every fil command, grouped by what you are doing. a paper can be named by its fil id, doi, arxiv id, openalex id or title. build read library other fil add paper add a paper and record everything it cites. by doi, arxiv id, pmid, openalex id, link or title. fil expand follow references outward and grow the graph, most-cited first. --max-nodes 500 --max-depth 3 fil fetch [paper] download the legal open-access pdfs of your papers. --max n --dry-run fil import [file…] identify pdfs you already have and file them in your library. fil zotero bring in your zotero library. --dry-run --from file --tags --no-pdfs --no-refs --skip key fil match fil id [id] find one of your own documents in openalex. fil search words find passages in your pdfs by keyword, with their page. --paper x --view name --limit n --references --pick fil list list the papers in your library, with their pdf and text. fil show paper tell everything the library knows about one paper. fil neighbours paper what a paper cites, and what in your library cites it. fil path paper paper the shortest chain of citations between two papers. fil groups [group] groups of papers that cite one another. fil stats summarise your library. fil library show your library folder. fil library new folder make another library in a new folder. fil library move folder move your library to a new folder. fil library scan find papers you moved, renamed or deleted in papers/. fil extract [paper] read the text of your pdfs so they can be searched. --again fil export graphml write the citation graph for gephi, cytoscape or networkx. fil mcp serve your library to an ai assistant over mcp. --read-only --library name fil where print where your library, settings and cache live. fil theme choose fil's colours in the terminal. fil cache clear delete every cached openalex response. fil version print the version. every command explains itself: fil help command ."},{"slug":"mcp","title":"AI assistants (MCP)","text":"ai assistants (mcp) connect filiation to the assistant you already use. it can then search your library and answer with the page each passage came from. i the easiest way: open the app's ai assistants screen and press connect . it finds the assistants on your computer and writes their settings for you, keeping a copy of the old file. set it up by hand claude code claude desktop cursor vs code (copilot) gemini cli run this once in a terminal: claude mcp add filiation -- fil mcp copy start a new claude code session and ask it about your library. add this to claude_desktop_config.json . on windows it is in %appdata%\\claude , on macos in ~/library/application support/claude . { \"mcpservers\": { \"filiation\": { \"command\": \"fil\", \"args\": [\"mcp\"] } } } copy quit claude desktop completely and open it again. add this to ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one: { \"mcpservers\": { \"filiation\": { \"command\": \"fil\", \"args\": [\"mcp\"] } } } copy add this to .vscode/mcp.json : { \"servers\": { \"filiation\": { \"type\": \"stdio\", \"command\": \"fil\", \"args\": [\"mcp\"] } } } copy copilot chat can use it in agent mode. add this to ~/.gemini/settings.json : { \"mcpservers\": { \"filiation\": { \"command\": \"fil\", \"args\": [\"mcp\"] } } } copy it loads the next time gemini cli starts. what your assistant can do search_library find passages by keyword, with their page, to quote. get_paper everything about one paper, including why it has no pdf or text. neighbours what a paper cites and what cites it, with the sentence it cites each in, when one was found. find_path the chain of citations between two papers. citation_groups the library's topics, found from its citations alone. library_stats what is in the library. add_paper add a paper by doi, arxiv id, pmid, openalex id, link or title. expand_graph follow references outward, within a budget. fetch_pdfs download more open-access pdfs. i add --read-only after mcp and the assistant can read your library but not add to it, and nothing it does reaches the network. add --library thesis to point it at another library."},{"slug":"zotero","title":"Bring in Zotero","text":"bring in zotero keep using zotero for your references. filiation reads its library and grows a citation map around it. filiation reads zotero 7 or later through its local api, read-only: it never changes your zotero library. zotero must be running. in zotero, choose edit › settings › advanced and tick allow other applications on this computer to communicate with zotero . fil zotero --dry-run # see what would come in fil zotero # bring it in copy in the app, the same is in the inbox, under zotero. options --dry-run say what would come in, and write nothing. --tags make labels from the tags you added in zotero. --no-pdfs do not copy the pdfs. --no-refs do not record what each paper cites. --skip key leave out a zotero collection, by its key, and those inside it. --from file read a zotero rdf export instead of the running zotero. from an export file if zotero isn't on this computer, export the library as zotero rdf with its files, then: fil zotero --from \"my library.rdf\" copy"},{"slug":"how-it-works","title":"How it works","text":"how it works what filiation keeps, where it comes from, and the few rules it never breaks. fil ids every paper gets a fil id, such as f7k2m9qxa , made once and never changed. use it, a doi, an openalex id or a title wherever a command asks for a paper. where citations come from reference lists come from openalex , already matched to the papers they name. no model reads your papers to guess at links, so every line on the map is a real citation. stubs a paper something cites, but that filiation has not fetched yet, is a stub: its title may be known, its abstract and references are not. fil expand fetches stubs, most-cited first. open access only filiation downloads only the legal open-access copies openalex lists. it never scrapes a publisher's site or uses anyone's login. for other papers, add the pdfs you have. your library folder a library is a folder you choose: a database file, and a papers/ folder with one readable folder per paper. copy it, back it up, or sync it like any other folder. fil export graphml writes the graph out for other tools."},{"slug":"troubleshooting","title":"Troubleshooting","text":"troubleshooting the questions people ask most, and what to do. common questions my assistant says the server failed to start. run fil version in a terminal. if that fails, the assistant cannot find fil either: put the full path to fil in its settings, or reinstall with \"add fil to my path\" ticked. the assistant cannot find a paper i added. both must use the same library. compare fil where with the path in the server's first log line, and check the assistant's settings for a --library argument. why do so many papers have no pdf? filiation only keeps legal open-access copies, and most papers have none: about one in eight overall, many more in physics, very few in the humanities. add the pdfs you have with fil import or the inbox. expansion stopped after one step. the papers probably have no reference lists in openalex. that is common outside the sciences, and is the data, not a fault. each paper shows whether its references are known. windows warned me about the installer. the installer is not signed yet. choose more info, then run anyway. where are my files? run fil where . your library is a folder you chose, with a papers/ folder of readable pdf folders inside. uninstalling the app never touches it. still stuck? open an issue with the output of fil version and fil where ."}]
21 changes: 21 additions & 0 deletions site/assets/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,24 @@
.page h1 { font-size: 30px; }
.pg b { font-size: 16px; }
}

/* The docs front page and the guides. */
.ver { font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.doc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin-bottom: 8px; }
.doc-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; }
.doc-card:hover { border-color: var(--accent); color: var(--text); }
.doc-card b { font-size: 16px; }
.doc-card span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.guide { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; }
.guide .page h1 { font-size: 44px; }
.ticks { max-width: 740px; margin: 0 0 16px; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 0 0 12px 30px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks b { color: var(--text); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; max-width: 760px; margin: 40px 0 8px; padding: 22px 24px; border-radius: 14px; background: var(--accent-soft); }
.cta > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.cta b { font-size: 18px; color: var(--accent-text); }
.cta span { font-size: 14.5px; line-height: 1.5; color: var(--accent-text); }
@media (max-width: 760px) { .doc-cards { grid-template-columns: minmax(0, 1fr); } .guide { padding: 28px 16px 64px; } .guide .page h1 { font-size: 32px; } .top .ver { display: none; } }
Loading
Loading