{"id":13646211,"url":"https://github.com/abs-lang/abs","last_synced_at":"2025-12-15T10:54:10.081Z","repository":{"id":33858090,"uuid":"161983108","full_name":"abs-lang/abs","owner":"abs-lang","description":"Home of the ABS programming language: the joy of shell scripting.","archived":false,"fork":false,"pushed_at":"2025-04-14T20:47:01.000Z","size":36465,"stargazers_count":533,"open_issues_count":66,"forks_count":34,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-14T21:43:19.831Z","etag":null,"topics":["bash","golang","programming-language","scripting","scripting-language","scripting-languages","shell","shell-scripting"],"latest_commit_sha":null,"homepage":"https://www.abs-lang.org","language":"Go","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/abs-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2018-12-16T08:45:08.000Z","updated_at":"2025-04-14T08:58:28.000Z","dependencies_parsed_at":"2024-01-18T23:09:16.351Z","dependency_job_id":"0de88a85-56de-411c-99f6-a4f148cf5d34","html_url":"https://github.com/abs-lang/abs","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abs-lang%2Fabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abs-lang%2Fabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abs-lang%2Fabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abs-lang%2Fabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abs-lang","download_url":"https://codeload.github.com/abs-lang/abs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250100707,"owners_count":21374988,"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":["bash","golang","programming-language","scripting","scripting-language","scripting-languages","shell","shell-scripting"],"created_at":"2024-08-02T01:02:50.647Z","updated_at":"2025-12-15T10:54:10.071Z","avatar_url":"https://github.com/abs-lang.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.abs-lang.org/\"\u003e\n    \u003cimg alt=\"abs language logo\" src=\"https://github.com/abs-lang/abs/blob/master/bin/ABS.png?raw=true\" width=\"310\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/abs-lang/abs\"\u003e\n    \u003cimg alt=\"GitHub Workflow Status (branch)\" src=\"https://img.shields.io/github/actions/workflow/status/abs-lang/abs/tests.yml?branch=master\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/abs-lang/abs\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/abs-lang/abs.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/abs-lang/abs\"\u003e\n    \u003cimg alt=\"Version\" src=\"https://img.shields.io/github/release-pre/abs-lang/abs.svg\"\u003e\n  \u003c/a\u003e\n  \u003cimg alt=\"undefined\" src=\"https://img.shields.io/github/release-date/abs-lang/abs.svg?style=flat\"\u003e\n  \u003cimg alt=\"undefined\" src=\"https://img.shields.io/github/downloads/abs-lang/abs/total.svg?style=flat\"\u003e\n  \u003cbr /\u003e\n  \u003cimg alt=\"undefined\" src=\"https://img.shields.io/badge/platform-linux | macosx | windows-red.svg\"\u003e\n  \u003cimg alt=\"undefined\"  src=\"https://img.shields.io/github/last-commit/abs-lang/abs.svg?style=flat\"\u003e\n  \u003ca href='https://coveralls.io/github/abs-lang/abs'\u003e\u003cimg src='https://coveralls.io/repos/github/abs-lang/abs/badge.svg' alt='Coverage Status' /\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cimg alt=\"undefined\" src=\"https://img.shields.io/github/contributors/abs-lang/abs.svg?style=flat\"\u003e\n  \u003cimg alt=\"undefined\" src=\"https://img.shields.io/github/issues/abs-lang/abs.svg?style=flat\"\u003e\n  \u003cimg alt=\"undefined\" src=\"https://img.shields.io/github/issues-pr-closed/abs-lang/abs.svg?style=flat\"\u003e\n  \u003cimg alt=\"undefined\" src=\"https://img.shields.io/github/stars/abs-lang/abs.svg?style=social\"\u003e\n\n\u003c/p\u003e\n\n# The ABS programming language\n\nABS is a programming language that works best when you're scripting on\nyour terminal. It tries to combine the elegance of languages\nsuch as Python, or Ruby with the convenience of Bash.\n\n``` bash\ntz = `cat /etc/timezone`\ncontinent, city = tz.split(\"/\")\n\necho(\"Best city in the world?\")\n\nselection = stdin()\n\nif selection == city {\n  echo(\"You might be biased...\")\n}\n```\n\nSee it in action:\n\n![sample](https://raw.githubusercontent.com/abs-lang/abs/refs/heads/master/docs/vhs/images/readme-sample.gif)\n\nLet's try to fetch our IP address and print the sum of its\nparts if it's higher than 100. Here's how you do it\nin Bash:\n\n``` bash\n# Simple program that fetches your IP and sums it up\nRES=$(curl -s 'https://api.ipify.org?format=json' || \"ERR\")\n\nif [ \"$RES\" = \"ERR\" ]; then\n    echo \"An error occurred\"\n    exit 1\nfi\n\nIP=$(echo $RES | jq -r \".ip\")\nIFS=. read first second third fourth \u003c\u003cEOF\n${IP##*-}\nEOF\n\ntotal=$((first + second + third + fourth))\nif [ $total -gt 100 ]; then\n    echo \"The sum of [$IP] is a large number, $total.\"\nfi\n```\n\nAnd here's the same code in ABS:\n\n``` bash\n# Simple program that fetches your IP and sums it up\nres = `curl -s 'https://api.ipify.org?format=json'`\n\nif !res.ok {\n  echo(\"An error occurred: %s\", res)\n  exit(1)\n}\n\nip = res.json().ip\ntotal = ip.split(\".\").map(int).sum()\nif total \u003e 100 {\n    echo(\"The sum of [$ip] is a large number, $total.\")\n}\n```\n\nWondering how to run this code? Grab the latest\n[release](https://github.com/abs-lang/abs/releases) and run:\n\n```\n$ abs script.abs\n```\n\n## Installation\n\nThe easiest way is to:\n\n``` bash\nbash \u003c(curl https://www.abs-lang.org/installer.sh)\n```\n\nthen you can:\n\n``` bash\n$ abs path/to/scripts.abs\n```\n\n## Documentation\n\nVisit [abs-lang.org](https://www.abs-lang.org) or check the [examples directory](https://github.com/abs-lang/abs/tree/master/examples),\nwhich contains a few short scripts.\n\n## Contributing\n\nWant to hack on ABS locally? The recommended development\nenvironment is inside a Docker container — simply:\n\n* `make build` (builds the container)\n* `make run` (sends you inside the development container)\n* `make test` (runs the abs tests)\n\nAfter you make any change, run `make test` and check\nif any errors pop up. If everything looks fine that means\nyou're ready to [open a pull request](https://github.com/abs-lang/abs/pulls)!\n\n## Status\n\nABS is fresh and under active development; exciting\nthings happen on a weekly basis!\n\nHave a look at the roadmap [here](https://github.com/abs-lang/abs/milestones):\nto know of what version we're currently working on take a look at [abs-lang.org/misc/technical-details](https://www.abs-lang.org/misc/technical-details).\n","funding_links":[],"categories":["Go","Other"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabs-lang%2Fabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabs-lang%2Fabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabs-lang%2Fabs/lists"}