{"id":23406248,"url":"https://github.com/zozs/stina","last_synced_at":"2026-02-28T19:01:27.998Z","repository":{"id":42362104,"uuid":"124217656","full_name":"zozs/stina","owner":"zozs","description":"STINA: Swedish Text, Idiom, and Noun Announcer","archived":false,"fork":false,"pushed_at":"2023-01-10T03:11:13.000Z","size":219,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T21:46:29.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zozs.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":"2018-03-07T10:14:39.000Z","updated_at":"2022-12-18T13:33:09.000Z","dependencies_parsed_at":"2023-02-08T16:50:20.321Z","dependency_job_id":null,"html_url":"https://github.com/zozs/stina","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zozs/stina","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fstina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fstina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fstina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fstina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zozs","download_url":"https://codeload.github.com/zozs/stina/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fstina/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29948228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-12-22T13:33:01.508Z","updated_at":"2026-02-28T19:01:27.984Z","avatar_url":"https://github.com/zozs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STINA\n\n**STINA: Swedish Text, Idiom, and Noun Announcer**\n\nSTINA is a Slack app which periodically sends out something Swedish to a given\nSlack channel of choice. This allows people to learn useful (hopefully) things\nin Swedish :thumbsup:\n\n## Usage\n\nYou can always call `/stina help` to get a list of available commands. For\nreference, the same list is presented below:\n\n### Word-related commands\n\n- `/stina add`: add a new word to STINA\\'s database.\n- `/stina announce`: manually announce a random word from STINA\\'s database.\n\n### Other commands\n\n- `/stina stats`: return the number of words in the database.\n\n## Installation, configuration, and running\n\n### Installation\n\nFirst grab the source code.\n\n```\n$ git clone https://github.com/zozs/stina.git\n$ npm install\n```\n\nThen add an app to your Slack workspace. Configure it as follows:\n\n#### Interactive components\n\nAdd the URL to the server the app is running on, followed by `/interactive`, e.g. `https://example.com/interactive`\n\n#### Slash commands\n\nAdd the command `/stina`, with the request url similar to: `https://example.com/commands`\n\n#### Permissions\n\nAdd the following scopes:\n\n- `commands`\n- `channels:read`\n- `chat:write:bot`\n- `users:read`\n\n#### Install the app\n\nThe install the app, and go to Permissions and note down the generated token. Also look\nup the Verification token.\n\n### Configuration\n\nSTINA needs some environmental variables configured. You can either supply them as regular\nenvironmental variables in your shell, or put them in a `.env` file in the same folder as\n`stina.js`.\n\n * `SLACK_ACCESS_TOKEN`: STINA's app token\n * `SLACK_VERIFICATION_TOKEN`: Token to verify that the requests comes from Slack\n * `PORT`: Port for HTTP server to listen on\n * `ANNOUNCE_CHANNEL`: Channel ID (e.g. C12345678) in which to post word announcements.\n * `DATA`: path to json-file with all words.\n\n### Running\n\nJust launch the `stina.js` file with Node.\n\n## License\n\nSTINA is licensed under the ISC license, see the `LICENSE` file, or the text below:\n\n```\nCopyright (c) 2018, Linus Karlsson\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzozs%2Fstina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzozs%2Fstina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzozs%2Fstina/lists"}