Reports: New Week, Week Recap

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@walnut1·
0.000 HBD
Reports: New Week, Week Recap
Link to PR [here](https://github.com/alex-osman/nowplaying/pull/1)
This is for the bot @nowplaying-music

This allows you to create an entire "Week Recap" or "Start of Week" post.
The resulting post text is copied directly to your clipboard, so you may paste into steemit.
# Week Start
`node lib/bot.js --report --week 3`
output:
```
# <center>Steemit Now Playing: Week 3 (Jan 14 - Jan 20)</center>
<center>__Now Playing__ is a way to share what you are listening to this week with others</center>

![](https://steemitimages.com/DQmeUqpd5RJbEUEkdTHqYBZYmcA137fUq4FX5nTN6yBuscW/image.png)

## <center>Steemit Now Playing Rules</center>

| Week 3 spans from Sun. Jan 14 to Sat. Jan 20
| -
| #nowplaying must be the first tag
| __Now Playing Week 3__ must be in the title of your post
| Add a link to your post in the comments of this post
| Upvote this post and at least one other #nowplaying entry

## <center>Rewards</center>
| Rewards from this post will be split among all contestants
| -
| Contestants are anyone who follows all of the above rules

## <center>Leaderboards</center>
Rank | User | Weeks | Votes
-|-|-|-
1 | ericosman | 3 | 30
2 | popsoz | 3 | 27
...
...

# <center>Get your entries in by Sun. Jan 20!</center></center>
```

# Week Recap
`node lib/bot.js --recap --week 3 -- payout 10`
output:
```
# <center>Steemit Now Playing: Week 3 (Jan 14 - Jan 20) Recap</center>
<center>__Now Playing__ is a way to share what you are listening to this week with others</center>

![](https://steemitimages.com/DQmeUqpd5RJbEUEkdTHqYBZYmcA137fUq4FX5nTN6yBuscW/image.png)

## <center>Week 3 Contestants</center>
We had a total payout of about 10 STEEM, which has been powered up to all 18 contestants. That's about 0.55 SP per person!
<center>[bennettitalia](steemit.com/nowplaying/@bennettitalia/now-playing-week-3-vampire-weekend), [walnut1](steemit.com/nowplaying/@walnut1/nowplaying-week-3), [operahoser](steemit.com/nowplaying/@operahoser/now-playing-week-3-conspiracy-music-guru), [amos1969](steemit.com/nowplaying/@amos1969/now-playing-week-3-the-levellers-one-way), [yourfriendbil](steemit.com/nowplaying/@yourfriendbil/now-playing-week-3-time-to-get-funky), [muklis](steemit.com/nowplaying/@muklis/now-playing-week-3-aerosmiht-i-don-t-wanna-miss-a-thing), [gpieromusic](steemit.com/nowplaying/@gpieromusic/now-playing-week-3-the-intermission-project), [angeljames](steemit.com/nowplaying/@angeljames/now-playing-week-3), [psicologo](steemit.com/nowplaying/@psicologo/now-playing-week-3-jamiroquai), [mochawoo](steemit.com/nowplaying/@mochawoo/now-playing-week-3), [darryljonesjr](steemit.com/nowplaying/@darryljonesjr/now-playing-week-3), [v1tko](steemit.com/nowplaying/@v1tko/now-playing-week-3), [enolderman](steemit.com/nowplaying/@enolderman/now-playing-week-3-beats-but-no-carrots), [walnut1](steemit.com/nowplaying/@walnut1/now-playing-week-3-hawaiian-tunes), [estebanrojas](steemit.com/nowplaying/@estebanrojas/now-playing-week-3), [popsoz](steemit.com/nowplaying/@popsoz/now-playing-week-3), [louie-jr](steemit.com/nowplaying/@louie-jr/no-playing-week-3), [esaug](steemit.com/nowplaying/@esaug/now-playing-week-3-radio-head)!

## <center>[Spotify Playlist](https://open.spotify.com/user/1240132288/playlist/6kgL9m3OVcSn2gN4XnwHAk)</center>
<center>Great idea @popsoz!</center>
![](https://steemitimages.com/DQmZFNCeBrjyL4cJanf6XSVg1CWMF9jjMaVaBQANqKhH4WQ/image.png)

## Leaderboards
User | Posts | Votes
-|-|-
....
```
### Bug Fixes
- A few minor bugs with the cli and dateformatting have been fixed

### New Features
- Reporting feature has been added
  - Allows for `new week` and `week recap`
  - Copies directly to clipboard
- Divides payout by number of participants
- Leaderboard keeps the database on the blockchain

### New Projects
- What is the project about?
Read the #nowplaying intro post [here](https://steemit.com/introduceyourself/@nowplaying-music/introducing-nowplaying-music-earn-steem-by-sharing-your-music-taste)
- Technology Stack
Node and npm
- How to contribute?
Simply find a feature to add and send a pull request.  Comment on any of my steem posts if you would like to contribute
    

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@walnut1/reports-new-week-week-recap">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍 , , , , , , , , , , , , ,