{"id":18656782,"url":"https://github.com/optimalbits/servion","last_synced_at":"2026-03-07T01:35:43.662Z","repository":{"id":65474960,"uuid":"74490776","full_name":"OptimalBits/servion","owner":"OptimalBits","description":"A file server written in nodejs","archived":false,"fork":false,"pushed_at":"2016-11-25T15:48:35.000Z","size":4,"stargazers_count":9,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T16:55:31.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/OptimalBits.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}},"created_at":"2016-11-22T16:18:04.000Z","updated_at":"2022-02-09T18:47:40.000Z","dependencies_parsed_at":"2023-01-25T04:35:09.687Z","dependency_job_id":null,"html_url":"https://github.com/OptimalBits/servion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OptimalBits%2Fservion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OptimalBits%2Fservion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OptimalBits%2Fservion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OptimalBits%2Fservion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OptimalBits","download_url":"https://codeload.github.com/OptimalBits/servion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458445,"owners_count":21107080,"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-11-07T07:25:18.005Z","updated_at":"2026-03-07T01:35:43.614Z","avatar_url":"https://github.com/OptimalBits.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# servion\n\nBecause handling files in servers is error prone and not DRY. This simple service abstracts file management from\nyour application.\n\n\n# Install\n\n```npm install servion```\n\n\n# Use\n\n```\nvar servion = require('servion');\n\nservion({\n backend: servion.disk({\n   path: '/my/files/path',\n   temp: '/my/temp/files'\n }),\n  port: 8080,\n});\n```\n\nPOST FILE:\n```\ncurl --request POST --data-binary \"@file.mp4\" localhost:8080/my/foo/bar/file.mp4\n```\n\nGET FILE:\n```\ncurl localhost:8080/my/foo/bar/file.mp4\n```\n\nDELETE FILE:\n```\ncurl -X DELETE localhost:8080/my/foo/bar/file.mp4\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimalbits%2Fservion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptimalbits%2Fservion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimalbits%2Fservion/lists"}