Skip to content

parthux1/ntfy-lib

Repository files navigation

ntfy-lib

Third party ntfy API for C++.
Partial implementation of ntfy functionality as stated in https://docs.ntfy.sh/subscribe/api/

Features

  • login to ntfy server
    • baseauth
    • token
  • messages
    • sending
    • listening (async with handlers)
    • priority
    • tags
    • title
    • markdown
    • actions
    • attachments
    • UTF8 support
    • scheduled delivery

Examples

Code snippets can be found in this markdown.

Installation

See this markdown.

Documentation

Statically included markdown files can be found in doc/source/markdown.

You can generate a documentation by using doxygen.
Documentation will be written to doc/out/.

# run in project root
doxygen doc/DoxyFile

# open the documentation
# windows
start doc/out/html/index.html
# linux
open doc/out/html/index.html

Development

Building with vcpkg

  • Have a working vcpkg installation.
  • set env variable VCPKG_ROOT to point to its dir
  • build with the suplied CMakePresets.json
cmake --preset ntfy-lib
cmake --build --preset ntfy-lib

Attributions and Licence

  • Check out ntfy.
  • This project is not affiliated to ntfy in any way.

ntfy-lib Copyright (c) 2024, parthux1 All rights reserved.

This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree.

About

third party ntfy API for C++

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Generated from parthux1/project_preset