{"id":23899335,"url":"https://github.com/alexb5dh/filebrowser","last_synced_at":"2025-02-23T08:25:10.653Z","repository":{"id":245996470,"uuid":"69612366","full_name":"alexb5dh/FileBrowser","owner":"alexb5dh","description":"Small homemade AngularJS + Web API project","archived":false,"fork":false,"pushed_at":"2016-09-30T15:42:26.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T18:18:29.631Z","etag":null,"topics":["angular1","aspnet4","test-assignment"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/alexb5dh.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":"2016-09-29T22:17:14.000Z","updated_at":"2018-07-02T03:28:02.000Z","dependencies_parsed_at":"2024-06-25T09:25:18.626Z","dependency_job_id":"0e7dea44-a1e2-4770-aed7-c7c25a6bce95","html_url":"https://github.com/alexb5dh/FileBrowser","commit_stats":null,"previous_names":["alexb5dh/filebrowser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexb5dh%2FFileBrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexb5dh%2FFileBrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexb5dh%2FFileBrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexb5dh%2FFileBrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexb5dh","download_url":"https://codeload.github.com/alexb5dh/FileBrowser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240288758,"owners_count":19777728,"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":["angular1","aspnet4","test-assignment"],"created_at":"2025-01-04T18:18:33.495Z","updated_at":"2025-02-23T08:25:10.628Z","avatar_url":"https://github.com/alexb5dh.png","language":"C#","readme":"# Table of Contents\n1. [Routing](#routing)\n2. [Statistics](#statistics)\n3. [API](#api)\n\n![image](https://cloud.githubusercontent.com/assets/4650832/18976754/f58c86ee-86bc-11e6-895a-5262ef8c2ad2.png)\n\n# Routing\n![image](https://cloud.githubusercontent.com/assets/4650832/18976403/46d7c52a-86ba-11e6-850b-123fb1031ba2.png)  \nSite uses AngularJS routing for file system browsing. It greatly simplifies integration with browser history functionality (back, forward, reload) and allows to keep track of current location in address bar.\nIt also allows to save/copy direct link with current path. \"Hashbang\" is used to handle full Windows pathes with drive names.\n\nDirectory content is preloaded in route resolving stage to make sure directory is accessible and prevent navigation in case of failure.\n\n# Statistics\nStatistics (file-by-size-range counting) takes a noticable amount of time and disk throughput for large folders with tens of thousands of files. Application tries to minimize this by cancelling unnecessary calculation in case of route change.\n\nCalculation ignore folders inaccessible due to insufficient rights and files/folders with full name exceeding 255 character limit.\n\n# API\n## Browse\n`GET /browse/?path=\u003cpath\u003e`  \nReturns list of files and folders in the directory specified by `path`.\n\n```json\n{\n    \"folders\": {\n        \"name\": \"\",\n        \"path\": \"\"\n    },\n    \"files\": {\n        \"name\": \"\",\n        \"path\": \"\"\n    }\n}\n```\n\n## Download\n`GET /download/?path=\u003cpath\u003e`  \nDownloads the file specified by `path`.  \n\n## Statistics\n`GET /statistics/?path=\u003cpath\u003e`  \nRecursively calculates files by size ranges in directory specified by `path`.\n\n```json\n{\n    \"\u003c= 10MB\": 0,\n    \"10MB - 50MB\": 0,\n    \"\u003e= 100MB\": 0\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexb5dh%2Ffilebrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexb5dh%2Ffilebrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexb5dh%2Ffilebrowser/lists"}