<commit_before># :bookmark: baton

> Easily share, capture and tag links with your team in Slack

---

`/baton pass https://talks.golang.org/2012/waza.slide#1 ["golang", "concurrency", "parallelism"]`

## :grey_question: Rationale

When we have to wrangle all the links that enable us to do our jobs better, it's common to:

* Unintentionally hoard the information in a local bookmark repo (Ctrl + D)
* Place the links in Wikis that aren't version controlled (which in a few ways is good) and have limited functionality
* Rely on crufty search history and hope that those useful links will just be there forever and easy to find
* Combine one or more of the above approaches, making the problem even worse

The goal of baton is to make it easier for teams to share and manage links that help accelerate productivity

## :wrench: Setup

### Hosted

baton currently has a public instance deployed at http://baton.apps.madhax.io

Team registration can be performed via a `POST` to `http://baton.apps.madhax.io/v1/teams`:

`$ curl -H "Content-Type: application/json" -X POST -d '{"token": "YOUR_SLACK_TOKEN", "team_id": "YOUR_TEAM_ID", "team_domain": "YOUR_TEAM_SUB_DOMAIN"}' http://baton.apps.madhax.io/v1/teams`

and yes, I will eventually get to a registration page :see_no_evil:
<commit_msg>:scroll: nit pickin<commit_after># :bookmark: baton

> Easily share, capture and tag links with your team in Slack

---

`/baton pass https://talks.golang.org/2012/waza.slide#1 ["golang", "concurrency", "parallelism"]`

## Rationale

When we have to wrangle all the links that enable us to do our jobs better, it's common to:

* Unintentionally hoard the information in a local bookmark repo (Ctrl + D)
* Place the links in Wikis that aren't version controlled (which in a few ways is good) and have limited functionality
* Rely on crufty search history and hope that those useful links will just be there forever and easy to find
* Combine one or more of the above approaches, making the problem even worse

The goal of baton is to make it easier for teams to share and manage links that help accelerate productivity

## :wrench: Setup

### Hosted

baton currently has a public instance deployed at http://baton.apps.madhax.io

Team registration can be performed via a `POST` to `http://baton.apps.madhax.io/v1/teams`:

`$ curl -H "Content-Type: application/json" -X POST -d '{"token": "YOUR_SLACK_TOKEN", "team_id": "YOUR_TEAM_ID", "team_domain": "YOUR_TEAM_SUB_DOMAIN"}' http://baton.apps.madhax.io/v1/teams`

and yes, I will eventually get to a registration page :see_no_evil:

{'fraction_non_alphanumeric': 0.09331259720062209, 'fraction_numerical': 0.005443234836702955, 'mean_word_length': 4.545258620689655, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '997753', 'n_tokens_mistral': 821, 'n_tokens_neox': 789, 'n_words': 345}