Skip to content

Vithrax/discord-autopost

Repository files navigation

GitHub contributors GitHub discussions GitHub issues GitHub pull request

🔍 Table of Contents

💻 Stack

📝 Project Summary

⚙️ Setting Up

DATABASE_URL

  • Specify the path to the SQL database file.

NEXTAUTH_SECRET

  • Generate a secret key using the command: openssl rand -base64 32

GOOGLE_CLIENT_ID

  • Create a new project in the Google Developer Console.
  • Enable the Google Sign-in API.
  • Go to the Credentials page and create a new OAuth 2.0 client ID.
  • Copy the generated client ID.

GOOGLE_CLIENT_SECRET

  • Follow the same steps as above to create a Google OAuth 2.0 client ID.
  • Copy the generated client secret.

DISCORD_WEBHOOK_URL

  • Create a webhook in a Discord server.
  • Copy the webhook URL.

🚀 Run Locally

1.Clone the t3-discord-autopost repository:

git clone https://github.com/Vithrax/t3-discord-autopost

2.Install the dependencies with one of the package managers listed below:

pnpm install
bun install
npm install
yarn install

3.Start the development mode:

pnpm dev
bun dev
npm run dev
yarn dev

🙌 Contributors

Vithrax
Vithrax

7 contributions

📄 License

MIT License

Copyright (c) 2023 Adrian Gajdulewicz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors