{"id":19233534,"url":"https://github.com/imightexist/node-hfs","last_synced_at":"2026-03-19T08:51:19.149Z","repository":{"id":143864952,"uuid":"487686265","full_name":"imightexist/node-HFS","owner":"imightexist","description":"a nodejs hfs server","archived":false,"fork":false,"pushed_at":"2022-05-05T22:56:02.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T11:42:38.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/imightexist.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":"2022-05-02T01:41:50.000Z","updated_at":"2022-05-04T23:49:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd643ce1-96cd-4597-a427-5eb58d693eea","html_url":"https://github.com/imightexist/node-HFS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imightexist/node-HFS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imightexist%2Fnode-HFS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imightexist%2Fnode-HFS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imightexist%2Fnode-HFS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imightexist%2Fnode-HFS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imightexist","download_url":"https://codeload.github.com/imightexist/node-HFS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imightexist%2Fnode-HFS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29968492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T10:55:55.490Z","status":"ssl_error","status_checked_at":"2026-03-01T10:55:55.175Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-09T16:11:03.171Z","updated_at":"2026-03-01T11:33:17.617Z","avatar_url":"https://github.com/imightexist.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-HFS\na nodejs hfs server\n## npm packages to install\nType this in the terminal before running: `npm install express path ws mime`\n## Warning\nif you need to, change the password in .env instead of config.json and change the code as well.\n## downloading with websocket\nWe have added direct downloads. you're welcome, but you can still download with websocket.\n```javascript\nconst websocketClient = require('websocket').client;\nconst ws = new websocketClient();\nconst fs = require('fs')\nws.on('connection',function(f){\n  f.sendUTF(JSON.stringify(['readfile','test.txt']));\n  f.on('message',function(msg){\n    message = JSON.parse(msg);\n    if (message[0] == \"download\"){\n      //message 1 is a data url\n      //message 2 is the filename\n      var regex = /^data:.+\\/(.+);base64,(.*)$/;\n\n      var matches = message[1].match(regex);\n      var ext = matches[1];\n      var data = matches[2];\n      var buffer = Buffer.from(data, 'base64');\n      fs.writeFileSync(message[2], buffer);\n    }\n  }\n}\nws.connect(\"wss://hfs.astroistaken.repl.co\");\n```\n## Demo\nhttps://hfs.astroistaken.repl.co\n\nYou can only upload 1 mb files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimightexist%2Fnode-hfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimightexist%2Fnode-hfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimightexist%2Fnode-hfs/lists"}