{"id":16890214,"url":"https://github.com/marak/xp","last_synced_at":"2025-03-22T08:31:07.728Z","repository":{"id":65994102,"uuid":"1567429","full_name":"Marak/xp","owner":"Marak","description":"agile programming tools in Coffeescript","archived":false,"fork":false,"pushed_at":"2011-04-05T10:03:46.000Z","size":647,"stargazers_count":32,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T11:13:22.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/Marak.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}},"created_at":"2011-04-04T15:00:30.000Z","updated_at":"2022-01-06T21:09:04.000Z","dependencies_parsed_at":"2023-02-19T21:00:48.603Z","dependency_job_id":null,"html_url":"https://github.com/Marak/xp","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/Marak%2Fxp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marak%2Fxp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marak%2Fxp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marak%2Fxp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marak","download_url":"https://codeload.github.com/Marak/xp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198386,"owners_count":20414443,"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":[],"created_at":"2024-10-13T17:01:22.286Z","updated_at":"2025-03-22T08:31:07.683Z","avatar_url":"https://github.com/Marak.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"     ##     ## ########                                     \n      ##   ##  ##     ##                                      \n       ## ##   ##     ##                                      \n        ###    ########                                     \n       ## ##   ##                                             \n      ##   ##  ##                                             \n     ##     ## ##   agile programming tools in Coffeescript\n\n#v0.2.2\n\n### Warning: This software is pre [SemVer](http://semver.org/) v1.0.0, use accordingly.\n\n\n## Features\n  - (8) built in tools for getting agile\n  - Pluggable tool engine allows for easy creation of new tools\n  - Written in CoffeeScript\n  - Cross platform \n  - Built in Node.js\n  - Works on the command line or via node's module system\n\n##  Installation\n    [sudo] npm install xp\n\n##  Usage\n    xp [tool] [options]\n\n## Getting Help\n\n    xp\n    xp -help\n    xp --help\n\n## Warning: Violations of the \u003ca href=\"http://en.wikipedia.org/wiki/Unix_philosophy\"\u003eUnix Philosophy\u003c/a\u003e ahead\n\nYou might notice that a lot of xp's \"tools\" already exist in some form or another as \\*nix programs or combination of \\*nix programs. \\*nix has battle hardened programs which have been heavily used, tested, optimized, and are generally of very high quality. **xp doesn't aim to replace these any of these.** xp is a *convenience* library aimed towards non-expert users. xp uses [CoffeeScript](http://coffeescript.com) and [node](http://nodejs.org), which makes it fun to use. **If you already know how to perform these actions via vanilla \\*nix tools, I encourage you to continue to do so.** \n\nIf anyone is willing to write concise documentation for executing the functionality of xp's tools using only pre-existing \\*nix commands, I would be very glad to add that information to this document.\n\n# Tools\n\n\n## base64\nbase64 encoding tool \n\nusage:\n\n    xp base64 string\n\n    flags:\n\n      -d, decodes string\n\n\n## imgur\n\nquick image sharing through imgur.com\n\nusage:\n\n    xp imgur /path/to/image.png\n\n## ip\n\ndetermines public ip address of current machine \n\nusage:\n\n    xp ip\n\n## loc\n\ndetermines the amount of lines of code in files\n\nusage:\n\n    xp loc .\n    xp loc /path/to/file.txt\n    xp loc /path/to/dir/\n    xp loc /path/to/dir/*.txt\n\n## pair\n\nmanages pair programming teams for Git   \n\nusage:\n\n    xp pair\n\n    flags:\n\n      -l, lists current team members\n      -a shorttag name, adds a member to your team\n      -d shortag, deletes a member from your team\n\nexamples:\n\n**resets current team back to default git user**\n\n    xp pair\n\n**list current team members**\n\n    xp pair -l\n\n**adds Marak Squires as \"ms\"**\n\n    xp pair -a ms Marak Squires\n\n**adds Charlie Robbins as \"cr\"**\n\n    xp pair -a cr Charlie Robbins\n\n**pair up for commits**\n\n    xp pair ms cr\n\n**delete Marak Squires from team**\n\n    xp pair -d mr\n\n\n     \n\n## tabs\nconverts tabs to spaces and spaces to tabs\n\nusage:\n\n    xp tabs .\n    xp tabs /path/to/file.txt\n    xp tabs /path/to/dir/\n    xp tabs /path/to/dir/*.txt\n\n\n## url\n\nurl encoding / decoding tool  \n\nusage:\n\n    xp url string\n\n    flags:\n\n      -d, decodes string\n  \n## web\nspawns a static web server from directory paths\n\nusage:\n     \n    xp web\n    xp web ./path/to/webroot\n    xp web -p 8081\n\n    flags:\n\n      -p, port\n\n\n## ws\nremoves excess whitespace from files\n\nusage:\n\n    xp ws .\n    xp ws /path/to/file.txt\n    xp ws /path/to/dir/\n    xp ws /path/to/dir/*.txt\n\n## Credits\n\nOriginal concept and idea by [Marak](https://github.com/marak) and [Feisty Studios](https://github.com/feisty)\n\n[imgur](http://imgur.com) code from Jacob Chapel, [@Chapel](https://github.com/chapel)\n\nws code by Fedor Induty [@donnerjack13589](https://github.com/donnerjack13589)\n\npair code from Nicholas Kinsey [@pyrotechnick](https://github.com/pyrotechnick)\n\n[node-static](http://github.com/cloudhead/node-static) web server by Alexis Sellier [@cloudhead](https://github.com/cloudhead)\n\nconfigurations with nConf by Charlie Robbins [@indexzero](http://github.com/indexzero/nconf)\n\n[Coffeescript](http://Coffeescript.com) by Jeremy Ashkenas [@jashkenas](https://github.com/jashkenas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarak%2Fxp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarak%2Fxp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarak%2Fxp/lists"}