- All widgets will update every 3 seconds.
- To create your own fundraising event go to https://www.betterplace.org/de/fundraising-events/registration/preselection?tracking_via=github-streambot-readme
Pre-configured standard widget showing the total donation amount, the highest and last donation.
https://streambot.betterplace.org/fundraising-events/<ID>/standard
Customization parameters:
withoutBackgroundImage=true- hides the betterplace background imagetextColor- hex color value (without #) that only affects the text color of standard widgets without background image, e.g.&textColor=ff0000demo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
https://streambot.betterplace.org/fundraising-events/<ID>/progress
Customization parameters:
textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42progressBackgroundColor- hex color value (without #), e.g.&progressBackgroundColor=ff0000progressColor- hex color value (without #), e.g.&progressColor=ff0000collected- show or hide the collected text, e.g.&collected=falsebackgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000textAlign-left,rightorcenter, default iscenterdisplay- optional parameter for fundraising events with a target amount,&display=baronly displays the progress bar,&display=textonly displays the progress text, by default both (&display=both) are displayed.demo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
Will show the total of all donations for this fundraising event.
https://streambot.betterplace.org/fundraising-events/<ID>/total
Customization parameters:
textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42headline- customize the default text, set tofalseto hide the text.fontWeight- boldness of the font, e.g.&fontWeight=700, default is400backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000textAlign-left,rightorcenter, default iscenterdemo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
Show for a certain duration (default 3 seconds) the amount and the name of the donor. Additionally it may show a different wording, a gif and a mp3.
https://streambot.betterplace.org/fundraising-events/<ID>/donation-alert
Customization parameters:
textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42fontWeight- boldness of the font, e.g.&fontWeight=700, default is400wording- custom thank you text message, e.g.&wording=Thanks!gif- gif url to be shown, e.g.&gif=https://media.giphy.com/media/vQqeT3AYg8S5O/giphy.gifgifHeight- height of the gif in pixel, e.g.&gifHeight=100mp3- soundfile to be played when new donation arrives, e.g.&mp3=https://www.w3schools.com/tags/horse.mp3duration- how long (in seconds)backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000textAlign-left,rightorcenter, default iscentervolume- volume between 0 and 1, e.g.&volume=0.5, default is0.9demo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
Show the organisation logos of the projects that are associated to the event in a loop. The interval can be adjusted accordingly. The default is 5 seconds per image.
https://streambot.betterplace.org/fundraising-events/<ID>/project-logos
Customization parameters:
duration- how long is the interval between logos (in seconds)backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000textAlign-left,rightorcenter, default iscenter
Will show the top donor (sum of all donations) for this fundraising event.
https://streambot.betterplace.org/fundraising-events/<ID>/top-donor
Customization parameters:
textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42fontWeight- boldness of the font, e.g.&fontWeight=700, default is400headline- customize the default text, set tofalseto hide the text.backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000nicknameColor- if the name of a user is shown, assign a dedicated color - e.g.&nicknameColor=ff0000maxCount- displays the firstntop donors, e.g.&maxCount=3(default is1), cycling through them per interval.interval- time period (in seconds) after which the next top donor will be displayed if maxCount is > 1, e.g.&interval=4, default is3textAlign-left,rightorcenter, default iscenterlist- show all top donors in one list instead of cycling through them per interval withlist=true, default isfalsewidth- width of the container, e.g.&width=300pxdemo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
Will show the all time top donation for this fundraising event.
https://streambot.betterplace.org/fundraising-events/<ID>/top-donation
Customization parameters:
textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42fontWeight- boldness of the font, e.g.&fontWeight=700, default is400headline- customize the default text, set tofalseto hide the text.backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000nicknameColor- if the name of a user is shown, assign a dedicated color - e.g.&nicknameColor=ff0000maxCount- displays the firstntop donations, e.g.&maxCount=3(default is1), cycling through them per interval.interval- time period (in seconds) after which the next top donor will be displayed if maxCount is > 1, e.g.&interval=4, default is3textAlign-left,rightorcenter, default iscenterlist- show all top donations in one list instead of cycling through them per interval withlist=true, default isfalsewidth- width of the container, e.g.&width=300pxdemo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
Will show the last donation, based on the reload-time of 3 seconds. Should the last donation also have a comment it will also show up within the 'Last comment' module.
https://streambot.betterplace.org/fundraising-events/<ID>/last-donation
Customization parameters:
textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42fontWeight- boldness of the font, e.g.&fontWeight=700, default is400headline- customize the default headline, set tofalsefor no headline, e.g.&headline=Legen%20daryor&headline=falsenicknameColor- if the name of a user is shown, assign a dedicated color - e.g.&nicknameColor=ff0000backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000textAlign-left,rightorcenter, default iscenterdemo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
Will show the last donation with a comment, based on the reload-time of 3 seconds.
https://streambot.betterplace.org/fundraising-events/<ID>/last-comment
Customization parameters:
textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42fontWeight- boldness of the font, e.g.&fontWeight=700, default is400nicknameColor- if the name of a user is shown, assign a dedicated color - e.g.&nicknameColor=ff0000backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000textAlign-left,rightorcenter, default iscenterdemo- show demo data instead of actual data (useful for testing) - e.g.&demo=true
Will show the counts of various hashtags as they occur in donation comments. Donors need to write their hashtag with "#" at the beginning (e.g. #beard, #nobeard).
https://streambot.betterplace.org/fundraising-events/<ID>/hashtags
Customization parameters:
hashtags- hashtags to be evaluated, e.g&hashtags=<TAG1,TAG2,...>textColor- hex color value (without #), e.g.&textColor=ff0000fontFamily- as google fonts name, e.g.&fontFamily=Indie+Flower(but not&fontFamily=Roboto:700, usefontWeight=700instead)fontSize- numeric pixel value, e.g.&fontSize=42fontWeight- boldness of the font, e.g.&fontWeight=700, default isnormalprogressBackgroundColor- hex color value (without #), e.g.&progressBackgroundColor=ff0000progressColor- hex color value (without #), e.g.&progressColor=ff0000backgroundColor- hex color value (without #), e.g.&backgroundColor=ff0000
Enter
$ make deploy-staging
or
$ make deploy-production
to deploy the current revision.
In case of error 401:
$ firebase login --reauth
The latest deployed revision can then be seen via these URLs:
- https://streambot.bp42.com/fundraising-events/30943/standard
- https://streambot.betterplace.org/fundraising-events/30943/standard
$ make start
Then open e.g. http://localhost:3000/fundraising-events/30943/progress?demo=true