├── .dockerignore ├── .env.example ├── .eslintrc.js ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .lintstagedrc.js ├── .prettierrc ├── Dockerfile ├── LICENSE ├── README.md ├── assets └── nudge.png ├── commitlint.config.js ├── docker-compose.yml ├── package.json ├── src ├── app.ts ├── clients │ ├── brevo │ │ ├── brevo.ts │ │ └── index.ts │ ├── client.ts │ ├── discord │ │ ├── defaults.ts │ │ ├── discord.ts │ │ └── index.ts │ ├── index.ts │ ├── nodemailer │ │ ├── index.ts │ │ └── nodemailer.ts │ └── telegram │ │ ├── index.ts │ │ └── telegram.ts ├── config.ts ├── nudge │ ├── nudgeManager.ts │ ├── types.ts │ └── utils │ │ ├── index.ts │ │ └── randomGenerator.ts ├── scheduler │ ├── cronManager.ts │ └── index.ts └── types │ ├── index.ts │ └── messages │ ├── common.ts │ └── index.ts └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | dist -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged -------------------------------------------------------------------------------- /.lintstagedrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/.lintstagedrc.js -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/README.md -------------------------------------------------------------------------------- /assets/nudge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/assets/nudge.png -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'], 3 | } 4 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/package.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/clients/brevo/brevo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/clients/brevo/brevo.ts -------------------------------------------------------------------------------- /src/clients/brevo/index.ts: -------------------------------------------------------------------------------- 1 | export * from './brevo' 2 | -------------------------------------------------------------------------------- /src/clients/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/clients/client.ts -------------------------------------------------------------------------------- /src/clients/discord/defaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/clients/discord/defaults.ts -------------------------------------------------------------------------------- /src/clients/discord/discord.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/clients/discord/discord.ts -------------------------------------------------------------------------------- /src/clients/discord/index.ts: -------------------------------------------------------------------------------- 1 | export * from './discord' 2 | -------------------------------------------------------------------------------- /src/clients/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/clients/index.ts -------------------------------------------------------------------------------- /src/clients/nodemailer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './nodemailer' 2 | -------------------------------------------------------------------------------- /src/clients/nodemailer/nodemailer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/clients/nodemailer/nodemailer.ts -------------------------------------------------------------------------------- /src/clients/telegram/index.ts: -------------------------------------------------------------------------------- 1 | export * from './telegram' 2 | -------------------------------------------------------------------------------- /src/clients/telegram/telegram.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/clients/telegram/telegram.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/nudge/nudgeManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/nudge/nudgeManager.ts -------------------------------------------------------------------------------- /src/nudge/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/nudge/types.ts -------------------------------------------------------------------------------- /src/nudge/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './randomGenerator' 2 | -------------------------------------------------------------------------------- /src/nudge/utils/randomGenerator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/nudge/utils/randomGenerator.ts -------------------------------------------------------------------------------- /src/scheduler/cronManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/scheduler/cronManager.ts -------------------------------------------------------------------------------- /src/scheduler/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/scheduler/index.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './messages' 2 | -------------------------------------------------------------------------------- /src/types/messages/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/src/types/messages/common.ts -------------------------------------------------------------------------------- /src/types/messages/index.ts: -------------------------------------------------------------------------------- 1 | export * from './common' 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihguzeldev/nudge/HEAD/tsconfig.json --------------------------------------------------------------------------------