Skip to main content

factlog - File ACTivity LOGger

Factlog logs your activity on files and uses it for searching.

Rich command line interface. Useful for unix style searching:

factlog list | xargs grep 'def record'

“I want to see some Python files I edited recently”:

factlog list --include-glob '*.py'

“I want to list files in this particular project I touched. I don’t care about in which branch I opened the file.”:

factlog list --under BRANCH-A --under BRANCH-B --relative

“I want to see last 50 notes I took with title”:

factlog list --under MY-NOTE-DIRECTORY --relative --title --limit 50

“The files I touched are huge. I want to search only the locations I touched.”:

factlog list -C 50 | grep 'def record'

Editor plugin

Factlog currently only have Emacs integration. If you make a plugin for other editors, please let me know. See interfaces for plugin for more information.

Emacs

Factlog has Emacs plugin. You can get factlog.el from factlog repository.

Command line programs

Factlog is easy to integrate with command line programs such as less and vim. See shell/config.sh for sample setup. You can use shell/config.sh like this:

source PATH/TO/factlog/shell/config.sh
alias less="factlog-record-wrapper \less"
alias vim="factlog-record-wrapper \vim"

Interfaces for plugin

Command line interface

If your editor can run a command line program, it is possible to write a factlog plugin! See factlog record --help.

RPC interface

Work in progress…

Python interface

Work in progress…

More to come / ideas

  • Ranking based on many data points: how many times you write to the file, how recent you visited the file, etc.

  • Understand “project” (VCS repository).

  • Concurrent grep.

  • Extract URLs in the documents and use them as URL bookmark.

License

Factlog is licensed under LGPL v3. See COPYING for details.

Metadata

Release files for factlog 0.0.1

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

Source distribution (sdist)

Source distribution for factlog 0.0.1
File Size Uploaded Provenance Actions
factlog-0.0.1.tar.gz 14.7 kB Without provenance Details for factlog-0.0.1.tar.gz

Release files / factlog-0.0.1.tar.gz

Download URL factlog-0.0.1.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
94cd960318c0c0f432618f1c7d6809da68ac08e86d0a47d9424d4e38ebb2baed
BLAKE2b-256 checksum
How to use checksums
0e9774b622d763db8deebd085c82752371093161fe20b5ef90550cfa3392af3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for factlog 0.0.1

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.0.1 This release

1 release file 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