Git Product home page Git Product logo

as-a-treat's Introduction

You can have a README, as a treat

What is?

It's a silly fedi bot (currently at https://fox.nexus/@treats).

Possible combinations

There are 88 folx and 156 treats, resulting in 13,728 possible combinations.

Contributing

Setting up

# Clone the repo and cd into it, then:
python3 -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt

Editing arrays.py

The format is "{folx} can have {treats}, as a treat", so add items to FOLX and/or TREATS:

FOLX = [
    "Transfems",
    "Foxgirls",
    [...],
]

TREATS = [
    "a headpat",
    "an anti-trust lawsuit",
    [...],
]

Tox

I use tox to run tests, check code style and fix formatting. It's a good idea to run it before pushing changes. A GitHub action will also run it on PRs.

# To run tests:
tox

# To fix formatting etc:
tox -e fix

Gotchas

  • gen.py will fail if config.py isn't present โ€” you can just copy config.example.py to config.py while testing. Note that the example config doesn't contain the necessary credentials to actually make a post.
  • I <3 trailing commas, and tox will get very upset if you forget this :3

as-a-treat's People

Contributors

anticompositenumber avatar crmsnbleyd avatar dependabot[bot] avatar flimpie avatar ihateblueb avatar martin-hamilton avatar navi-desu avatar olivvybee avatar shortcord avatar soweliniko avatar supertassu avatar theresnotime avatar zyzzyxdonta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.