Library for sending events to FunBot instances over HTTP.

[[ 🗃 ^Wr8Xr funbot-client ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/Wr8Xr

SSH: git clone USERNAME@vervis.peers.community:Wr8Xr

Branches

Tags

master ::

funbot-client.cabal

name:                funbot-client
version:             0.1.0.1
synopsis:            Report events to FunBot over a JSON/HTTP API.
description:
  This is a library for reporting events to a running instance of
  <https://notabug.org/fr33domlover/funbot FunBot>, so that the bot can
  announce the event to IRC. For example, if you are writing a paste server,
  you can add support for IRC announcments of new pastes by reporting the paste
  to a running bot.
homepage:            https://notabug.org/fr33domlover/funbot-client/
bug-reports:         https://notabug.org/fr33domlover/funbot-client/issues/
license:             PublicDomain
license-file:        COPYING
author:              fr33domlover
maintainer:          fr33domlover@riseup.net
copyright:           ♡ Copying is an act of love. Please copy, reuse and share.
category:            Network, Web
build-type:          Simple
extra-source-files:  AUTHORS ChangeLog COPYING INSTALL NEWS README.md
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://notabug.org/fr33domlover/funbot-client.git

flag old
  description: Use network for Network.URI, and a matching HTTP package version
  default: False

library
  exposed-modules:     FunBot.Client
  -- other-modules:       
  -- other-extensions:    
  build-depends:       aeson
                     , aeson-pretty      >=0.7
                     , base              >=4.7 && <5
                     , bytestring
                     , funbot-ext-events
  if flag(old)
    build-depends:     network           <2.6
                     , HTTP              >=4000.2 && <=4000.2.17
  else
    build-depends:     network-uri       >=2.6
                     , HTTP              >=4000.2
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

[See repo JSON]