potator 1.0.1 copy "potator: ^1.0.1" to clipboard
potator: ^1.0.1 copied to clipboard

A simple Flutter client for the potatoes reverse-fetch proxy

Potator #

A simple client for Potatoes reverse-fetch proxy and domain system made in pure Dart and Flutter

Usage #

  1. Install potator:

    flutter pub add potator
    
  2. Import the package:

    import 'package:potator/potator.dart';
    
  3. Use it:

    Potator potator = Potator('YOUR_POTATO_SERVER_URL'); // if you don't want to change the server, don't include the `'YOUR_POTATO_SERVER_URL'` thing
    potator.use('YOUR_POTATO_SERVER_URL'); // optional, changes the Potato server
    final String google = await potator.get('google.potato/');
    // the slash is optional, and can be used to get a specific file, for example:
    final String hosts = await potator.get('hosts.potato/HOSTS.txt');
    // will return the official HOSTS :)
    

License #

MIT

1
likes
150
points
7
downloads

Publisher

unverified uploader

Weekly Downloads

A simple Flutter client for the potatoes reverse-fetch proxy

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on potator