{"id":13552369,"url":"https://github.com/neurobin/tartos","last_synced_at":"2025-08-04T17:34:12.480Z","repository":{"id":29834360,"uuid":"33379019","full_name":"neurobin/tartos","owner":"neurobin","description":"TAR archive to shell script converter","archived":false,"fork":false,"pushed_at":"2017-03-28T22:23:11.000Z","size":47,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T20:07:57.630Z","etag":null,"topics":["installer","installer-script","self-extracting-script","self-extracting-shell-script","shell","tar-archive","tartos-script"],"latest_commit_sha":null,"homepage":"http://neurobin.github.io/tartos","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neurobin.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}},"created_at":"2015-04-03T19:25:37.000Z","updated_at":"2023-06-10T09:40:46.000Z","dependencies_parsed_at":"2022-09-12T07:50:28.443Z","dependency_job_id":null,"html_url":"https://github.com/neurobin/tartos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neurobin/tartos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurobin%2Ftartos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurobin%2Ftartos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurobin%2Ftartos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurobin%2Ftartos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurobin","download_url":"https://codeload.github.com/neurobin/tartos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurobin%2Ftartos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268733223,"owners_count":24298497,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["installer","installer-script","self-extracting-script","self-extracting-shell-script","shell","tar-archive","tartos-script"],"created_at":"2024-08-01T12:02:02.913Z","updated_at":"2025-08-04T17:34:12.428Z","avatar_url":"https://github.com/neurobin.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# tartos\n**************************************************************\nTAR to shell script \n**************************************************************\n\nThe tartos script is a standalone bash shell script which binds different type of TAR archives to a single shell script (bash).\nThis kind of approach is generally adopted to make a single install scipt from an existing tar archives with executable or installable software.\nIt can be used to make a self extracting archive/installer which does some additional jobs like installing softwares, compared to\nthe conventional tar archive files. The tartos script itself is written in bash and thus depends on it and on the package tar.\n\n# Supported TARs:\n\n    .tar\n    .tar.lz\n    .tar.lzo\n    .tar.lzma\n    .tar.gz\n    .tar.xz\n    .tar.bz2\n    \n    \n# Install:\n\nFrom source:\n\n    It can be installed by giving the \"install\" file execution permission and running it in terminal.\n\nFor Ubuntu:\n\n    sudo apt-add-repository -y ppa:neurobin/ppa\n    sudo apt-get update\n    sudo apt-get install tartos\n\n# Usage:\n\n```bash\ntartos archive scriptname\n```\n\n# Advanced usage:\n\n```bash\ntartos archive scriptname \"commands\" -o outputdir\n```\n\noutputdir is a directory which will be bound inside the shell script so that\nwhent the script runs the erntire content will be put in that directory. It can be a install directoy like `/opt` , `/usr/local` etc..\n\n1. It can take upto four arguments, the first argument is a tar archive, second one is the name of the target script file, third one is custom command and the 4th argument is `[-o outdir]`\n2. `[-o outdir]` can take any position as long as the sequence of the first three argument is maintained. `-o` and `-O` is equivalent \n2. output directory can be specified without `-o` too. In that case all the arguments are mandatory.\n3. It will ask for necessary arguments/info as it needs on the way.\n4. Give commands inside quotation mark: double quotation is recommended\n5. Best way of giving custom command is to write them in another script and put that script as a command into tartos command input. This script should reside in the tar archive itself and thus will be run after the archive is extracted (works like a post extract hook).\n\n# Examples:\nFirst form:\n```bash\n~$ tartos\nEnter the path of the tar archive: \n```\nSecond form:\n```bash\ntartos *.tar.bz2 install-me.sh\n```\nThird form:\n```bash\ntartos *.tar.bz2 install-me.sh './internal-installer.sh'\n```\n\nFourth form:\n```bash\ntartos -o outputdir *.tar.bz2 install-me.sh \"./internal-installer.sh\"\n```\n\nFifth form:\n```bash\ntartos *.tar.xz install-me.sh \"./internal-installer.sh\" outdir\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurobin%2Ftartos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurobin%2Ftartos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurobin%2Ftartos/lists"}