Bluesky Ntfy is a .NET application that monitors a specified Bluesky handle for new posts and sends notifications using the Ntfy service. It can also automatically like new posts if configured to do so.
Features
- Monitors a specified Bluesky handle for new posts.
- Sends notifications for new posts using Ntfy.
- Optionally likes new posts automatically.
Configuration
The application is configured using appsettings.json files and environment variables. The following configuration options are available:
appsettings.json
{
  "Bluesky": {
    "Username": "your_bluesky_username",
    "AppPassword": "your_bluesky_app_password",
    "TargetHandle": "target_bluesky_handle",
    "PollIntervalSeconds": 60,
    "AlwaysLike": true
  },
  "Ntfy": {
    "BaseUrl": "https://ntfy.sh",
    "Topic": "your_ntfy_topic",
    "User": "your_ntfy_user",
    "Password": "your_ntfy_password",
    "AccessToken": "your_ntfy_access_token"
  }
}
Environment Variables
- DOTNET_ENVIRONMENT: Specifies the environment (e.g., Development, Production).
Usage
- Clone the repository.
- Configure the application by editing the appsettings.jsonfile or setting environment variables.
- Run the application:
dotnet run
License
This project is licensed under the MIT License.