पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv0.1.1

ntfluttery

Flutter/Dart के लिए ntfy.sh API क्लाइंट, सूचनाओं को प्राप्त करें, बनाएं, अपडेट करें, हटाएं।

AndroidiOSmacOSWindowsLinux
30-दिन डाउनलोड
11
लाइक
2
Pub अंक
80

पैकेज इंस्टॉल करें

flutter pub add ntfluttery

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

ntfluttery एक Flutter/Dart पैकेज है जो ntfy.sh नोटिफिकेशन सेवा के लिए एक क्लाइंट प्रदान करता है, जिससे ऐप्स को सूचनाओं को स्वचालित रूप से भेजने, प्राप्त करने, अद्यतन करने और हटाने में सक्षम बनाता है। यह Android, iOS, macOS, Windows और Linux सहित सभी प्रमुख प्लेटफॉर्म का समर्थन करता है। पैकेज ntfy.sh के RESTful API के साथ एकीकरण को सरल बनाता है, जिससे डेवलपर्स अपने ऐप्स में रियल-टाइम चेतावनियाँ और संदेश भेज सकते हैं। हल्के, सर्वर-मुक्त नोटिफिकेशन प्रणालियों के लिए आदर्श, इसकी स्थापना न्यूनतम होती है और विभिन्न वातावरणों में बिना किसी समस्या के काम करता है।

उपयोग

  • रियल-टाइम पुश नोटिफिकेशन भेजना
  • चेतावनी के लिए ntfy.sh के साथ एकीकरण
  • एप्प में संदेश डिलीवरी को स्वचालित करना
  • क्रॉस-प्लेटफ़ॉर्म नोटिफिकेशन हैंडलिंग
  • हल्के आकांक्षा प्रणाली का निर्माण

मुख्य विशेषताएँ

  • सभी प्रमुख प्लेटफॉर्म का समर्थन करता है
  • नोटिफिकेशन के लिए पूर्ण CRUD ऑपरेशन
  • सरल API एकीकरण
  • हल्का और कारगार
  • वास्तविक समय संदेश डिलीवरी

इनके लिए उपयुक्त

  • ntfy.sh का उपयोग करने वाले विकासकर्ता
  • क्रॉस-प्लेटफॉर्म अलर्ट की आवश्यकता वाले ऐप्स
  • सर्वरलेस नोटिफिकेशन वर्कफ़्लो
  • त्वरित एकीकरण परियोजनाएँ
  • न्यूनतम अधिसूचना समाधान

विचार योग्य बातें

  • एक ntfy.sh खाता की आवश्यकता है
  • बाहरी API उपलब्धता पर निर्भर
  • ntfy.sh कार्यक्षमता तक सीमित
  • कोई बिल्ट-इन UI कंपोनेंट नहीं
  • नेटवर्क कनेक्टिविटी की आवश्यकता है

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

ntfluttery

This plugin is focused on help with the integration of ntfy.sh it has multiple ways to access the list of messages such as a Streaming of data or even using custom credentials.

Also it provides various ways to handle the messages list.

Features

  • Ready to use NTFY:
  • Tuples of messages: Thanks to Dart 3, you can fetch customisable tuples based on the type of message.
  • Error Handling and Data Processing
  • Growing test percentage: The test percentage is being continously growing, to ensure a fully tested library.

Getting Started

Installation

To use this plugin, add ntfluttery as a dependency in your pubspec.yaml file.

dependencies:
  ntfluttery: ^latest_version
Usage
import 'package:ntfluttery/ntfluttery.dart';

void main() {
    // initialize the client
  final client = NtflutteryService(
      credentials:
          Credentials(username: 'ntfyUser', password: 'ntfyPassword'));

    // Inject a logger into each request.
    client.addLogging(true);

    // Fetch from the NTFY API as a STREAM
  final result = await cliente
      .get('https:/notification/$topic/json?poll=1');

    // Received the data as a touple ready to be used.
  result.$1.listen((event) {
    print(event.$1);
    print(event.$2);
  });
}
import 'package:ntfluttery/ntfluttery.dart';

void main() {
    // initialize the client
  final client = NtflutteryService(
      credentials:
          Credentials(username: 'ntfyUser', password: 'ntfyPassword'));

    // Or fetch the messages and instead of use a Streaming just use it as a simple Future value.
    final latest = await cliente.getLatestMessage(
      'https://notification/$topic/json?poll=1');
  print('latest: $latest');
}

Additional Information

  • Platform Support: iOS, Android, Web, Desktop
  • Dependencies: Dio, Flutter, PrettyDioLogger

Contributing

Contributions are welcome!

License

This project is licensed under the MIT License.

Special thanks

Thanks to Philipp C. Heckel for create this great tool.

Support and Contact

If you have any questions or issues, please file them on issue tracker.

For further inquiries, contact me at luisalfonsocb83@gmail.com.

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 3 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।