{"id":15767942,"url":"https://github.com/ijjk/slack-contact-form","last_synced_at":"2025-08-28T22:32:00.991Z","repository":{"id":37914435,"uuid":"201789067","full_name":"ijjk/slack-contact-form","owner":"ijjk","description":"Example Next.js application that integrates with Slack to receive contact form submissions","archived":false,"fork":false,"pushed_at":"2023-01-04T12:33:00.000Z","size":1578,"stargazers_count":3,"open_issues_count":16,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-04T13:42:16.783Z","etag":null,"topics":["api","nextjs","now","react","slack"],"latest_commit_sha":null,"homepage":"https://slack-contact-form.jj4.now.sh","language":"JavaScript","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/ijjk.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":"2019-08-11T16:31:12.000Z","updated_at":"2023-03-08T21:51:10.000Z","dependencies_parsed_at":"2023-02-02T12:32:10.027Z","dependency_job_id":null,"html_url":"https://github.com/ijjk/slack-contact-form","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/ijjk%2Fslack-contact-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijjk%2Fslack-contact-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijjk%2Fslack-contact-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijjk%2Fslack-contact-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ijjk","download_url":"https://codeload.github.com/ijjk/slack-contact-form/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231303101,"owners_count":18355448,"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":["api","nextjs","now","react","slack"],"created_at":"2024-10-04T13:41:51.477Z","updated_at":"2024-12-26T03:03:22.675Z","avatar_url":"https://github.com/ijjk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack Contact Form Demo\n\nShows example contact form that sends messages to a Slack channel\n\n## Getting Started\n\n1. Clone this app `git clone git@github.com:ijjk/slack-contact-form.git`\n2. Install dependencies `cd slack-contact-form; yarn`\n3. Start next exposing `SLACK_TOKEN` and `CHANNEL_ID`, `SLACK_TOKEN='TOKEN' CHANNEL_ID='id' yarn next`\n\n## Deploying\n\n1. Add secrets to `now` with `now secrets add slack-token 'TOKEN'` and `now secrets add slack-channel-id 'id'`\n2. Deploy it by running `now` in the project's root\n3. Enjoy\n\n## Getting channel id\n\nYou can get find the channel id using the `conversations.list` Slack API endpoint.\n\nExample: `curl https://ijjk.slack.com/api/conversations.list --form token='SLACK_TOKEN'`\n\n## Potential improvements\n\n- Add emoji previewing in the form to allow seeing Slack emojis in the textarea\n- Add spam prevention by storing hash of sender's IP in the message and looking up the messages for previous messages sent with the IP's hash","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijjk%2Fslack-contact-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijjk%2Fslack-contact-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijjk%2Fslack-contact-form/lists"}