{"id":16921667,"url":"https://github.com/strrl/logseq-pages","last_synced_at":"2025-07-27T16:35:29.425Z","repository":{"id":57652454,"uuid":"451021461","full_name":"STRRL/logseq-pages","owner":"STRRL","description":"cli tools for list all pages in logseq repo, marked with public or private","archived":false,"fork":false,"pushed_at":"2023-02-25T10:34:28.000Z","size":77,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T23:30:52.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/STRRL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-23T06:20:00.000Z","updated_at":"2025-04-08T00:46:28.000Z","dependencies_parsed_at":"2024-06-20T00:11:36.600Z","dependency_job_id":"1f316e4f-817f-496f-821e-280849b1f2b6","html_url":"https://github.com/STRRL/logseq-pages","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"4bf8a674d8b8883d8b8317f89e60d5a03f51e6f0"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/STRRL/logseq-pages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Flogseq-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Flogseq-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Flogseq-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Flogseq-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/STRRL","download_url":"https://codeload.github.com/STRRL/logseq-pages/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRRL%2Flogseq-pages/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261021129,"owners_count":23098284,"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":[],"created_at":"2024-10-13T19:52:48.159Z","updated_at":"2025-06-20T21:37:01.217Z","avatar_url":"https://github.com/STRRL.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logseq-pages\n\nA cli tool for list all pages in logseq repo, marked with public or private.\n\nWhen I using [logseq](https://github.com/logseq/logseq) to build my knowledge base and publish publicly, I found that \"\nMake it public for publishing\" and \"Make it private\" could only be accessed on the application. So I have to manually\nwalk though all the pages and make sure that all I wanted to be published pages have been marked as public.\n\nThat is terrible experience.\n\nSo I would write the cli tools to:\n\n- list all the pages\n- [WIP] mark pages as public or private with interactive terminal ui\n\n## Installation\n\nYou could use `go install github.com/strrl/logseq-pages/cmd/logseq-pages@latest` to install the tool.\n\nOr clone this repo, and run `make` then you could find the binary `bin/logseq-pages`.\n\n## Overview\n\n```text\n$ logseq-pages list --work-directory ~/playground/github/whatiknown        \n+-------+-----------------------------------+--------+-----------------------+-----------------------------------------+\n|     # | NAME                              | PUBLIC | ALIAS                 | PATH                                    |\n+-------+-----------------------------------+--------+-----------------------+-----------------------------------------+\n|     0 | 2022_01_04.md                     |        |                       | journals/2022_01_04.md                  |\n|     1 | 2022_01_10.md                     |        |                       | journals/2022_01_10.md                  |\n|     2 | 2022_01_20.md                     |        |                       | journals/2022_01_20.md                  |\n|     3 | 2022_01_21.md                     |        |                       | journals/2022_01_21.md                  |\n|     4 | About Me.md                       | *      | strrl, STRRL          | pages/About Me.md                       |\n|     5 | Alfred.md                         | *      |                       | pages/Alfred.md                         |\n|     6 | Arch Linux.md                     | *      |                       | pages/Arch Linux.md                     |\n|     7 | Chaos Engineering.md              | *      |                       | pages/Chaos Engineering.md              |\n|     8 | Chaos Mesh.md                     | *      | chaos-mesh, ChaosMesh | pages/Chaos Mesh.md                     |\n|     9 | Cloud Native.md                   | *      |                       | pages/Cloud Native.md                   |\n|    10 | Committer.md                      | *      |                       | pages/Committer.md                      |\n|    11 | Container Orchestration.md        | *      |                       | pages/Container Orchestration.md        |\n|    12 | Espanso.md                        | *      |                       | pages/Espanso.md                        |\n|    13 | Fedora.md                         | *      |                       | pages/Fedora.md                         |\n|    14 | Git Repository.md                 | *      | Git 仓库              | pages/Git Repository.md                 |\n|    15 | I want to create my first page.md | *      |                       | pages/I want to create my first page.md |\n|    16 | Kiu.md                            | *      |                       | pages/Kiu.md                            |\n|    17 | Kubernetes.md                     | *      |                       | pages/Kubernetes.md                     |\n|    18 | Linux Container.md                | *      |                       | pages/Linux Container.md                |\n|    19 | Linux.md                          | *      |                       | pages/Linux.md                          |\n|    20 | MacOS.md                          | *      |                       | pages/MacOS.md                          |\n|    21 | Nonlinear System.md               | *      |                       | pages/Nonlinear System.md               |\n|    22 | SemVer 2.0.md                     | *      |                       | pages/SemVer 2.0.md                     |\n|    23 | Ubuntu Server.md                  | *      |                       | pages/Ubuntu Server.md                  |\n|    24 | XinHua Dictionary.md              | *      |                       | pages/XinHua Dictionary.md              |\n|    25 | chaos-mesh.dev.md                 | *      |                       | pages/chaos-mesh.dev.md                 |\n|    26 | chaos-mesh.md                     | *      |                       | pages/chaos-mesh.md                     |\n|    27 | contents.md                       | *      |                       | pages/contents.md                       |\n|    28 | de facto standard.md              | *      |                       | pages/de facto standard.md              |\n|    29 | favorites.md                      | *      |                       | pages/favorites.md                      |\n|    30 | homelab.md                        | *      |                       | pages/homelab.md                        |\n|    31 | logseq.md                         | *      |                       | pages/logseq.md                         |\n|    32 | pkg.go.dev.md                     | *      |                       | pages/pkg.go.dev.md                     |\n|    33 | text expander.md                  | *      |                       | pages/text expander.md                  |\n|    34 | 非线性系统.md                     | *      |                       | pages/非线性系统.md                     |\n+-------+-----------------------------------+--------+-----------------------+-----------------------------------------+\n| TOTAL | 35                                |        |                       |                                         |\n+-------+-----------------------------------+--------+-----------------------+-----------------------------------------+\n\n```\n\nWith filter `private` and output `json`, beatified by `jq`:\n\n```\n$ logseq-pages list --output json --work-directory ~/playground/github/whatiknown --filter private | jq\n[\n  {\n    \"Name\": \"2022_01_04.md\",\n    \"Alias\": [],\n    \"Path\": \"journals/2022_01_04.md\",\n    \"Public\": false\n  },\n  {\n    \"Name\": \"2022_01_10.md\",\n    \"Alias\": [],\n    \"Path\": \"journals/2022_01_10.md\",\n    \"Public\": false\n  },\n  {\n    \"Name\": \"2022_01_20.md\",\n    \"Alias\": [],\n    \"Path\": \"journals/2022_01_20.md\",\n    \"Public\": false\n  },\n  {\n    \"Name\": \"2022_01_21.md\",\n    \"Alias\": [],\n    \"Path\": \"journals/2022_01_21.md\",\n    \"Public\": false\n  }\n]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrrl%2Flogseq-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrrl%2Flogseq-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrrl%2Flogseq-pages/lists"}