{"id":7743699,"name":"logseq/publish-spa","ecosystem":"actions","description":"Publishes a Logseq graph as a Single Page Application (SPA)","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/logseq/publish-spa","keywords_array":["github-actions","logseq","nbb","publish"],"namespace":"logseq","versions_count":4,"first_release_published_at":"2023-04-13T20:16:22.000Z","latest_release_published_at":"2024-02-09T15:53:47.000Z","latest_release_number":"v0.3.1","last_synced_at":"2026-10-08T08:37:27.086Z","created_at":"2023-05-17T08:45:11.540Z","updated_at":"2026-10-08T08:40:24.586Z","registry_url":"https://github.com/logseq/publish-spa","install_command":null,"documentation_url":null,"metadata":{"name":"Logseq Publish SPA","description":"Publishes a Logseq graph as a Single Page Application (SPA)","inputs":{"graph-directory":{"description":"Graph's root directory","required":true,"default":"."},"output-directory":{"description":"Directory for published graph","required":true,"default":"www"},"version":{"description":"Frontend version of Logseq - git tag or SHA","required":true,"default":"0.10.6"},"theme-mode":{"description":"Theme mode of frontend. Can be 'dark' or 'light'","required":false,"default":"light"},"accent-color":{"description":"Accent color of frontend. 10+ colors available.","required":false,"default":"blue"}},"runs":{"using":"composite","steps":[{"name":"Checkout logseq","uses":"actions/checkout@v4","with":{"repository":"logseq/logseq","path":".logseq-logseq","ref":"${{ inputs.version }}"}},{"name":"Checkout action","uses":"actions/checkout@v4","with":{"repository":"logseq/publish-spa","path":".logseq-publish-spa"}},{"name":"Set up Clojure","uses":"DeLaGuardo/setup-clojure@master","with":{"cli":"1.11.1.1182","bb":"1.2.174"}},{"name":"Set up Node","uses":"actions/setup-node@v5","with":{"node-version":"20","cache":"yarn","cache-dependency-path":".logseq-publish-spa/yarn.lock"}},{"name":"Logseq static cache","uses":"actions/cache@v3","id":"logseq-static-all","with":{"path":".logseq-logseq/static","key":"${{ runner.os }}-logseq-static-all-${{ inputs.version }}","restore-keys":"${{ runner.os }}-logseq-static-all-${{ inputs.version }}"}},{"name":"Fetch logseq's yarn deps, build static dir and build cljs publishing","if":"steps.logseq-static-all.outputs.cache-hit != 'true'","run":"cd .logseq-logseq \u0026\u0026 yarn install --frozen-lockfile \u0026\u0026 yarn gulp:build \u0026\u0026 clojure -M:cljs release publishing","shell":"bash"},{"name":"Fetch yarn deps","run":"cd .logseq-publish-spa \u0026\u0026 yarn install --frozen-lockfile","shell":"bash"},{"name":"Nbb cache","uses":"actions/cache@v3","id":"nbb-deps","with":{"path":"~/.m2/repository\n~/.gitlibs\n.logseq-publish-spa/.nbb/.cache\n","key":"${{ runner.os }}-nbb-deps-${{ hashFiles('.logseq-publish-spa/nbb.edn') }}","restore-keys":"${{ runner.os }}-nbb-deps-"}},{"name":"Fetch nbb deps","if":"steps.nbb-deps.outputs.cache-hit != 'true'","run":"cd .logseq-publish-spa \u0026\u0026 yarn nbb-logseq -e ':fetching-deps'","shell":"bash"},{"name":"Export graph to directory","run":"cd .logseq-publish-spa \u0026\u0026 node publish_spa.mjs ${{ inputs.output-directory }} --static-directory .logseq-logseq/static --directory ${{ inputs.graph-directory }} --theme-mode ${{ inputs.theme-mode }} --accent-color ${{ inputs.accent-color }}","shell":"bash"}]},"default_branch":"main","path":null},"repo_metadata":{"id":154235423,"uuid":"627102346","full_name":"logseq/publish-spa","owner":"logseq","description":"A github action and CLI to publish logseq graphs as a SPA app","archived":false,"fork":false,"pushed_at":"2026-04-29T21:26:28.000Z","size":106750,"stargazers_count":313,"open_issues_count":16,"forks_count":29,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-09-28T03:38:42.774Z","etag":null,"topics":["github-actions","logseq","nbb","publish"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/logseq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2023-04-12T19:38:52.000Z","updated_at":"2026-08-23T08:48:42.000Z","dependencies_parsed_at":"2026-09-01T06:25:15.160Z","dependency_job_id":"9dbeefb6-37d5-4c09-b769-2178edd9b6b5","html_url":"https://github.com/logseq/publish-spa","commit_stats":{"total_commits":50,"total_committers":5,"mean_commits":10.0,"dds":0.07999999999999996,"last_synced_commit":"cb365242b95ffe269e67c147efc5ea8ad1ca65a6"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/logseq/publish-spa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logseq","download_url":"https://codeload.github.com/logseq/publish-spa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/sbom","scorecard":{"id":597447,"data":{"date":"2025-08-11","repo":{"name":"github.com/logseq/publish-spa","commit":"353b3654d00d6a5df2bb7b8bfef93766cdaad01c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 4/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/logseq/publish-spa/test.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/publish.yml:7","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T23:30:12.050Z","repository_id":154235423,"created_at":"2025-08-20T23:30:12.050Z","updated_at":"2025-08-20T23:30:12.050Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38110525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-08T02:00:05.744Z","response_time":97,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"logseq","name":"Logseq","uuid":"63385289","kind":"organization","description":"A privacy-first, open-source platform for knowledge management and collaboration.","email":null,"website":"https://logseq.com","location":null,"twitter":"logseq","company":null,"icon_url":"https://avatars.githubusercontent.com/u/63385289?v=4","repositories_count":82,"last_synced_at":"2026-10-02T01:06:44.326Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/logseq","funding_links":[],"total_stars":50728,"followers":3111,"following":0,"created_at":"2022-11-14T05:45:48.391Z","updated_at":"2026-10-02T01:06:44.338Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logseq","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logseq/repositories"},"tags":[{"name":"v0.3.1","sha":"3fa40f2288e96b5927037610e2445f892a438d79","kind":"commit","published_at":"2024-02-09T15:53:47.000Z","download_url":"https://codeload.github.com/logseq/publish-spa/tar.gz/v0.3.1","html_url":"https://github.com/logseq/publish-spa/releases/tag/v0.3.1","dependencies_parsed_at":"2024-02-12T04:27:00.626Z","dependency_job_id":null,"purl":"pkg:github/logseq/publish-spa@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"edf2903ebde1bc1e19f06e5889942d2f49079607","kind":"commit","published_at":"2023-11-30T14:25:53.000Z","download_url":"https://codeload.github.com/logseq/publish-spa/tar.gz/v0.3.0","html_url":"https://github.com/logseq/publish-spa/releases/tag/v0.3.0","dependencies_parsed_at":"2023-12-02T04:09:43.403Z","dependency_job_id":null,"purl":"pkg:github/logseq/publish-spa@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"58a011d2858aef825833782d6e5ed20848921a16","kind":"commit","published_at":"2023-05-26T13:38:37.000Z","download_url":"https://codeload.github.com/logseq/publish-spa/tar.gz/v0.2.0","html_url":"https://github.com/logseq/publish-spa/releases/tag/v0.2.0","dependencies_parsed_at":"2023-06-01T00:04:33.292Z","dependency_job_id":null,"purl":"pkg:github/logseq/publish-spa@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"155a9a8f45689392fe3732a78deac5eb15eed0c7","kind":"commit","published_at":"2023-04-13T20:16:22.000Z","download_url":"https://codeload.github.com/logseq/publish-spa/tar.gz/v0.1.0","html_url":"https://github.com/logseq/publish-spa/releases/tag/v0.1.0","dependencies_parsed_at":"2023-06-01T00:04:24.703Z","dependency_job_id":null,"purl":"pkg:github/logseq/publish-spa@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-10-08T08:40:24.586Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":60,"rankings":{"downloads":null,"dependent_repos_count":5.999049279036603,"dependent_packages_count":0.0,"stargazers_count":1.483124702899699,"forks_count":7.4156235144984946,"docker_downloads_count":null,"average":3.724449374108699},"purl":"pkg:githubactions/logseq/publish-spa","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/logseq/publish-spa","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/logseq/publish-spa","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/logseq/publish-spa/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-28T01:49:13.521Z","issues_count":34,"pull_requests_count":16,"avg_time_to_close_issue":4970801.85,"avg_time_to_close_pull_request":3664778.2,"issues_closed_count":20,"pull_requests_closed_count":10,"pull_request_authors_count":8,"issue_authors_count":27,"avg_comments_per_issue":1.8823529411764706,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":5,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":712983.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":2.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fpublish-spa/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/logseq%2Fpublish-spa/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/logseq%2Fpublish-spa/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/logseq%2Fpublish-spa/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/logseq%2Fpublish-spa/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/logseq%2Fpublish-spa/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/logseq%2Fpublish-spa/codemeta","maintainers":[]}