{"id":26487957,"url":"https://github.com/acrion/ditana-ramdisk","last_synced_at":"2025-03-20T06:54:44.611Z","repository":{"id":282851274,"uuid":"910592074","full_name":"acrion/ditana-ramdisk","owner":"acrion","description":"User-specific RAM disk service","archived":false,"fork":false,"pushed_at":"2025-03-17T08:51:06.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-17T09:42:54.652Z","etag":null,"topics":["ditana","ramdisk","thunar"],"latest_commit_sha":null,"homepage":"https://ditana.org","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acrion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"acrion","liberapay":"acrion","buy_me_a_coffee":"acrion","patreon":"acriondev"}},"created_at":"2024-12-31T18:31:36.000Z","updated_at":"2025-03-17T08:51:09.000Z","dependencies_parsed_at":"2025-03-17T10:45:43.379Z","dependency_job_id":null,"html_url":"https://github.com/acrion/ditana-ramdisk","commit_stats":null,"previous_names":["acrion/ditana-ramdisk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrion%2Fditana-ramdisk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrion%2Fditana-ramdisk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrion%2Fditana-ramdisk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrion%2Fditana-ramdisk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acrion","download_url":"https://codeload.github.com/acrion/ditana-ramdisk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566908,"owners_count":20473451,"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":["ditana","ramdisk","thunar"],"created_at":"2025-03-20T06:54:44.189Z","updated_at":"2025-03-20T06:54:44.600Z","avatar_url":"https://github.com/acrion.png","language":"Shell","funding_links":["https://github.com/sponsors/acrion","https://liberapay.com/acrion","https://buymeacoffee.com/acrion","https://patreon.com/acriondev"],"categories":[],"sub_categories":[],"readme":"# ditana-ramdisk\n\nThis package provides a user-specific RAM disk service for Ditana GNU/Linux, offering fast, temporary storage with enhanced privacy and organization.\n\n## Description\n\n`ditana-ramdisk` creates a temporary storage space in RAM, similar to `/tmp`, but with several key advantages:\n\n- User-specific: Mounted in the user's runtime directory (`$XDG_RUNTIME_DIR`) and symlinked to `$HOME/RAMDisk` for easy access.\n- Clean and organized: Exclusively reserved for user data, free from system service files typically found in `$XDG_RUNTIME_DIR`.\n- Enhanced privacy: Unlike `/tmp`, which is globally accessible, this RAM disk is specific to the user, ensuring better control over access rights.\n- Convenient access: An environment variable, `$RAMDISK`, is set for easy reference in scripts or applications.\n- Desktop integration: For desktop users, the RAM disk is integrated into the file manager for quick access.\n\n## Features\n\n- Fast temporary storage ideal for tasks such as multimedia processing or caching.\n- Automatically cleared at logout, ensuring data privacy.\n- Seamless integration with the Thunar file manager (if installed).\n- Systemd service for automatic setup and management.\n\n## Installation\n\nThis package is typically installed by default through the Ditana Installer. For manual installation:\n\n```bash\nsudo pacman -S ditana-ramdisk\n```\n\n## Usage\n\nOnce installed, the RAM disk is automatically set up at user login. You can access it through:\n\n1. File manager: Look for \"RAM Disk\" in your bookmarks (if using Thunar).\n2. Command line: Navigate to `~/RAMDisk` or use the `$RAMDISK` environment variable.\n\nExample usage in a script:\n\n```bash\ncp large_file.dat $RAMDISK/\n# Process the file in RAM\nrm $RAMDISK/large_file.dat\n```\n\n## Configuration\n\nThe RAM disk is configured to be created in `/run/user/$UID/ramdisk`. This location is set in:\n\n- `/etc/environment.d/90-ditana-ramdisk.conf` for systemd context\n- `/etc/profile.d/ditana-ramdisk.sh` for user shell sessions\n\nYou can modify these files if you need to change the default location.\n\n## Uninstallation\n\nWhen removing the package, the systemd service will be disabled and the Thunar bookmark (if present) will be removed.\n\n```bash\nsudo pacman -R ditana-ramdisk\n```\n\n## Dependencies\n\n- systemd\n\nFor more information about Ditana GNU/Linux, visit [https://ditana.org](https://ditana.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrion%2Fditana-ramdisk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facrion%2Fditana-ramdisk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrion%2Fditana-ramdisk/lists"}