{"id":28858166,"url":"https://github.com/raviteja-112/pinas","last_synced_at":"2026-05-08T14:49:17.519Z","repository":{"id":298747090,"uuid":"1000768556","full_name":"raviteja-112/PiNAS","owner":"raviteja-112","description":"PiNAS is a web-based interface for managing files on a Raspberry Pi or any NAS device. Built with FastAPI, SQLAlchemy, and Jinja2, it enables browsing, uploading, and deleting files/directories via a user-friendly web interface.","archived":false,"fork":false,"pushed_at":"2025-06-12T16:12:58.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T02:05:24.980Z","etag":null,"topics":["fastapi","nas","networkstorage","raspberrypi","sqlalchemy"],"latest_commit_sha":null,"homepage":"","language":"Python","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/raviteja-112.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,"zenodo":null}},"created_at":"2025-06-12T09:41:05.000Z","updated_at":"2025-06-12T16:15:49.000Z","dependencies_parsed_at":"2025-06-12T17:26:05.388Z","dependency_job_id":"494d522d-d005-4221-8e39-d1ad14a956d0","html_url":"https://github.com/raviteja-112/PiNAS","commit_stats":null,"previous_names":["raviteja-112/pinas"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raviteja-112/PiNAS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviteja-112%2FPiNAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviteja-112%2FPiNAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviteja-112%2FPiNAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviteja-112%2FPiNAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raviteja-112","download_url":"https://codeload.github.com/raviteja-112/PiNAS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviteja-112%2FPiNAS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260862913,"owners_count":23074182,"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":["fastapi","nas","networkstorage","raspberrypi","sqlalchemy"],"created_at":"2025-06-20T02:05:26.262Z","updated_at":"2026-05-08T14:49:17.512Z","avatar_url":"https://github.com/raviteja-112.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiNAS: Raspberry Pi Network Attached Storage Interface\n\nA web-based interface for managing files on a Raspberry Pi or any network-attached storage (NAS) device. Built with FastAPI, SQLAlchemy, and Jinja2 templates, PiNAS allows users to browse, upload, and delete files and directories through a web interface.\n\n## Features\n\n- User authentication and session management\n- File and directory browsing\n- File upload functionality\n- File and directory deletion\n- Admin user management\n- Configurable base directory for file operations\n- Environment variable-based configuration\n\n## Use Cases\n\n- Simple file management for local directories\n- Basic file sharing within a small team\n- Lightweight alternative to more complex file management systems\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/raviteja-112/PiNAS.git\n   cd pinas\n   ```\n\n2. Create a virtual environment and activate it:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install the required packages:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Create a `.env` file with the following content:\n   ```\n   SESSION_SECRET_KEY=your-secure-secret-key\n   ADMIN_PASSWORD=your-secure-admin-password\n   BASE_PATH=/path/to/your/base/directory\n   ```\n\n5. Run the application:\n   ```bash\n   uvicorn main:app --reload\n   ```\n\n6. Open your browser and navigate to `http://127.0.0.1:8000`\n\n## Usage\n\n1. Log in with the default admin credentials (username: `admin`, password: `your-secure-admin-password`)\n2. Browse files and directories in the configured base path\n3. Upload new files using the upload form\n4. Delete files or directories using the delete button\n5. Register new users (admin functionality)\n\n## Configuration\n\nThe application can be configured using environment variables:\n\n- `SESSION_SECRET_KEY`: Secret key for session management\n- `ADMIN_PASSWORD`: Password for the default admin user\n- `BASE_PATH`: Base directory for file operations\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviteja-112%2Fpinas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraviteja-112%2Fpinas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviteja-112%2Fpinas/lists"}