├── .dockerignore ├── .github └── workflows │ └── go.yml ├── .gitignore ├── .golangci.yml ├── Dockerfile ├── LICENCE ├── Makefile ├── README.md ├── cmd └── tgfeed │ └── main.go ├── compose.yaml ├── go.mod ├── go.sum ├── go.tool.mod ├── go.tool.sum └── internal ├── api └── rest │ ├── ipfilter.go │ ├── ipfilter_test.go │ ├── middleware.go │ ├── server.go │ ├── telegram.go │ └── telegram_test.go ├── app └── logger.go ├── cache ├── cache.go └── redis.go ├── entity ├── channel.go └── params.go └── feed ├── extract.go ├── extract_test.go ├── generator.go ├── http.go ├── scraper.go └── scraper_test.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | cover.out 2 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/.golangci.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/LICENCE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/README.md -------------------------------------------------------------------------------- /cmd/tgfeed/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/cmd/tgfeed/main.go -------------------------------------------------------------------------------- /compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/compose.yaml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/go.sum -------------------------------------------------------------------------------- /go.tool.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/go.tool.mod -------------------------------------------------------------------------------- /go.tool.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/go.tool.sum -------------------------------------------------------------------------------- /internal/api/rest/ipfilter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/api/rest/ipfilter.go -------------------------------------------------------------------------------- /internal/api/rest/ipfilter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/api/rest/ipfilter_test.go -------------------------------------------------------------------------------- /internal/api/rest/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/api/rest/middleware.go -------------------------------------------------------------------------------- /internal/api/rest/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/api/rest/server.go -------------------------------------------------------------------------------- /internal/api/rest/telegram.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/api/rest/telegram.go -------------------------------------------------------------------------------- /internal/api/rest/telegram_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/api/rest/telegram_test.go -------------------------------------------------------------------------------- /internal/app/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/app/logger.go -------------------------------------------------------------------------------- /internal/cache/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/cache/cache.go -------------------------------------------------------------------------------- /internal/cache/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/cache/redis.go -------------------------------------------------------------------------------- /internal/entity/channel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/entity/channel.go -------------------------------------------------------------------------------- /internal/entity/params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/entity/params.go -------------------------------------------------------------------------------- /internal/feed/extract.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/feed/extract.go -------------------------------------------------------------------------------- /internal/feed/extract_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/feed/extract_test.go -------------------------------------------------------------------------------- /internal/feed/generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/feed/generator.go -------------------------------------------------------------------------------- /internal/feed/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/feed/http.go -------------------------------------------------------------------------------- /internal/feed/scraper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/feed/scraper.go -------------------------------------------------------------------------------- /internal/feed/scraper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nDmitry/tgfeed/HEAD/internal/feed/scraper_test.go --------------------------------------------------------------------------------