{"id":13540963,"url":"https://github.com/dat-ecosystem-archive/dat-log","last_synced_at":"2025-04-02T08:30:54.577Z","repository":{"id":48032672,"uuid":"92190937","full_name":"dat-ecosystem-archive/dat-log","owner":"dat-ecosystem-archive","description":"Log History of Dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ] ","archived":true,"fork":false,"pushed_at":"2022-01-06T16:51:02.000Z","size":328,"stargazers_count":12,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-11T20:31:02.491Z","etag":null,"topics":["dat","dat-protocol"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dat-ecosystem-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-23T15:43:50.000Z","updated_at":"2023-01-28T04:17:54.000Z","dependencies_parsed_at":"2022-08-12T17:10:35.968Z","dependency_job_id":null,"html_url":"https://github.com/dat-ecosystem-archive/dat-log","commit_stats":null,"previous_names":["joehand/dat-log"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dat-ecosystem-archive%2Fdat-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dat-ecosystem-archive%2Fdat-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dat-ecosystem-archive%2Fdat-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dat-ecosystem-archive%2Fdat-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dat-ecosystem-archive","download_url":"https://codeload.github.com/dat-ecosystem-archive/dat-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246781899,"owners_count":20832929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dat","dat-protocol"],"created_at":"2024-08-01T10:00:36.722Z","updated_at":"2025-04-02T08:30:54.228Z","avatar_url":"https://github.com/dat-ecosystem-archive.png","language":"JavaScript","funding_links":[],"categories":["Using Dat"],"sub_categories":["Dat Utilities"],"readme":"[![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)](https://dat-ecosystem.org/) \n\nMore info on active projects and modules at [dat-ecosystem.org](https://dat-ecosystem.org/) \u003cimg src=\"https://i.imgur.com/qZWlO1y.jpg\" width=\"30\" height=\"30\" /\u003e \n\n---\n\n# dat-log\n\nview history of a dat in the CLI\n\n[![npm][npm-image]][npm-url]\n[![travis][travis-image]][travis-url]\n[![standard][standard-image]][standard-url]\n\n`dat-log` prints all changes, the file versions, and information about the dat:\n\n```\n❯ dat-log dat://64375abb733a62fa301b1f124427e825d292a6d3ba25a26c9d4303a7987bec65\n1 [put] / 0 B (0 blocks)\n2 [put] /README 175 B (1 block)\n3 [put] /dat.json 309 B (1 block)\n4 [put] /far-manzanar.csv 2.0 MB (31 blocks)\n5 [put] /far-minidoka.csv 2.1 MB (33 blocks)\n6 [put] /far-poston.csv 3.6 MB (55 blocks)\n7 [put] /wra-master.csv 73 MB (1111 blocks)\n\nLog synced with network\n\nArchive has 7 changes (puts: +7, dels: -0)\nCurrent Size: 80 MB\nTotal Size:\n- Metadata 436 B\n- Content 80 MB\nBlocks:\n- Metadata 8\n- Content 1232\n```\n\n## Install\n\nIf you already have `dat` installed, run it with `dat log`!\n\n```\nnpm install -g dat-log\n```\n\n## Usage\n\nYou can view history for a local dat (any directory with a `.dat` folder):\n\n```sh\ndat-log /my-data\n```\n\nOr view history for a remote dat using the dat link:\n\n```sh\ndat-log dat://64375abb733a62fa301b1f124427e825d292a6d3ba25a26c9d4303a7987bec65 \n```\n\nOptions: \n\n* `--live, -l`: Keep process running and view live history\n\n## License\n\n[MIT](LICENSE.md)\n\n[npm-image]: https://img.shields.io/npm/v/dat-log.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/dat-log\n[travis-image]: https://img.shields.io/travis/joehand/dat-log.svg?style=flat-square\n[travis-url]: https://travis-ci.org/joehand/dat-log\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: http://npm.im/standard\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdat-ecosystem-archive%2Fdat-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdat-ecosystem-archive%2Fdat-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdat-ecosystem-archive%2Fdat-log/lists"}