{"id":47611013,"url":"https://github.com/heapoftrash/filetree","last_synced_at":"2026-04-01T20:11:13.487Z","repository":{"id":345820773,"uuid":"1183176016","full_name":"heapoftrash/filetree","owner":"heapoftrash","description":"Filetree is a minimalistic, self-hosted file manager - Browse, upload, preview, and manage files from your browser. No database — config in YAML or JSON. Single binary deployment.","archived":false,"fork":false,"pushed_at":"2026-04-01T11:17:36.000Z","size":1555,"stargazers_count":1,"open_issues_count":19,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-01T13:19:49.859Z","etag":null,"topics":["file-browser","file-explorer","file-manager","go","golang","react","self-hosted","web-file-browser","web-file-manager"],"latest_commit_sha":null,"homepage":"https://heapoftrash.github.io/filetree/","language":"TypeScript","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/heapoftrash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-16T10:52:18.000Z","updated_at":"2026-04-01T11:17:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/heapoftrash/filetree","commit_stats":null,"previous_names":["heapoftrash/filetree"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/heapoftrash/filetree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapoftrash%2Ffiletree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapoftrash%2Ffiletree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapoftrash%2Ffiletree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapoftrash%2Ffiletree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heapoftrash","download_url":"https://codeload.github.com/heapoftrash/filetree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapoftrash%2Ffiletree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":["file-browser","file-explorer","file-manager","go","golang","react","self-hosted","web-file-browser","web-file-manager"],"created_at":"2026-04-01T20:11:12.708Z","updated_at":"2026-04-01T20:11:13.457Z","avatar_url":"https://github.com/heapoftrash.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://heapoftrash.github.io/filetree/\"\u003e\n    \u003cimg src=\"docs/assets/logo-animated.svg\" width=\"320\" alt=\"Material for MkDocs\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e\n    Browse, upload, preview, and manage files from your browser.\n  \u003c/strong\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/heapoftrash/filetree/app\"\u003e\n    \u003cimg src=\"https://goreportcard.com/badge/github.com/heapoftrash/filetree/app\" alt=\"Go Report Card\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/heapoftrash/filetree/actions/workflows/ci.yml\"\u003e\n    \u003cimg src=\"https://github.com/heapoftrash/filetree/actions/workflows/ci.yml/badge.svg\" alt=\"Build status\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/heapoftrash/filetree/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/heapoftrash/filetree.svg\" alt=\"Latest release\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cstrong\u003eFiletree\u003c/strong\u003e is a minimalistic, self-hosted file manager — browse, upload, preview, and manage files from your browser. No cloud lock-in, no database. Simple YAML or JSON config, single binary deployment.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/images/demo.gif\" width=\"800\"/\u003e\n\u003c/p\u003e\n\u003chr/\u003e\n\n\n## Features\n\n- **Browse \u0026 manage** — List, create folders, rename, move, copy, delete (with trash)\n- **Upload** — Drag-and-drop, multipart uploads\n- **Rich previews** — Images, video, audio, PDF, Markdown, JSON, CSV, HTML, text\n- **Auth** — Google OAuth, GitHub OAuth, local users\n- **Configuration** — YAML or JSON config file, no database.\n- **Security** — Short-lived signed URLs for content previews, JWT auth\n\n## Tech stack\n\n- **Backend:** Go, Gin, JWT, OAuth2 (Google, GitHub)\n- **Frontend:** React, TypeScript, Ant Design, Vite\n\n## Quick start\n\nFull guides: **[Documentation](https://heapoftrash.github.io/filetree/)** — installation, production, configuration, authentication.\n\n### Docker (prebuilt image) \u003csmall\u003e recommended \u003c/small\u003e\n\n```bash\ndocker run -d -p 8080:8080 \\\n  -v /path/to/your/files:/data \\\n  -v /path/to/config.yaml:/app/config.yaml \\\n  -e CONFIG_FILE=/app/config.yaml \\\n  ghcr.io/heapoftrash/filetree:latest\n```\n\nIf the package is private, run `docker login ghcr.io` before `docker pull`.\n\n### Config file\n\n1. Copy [config.example.yaml](config.example.yaml) or [config.example.json](config.example.json) to `config.yaml` / `config.json`.\n2. Set **`CONFIG_FILE`** to that path when you start the binary or container (see [Configuration](#configuration)).\n3. Environment variables override the file. Full schema: [config file (docs)](https://heapoftrash.github.io/filetree/configuration/config-file/).\n\n### Production binary\n\n**Production binary** — `make build` runs the Vite production build, copies output into `app/uiembed/dist` for `go:embed`, and compiles **one** `app/filetree` binary with the UI embedded (install UI deps once: `cd app/web \u0026\u0026 npm ci`):\n\n```bash\ngit clone https://github.com/heapoftrash/filetree.git\nmake build\nROOT_PATH=/path/to/files CONFIG_FILE=./config.yaml ./app/filetree\n```\n\nThe **prebuilt container image** already uses an embedded UI (no separate static bundle directory in the image).\n\n**UI on disk (optional)** — `make build-app` (Go only) plus `make build-frontend` if you want `app/web/dist` on disk; run `./app/filetree` from the repo root and the server will pick up `app/web/dist`, `app/uiembed/dist`, or cwd-relative paths (see [documentation](https://heapoftrash.github.io/filetree/)).\n\nSee [docs/API.md](docs/API.md) for the API. Build docs locally: `pip install mkdocs-material \u0026\u0026 mkdocs serve`.\n\n### Development\n\n**API** — `cd app \u0026\u0026 go mod tidy \u0026\u0026 go run .` → **http://localhost:8080**\n\n**UI** — `cd app/web \u0026\u0026 npm install \u0026\u0026 npm run dev` → **http://localhost:5173** (proxies `/api` to the API)\n\nSet `frontend.url` in config to `http://localhost:5173` for CORS and OAuth.\n\n## Contributing\n\nContributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapoftrash%2Ffiletree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapoftrash%2Ffiletree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapoftrash%2Ffiletree/lists"}