{"id":29426988,"url":"https://github.com/jguyomard/slackbot-links","last_synced_at":"2026-05-08T14:13:02.492Z","repository":{"id":57525287,"uuid":"74816283","full_name":"jguyomard/slackbot-links","owner":"jguyomard","description":":books: A Slack Bot, to save all shared links to ElasticSearch","archived":false,"fork":false,"pushed_at":"2017-12-28T10:53:11.000Z","size":51,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"1.x","last_synced_at":"2025-07-12T22:59:15.495Z","etag":null,"topics":["bot","elasticsearch","go","slack","slackbot"],"latest_commit_sha":null,"homepage":"","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/jguyomard.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":"2016-11-26T09:24:32.000Z","updated_at":"2021-11-30T15:35:53.000Z","dependencies_parsed_at":"2022-09-19T11:00:41.795Z","dependency_job_id":null,"html_url":"https://github.com/jguyomard/slackbot-links","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jguyomard/slackbot-links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fslackbot-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fslackbot-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fslackbot-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fslackbot-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jguyomard","download_url":"https://codeload.github.com/jguyomard/slackbot-links/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguyomard%2Fslackbot-links/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274159412,"owners_count":25232635,"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-09-08T02:00:09.813Z","response_time":121,"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":["bot","elasticsearch","go","slack","slackbot"],"created_at":"2025-07-12T13:01:01.378Z","updated_at":"2026-05-08T14:12:57.442Z","avatar_url":"https://github.com/jguyomard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slackbot Links\n\nDo you use Slack? Do you share links with your co-workers?\nSlackBot-Links store all theses urls, enrich them with metadata, and expose them through a REST API.\nYou can now find shared urls by searching in their title, content, author name...\n\n\n## Get Started\n\n### 1. Build Slackbot Links\n\n```\ngo get github.com/jguyomard/slackbot-links\n```\n\nNote: You need to set `GOPATH` correctly before running this.\n\n### 2. [Create a new bot on Slack](https://my.slack.com/services/new/bot)\n\nOnce you create this bot, you will get an API token. Create `config.yaml` and edit it to add your bot token:\n\n```\ncp $GOPATH/src/github.com/jguyomard/slackbot-links/config.yaml.sample /etc/slackbot-links/config.yaml\nvi /etc/slackbot-links/config.yaml\n```\n\nThen, invite this bot to channels of your choice (`#links` for instance).\n\n\n### 3. Start Elastic Search\n\nThis bot use Elastic Search to save links. The client connects to Elasticsearch on `http://localhost:9200` by default.\n\nFor instance, to start Elastic Search using official docker image:\n```\ndocker run -d -p 9200:9200 elasticsearch:2\n```\n\n### 4. Run this bot\n\nif `$PATH` contains `$GOPATH/bin`, `slackbot-links` command is now available:\n\n```\nslackbot-links -config-file=/etc/slackbot-links/config.yaml\n```\n\nYour bot is live!\nYou can now share link on `#links` and fetch them using REST API :\n\n```\ncurl localhost:9300/v1/links/\n```\n\n\n## API\n\nREST API Documentation can be found [here](https://jguyomard.github.io/slackbot-links).\n\n\nThis documentation is generated from `API.apib` file (API Blueprint syntax):\n\n```\nmake docapi\n```\n\n\n## Commands\n\n### `restore`\n\nThis command recreates the Elasticsearch index from a given `links.log` log file.\nThis is very useful for fast testing with a given scenario, or for initializing a staging environment, for instance.\n\n```\nslackbot-links -config-file=/etc/slackbot-links/config.yaml -links-file=./links-tests.log restore\n```\n\nIf a link already exists (same ID), it is updated.\n\n\n## Testing\n\nTo run the test suite:\n\n```\nmake test\n```\n\n\n## Issues\n\nIf you have any problems with or questions about this Service Provider, please contact me through a [GitHub issue](https://github.com/jguyomard/slackbot-links/issues).\n\n\n## Contributing\n\nYou are invited to contribute new features, fixes or updates to this container, through a [Github Pull Request](https://github.com/jguyomard/slackbot-links/pulls).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjguyomard%2Fslackbot-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjguyomard%2Fslackbot-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjguyomard%2Fslackbot-links/lists"}