Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
github.com/chollinger93/telegram-camera-bridge
A stupid little project that takes pictures using a Raspberry Pi Zero
every x minutes (or upon a motion REST request) from a MotionEye OS camera and sends it to a Telegram Group.
So we can watch guinea pigs without having to completely expose a service or set up wireguard. Important stuff, written one bored afternoon.
Easy:
config/sample.yaml
(see below)go run *.go serve --config ./config/sample.yaml
You will need a bot
, which you can get by chatting up @BotFather on Telegram.
Next, add that to a chanel.
Use your bot's bot_name
and api_key
from that chat.
Next, fire a request as such:
curl --location --request GET 'https://api.telegram.org/YOUR_BOT_KEY/getUpdates'
And grab the ID of the chanel you've added the bot to.
"my_chat_member": {
"chat": {
"id": INT64_ID,
"title": "ID",
"type": "group",
...
go test ./... -coverprofile coverage.out
go tool cover --html coverage.out
go build *.go
CONFIG_FILE=$(pwd)/config/sample.yaml
docker build . -t telegram-motioneye
docker run -d \
-p "$(cat $CONFIG_FILE | grep port | cut -d'"' -f2 | xargs)":6060 \
-v $(pwd)/config:/config \
telegram-motioneye \
/app/server serve --config /config/$(basename $CONFIG_FILE)
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.