{"id":13496157,"url":"https://github.com/Cretezy/Swap","last_synced_at":"2025-03-28T18:31:36.416Z","repository":{"id":49325741,"uuid":"22853430","full_name":"Cretezy/Swap","owner":"Cretezy","description":"Simple swap setup script for Linux.","archived":false,"fork":false,"pushed_at":"2025-03-16T03:36:25.000Z","size":13,"stargazers_count":211,"open_issues_count":1,"forks_count":66,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-24T17:15:30.636Z","etag":null,"topics":["linux","swap"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Cretezy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-11T20:18:56.000Z","updated_at":"2025-03-16T03:36:29.000Z","dependencies_parsed_at":"2024-11-03T09:15:42.567Z","dependency_job_id":null,"html_url":"https://github.com/Cretezy/Swap","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/Cretezy%2FSwap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cretezy%2FSwap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cretezy%2FSwap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cretezy%2FSwap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cretezy","download_url":"https://codeload.github.com/Cretezy/Swap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246080562,"owners_count":20720551,"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":["linux","swap"],"created_at":"2024-07-31T19:01:43.142Z","updated_at":"2025-03-28T18:31:36.070Z","avatar_url":"https://github.com/Cretezy.png","language":"Shell","readme":"# Swap\n\nSimple swap setup script for Linux\n\nSwap is an area on a hard drive that has been designated as a place where the operating system can temporarily store data that it can no longer hold in RAM.\n\nDisclamer: This script may not work on every GNU/Linux distro. Sorry.\n\n## Usage\n\nFirst of all, download the main script using `wget` or `curl`:\n```\nwget https://raw.githubusercontent.com/Cretezy/Swap/master/swap.sh -O swap\n# or using curl:\n# curl https://raw.githubusercontent.com/Cretezy/Swap/master/swap.sh -o swap\n```\n\nThen simply run the file with this format:\n```\nsh swap \u003csize\u003e\n```\n\nExample (with 4G):\n```\nsh swap 4G\n```\n\nThe default path for the swap file is /swapfile. If you wish to change this, simple the file location (file must not exist) add it to the command:\n```\nsh swap 4G /swap\n```\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCretezy%2FSwap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCretezy%2FSwap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCretezy%2FSwap/lists"}