{"id":31156020,"url":"https://github.com/lvchengbin/bifrost","last_synced_at":"2025-10-06T22:55:43.672Z","repository":{"id":91858602,"uuid":"136327848","full_name":"LvChengbin/bifrost","owner":"LvChengbin","description":" Providing a http server and client that used to transfer files between remote server and local system.","archived":false,"fork":false,"pushed_at":"2018-11-09T15:49:54.000Z","size":86,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T23:57:12.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LvChengbin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-06-06T12:48:40.000Z","updated_at":"2018-06-09T06:29:45.000Z","dependencies_parsed_at":"2023-04-06T13:49:39.066Z","dependency_job_id":null,"html_url":"https://github.com/LvChengbin/bifrost","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"349134a73bdff6318d8e1c8e82e12e337fb5787d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LvChengbin/bifrost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LvChengbin%2Fbifrost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LvChengbin%2Fbifrost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LvChengbin%2Fbifrost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LvChengbin%2Fbifrost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LvChengbin","download_url":"https://codeload.github.com/LvChengbin/bifrost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LvChengbin%2Fbifrost/sbom","scorecard":{"id":86995,"data":{"date":"2025-08-11","repo":{"name":"github.com/LvChengbin/bifrost","commit":"349134a73bdff6318d8e1c8e82e12e337fb5787d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":0,"reason":"65 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-c6rq-rjc2-86v2","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-h452-7996-h45h","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-593f-38f6-jp5m","Warn: Project is vulnerable to: GHSA-x2rg-q646-7m2v","Warn: Project is vulnerable to: GHSA-jgmv-j7ww-jx2x","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-fhjf-83wg-r2j9","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-mqr2-w7wj-jjgr","Warn: Project is vulnerable to: GHSA-49j4-86m8-q2jw","Warn: Project is vulnerable to: GHSA-fpw7-j2hg-69v5","Warn: Project is vulnerable to: GHSA-4rch-2fh8-94vw","Warn: Project is vulnerable to: GHSA-pmh2-wpjm-fj45","Warn: Project is vulnerable to: GHSA-x77j-w7wf-fjmw","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-j44m-qm6p-hp7m","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-29xr-v42j-r956","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-332q-7ff2-57h2","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","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"}}]},"last_synced_at":"2025-08-15T07:08:13.446Z","repository_id":91858602,"created_at":"2025-08-15T07:08:13.446Z","updated_at":"2025-08-15T07:08:13.446Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275830147,"owners_count":25536278,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"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"}},"keywords":[],"created_at":"2025-09-18T20:50:22.967Z","updated_at":"2025-09-18T20:50:24.245Z","avatar_url":"https://github.com/LvChengbin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bifrost\n\nProviding a http server and client that used to transfer files between remote server and local system.\n\n\n\u003c!-- vim-markdown-toc GFM --\u003e\n\n* [Start](#start)\n* [Usage](#usage)\n    * [Bifrost Server](#bifrost-server)\n        * [biforst server start \\[ \\-\\-port \\] \\[ \\-\\-config \\]](#biforst-server-start----port-----config-)\n        * [bifrost server status](#bifrost-server-status)\n        * [bifrost server stop](#bifrost-server-stop)\n        * [bifrost server restart](#bifrost-server-restart)\n    * [Bifrost Client](#bifrost-client)\n        * [bifrost send local host:target](#bifrost-send-local-hosttarget)\n        * [bifrost get host:file [target]](#bifrost-get-hostfile-target)\n    * [Bifrost Cli](#bifrost-cli)\n        * [bifrost clean](#bifrost-clean)\n    * [.bifrost.js](#bifrostjs)\n\n\u003c!-- vim-markdown-toc --\u003e\n\n## Start\n\n`Bifrost` should be installed both on remote server and the local system.\n\n```sh\n$ npm i -g @lvchengbin/bifrost\n```\n\nOn the remote server, a bifrost server can be started with running:\n\n```sh\n$ bifrost server start --port=3100\n```\nBy running the cmd above, `bifrost` would try looking for the `~/.bifrost.js` file, and if `--port` is specfied, it will overwrite the port written in `~/.bifrost.js`. For more information about the `.bifrost.js`, see [.bifrost.js](#bifrostjs)\n\n## Usage\n\n### Bifrost Server\n\nWhile using bifrost server, the base dir is set to the home dir of current user, that means all relative path will be resolved with the home dir, including the path \"~\".\n\n#### biforst server start \\[ \\-\\-port \\] \\[ \\-\\-config \\]\n\u003e to start a server.\n\n```sh\n$ bifrost server start\n✔ server is started on port 3200\n```\n\n#### bifrost server status\n\u003e show running status of bifrost server.\n\n```sh\n$ bifrost server status\nbifrost server is running:\n Port: 3200\n Pid: 57908\n Config: /Users/lvchengbin/.bifrost.js\n```\n\n#### bifrost server stop \n\u003e to stop the running bifrost server.\n\n```sh\n$ bifrost server stop\n✔ stopping bifrost server...done!\n```\n\n#### bifrost server restart \n\u003e to stop and restart the running bifrost server.\n\n```sh\n$ bifrost server restart\n✔ stopping bifrost server...done!\n✔ server is started on port 3200\n```\n\n### Bifrost Client\n\n#### bifrost send local host:target\n\u003e to send a file from local system to the remote server.\n\n```sh\n$ bifrost send test.txt 127.0.0.1:3200:~\n✔ md5: d41d8cd98f00b204e9800998ecf8427e\n✔ finish sending test.txt to http://127.0.0.1:3200.\n```\nand you can set an alias for the remote server `127.0.0.1:3000` in `.bifrost.js`:\n\n```sh\n$ bifrost send test.txt local:3200:~\n✔ md5: d41d8cd98f00b204e9800998ecf8427e\n✔ finish sending test.txt to http://127.0.0.1:3200.\n```\nif you are sending a dir, it would be packed before sending:\n\n```sh\n$ bifrost send test local:~\n✔ packing files...done!\n✔ md5: 61e452a833e06bae7672322569a221ad\n✔ finish sending test to http://127.0.0.1:3200.\n```\n\n#### bifrost get host:file [target]\n\u003e to get a file or dir from remote server\n\n```sh\n$ bifrost get local:test.txt\n✔ finish getting test.txt from http://127.0.0.1:3200.\n✔ checking file with md5: d41d8cd98f00b204e9800998ecf8427e...passed!\n```\n\n### Bifrost Cli\n\n#### bifrost clean\n\u003e this command will clean all tmp files generated by bifrost.\n\n### .bifrost.js\n```js\nmodule.exports = {\n    server : {\n        port : 3200\n    },\n    client : {\n        servers : {\n            local : {\n                host : '127.0.0.1:3200'\n            }\n        } \n    }\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvchengbin%2Fbifrost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvchengbin%2Fbifrost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvchengbin%2Fbifrost/lists"}