This is the source code for https://dailydoots.com.
- Clone the repo (or fork the repo to your account)
- Install dependencies:
bundle install
- Create a feature branch off of the
main
branch - Start the local server:
bundle exec jekyll serve
- Go to http://localhost:4400/ to view changes
To build the site use bundle exec jekyll build
.
Resources:
To use this data, simply query one of the following endpoints:
- Dailies - https://dailydoots.com/dailies.json (updates 30min after midnight UTC+0)
- Doots - https://dailydoots.com/doots.json (updates once a week Fridays 2pm EST)
- Profiles - https://dailydoots.com/profiles.json (updated as needed)
Please do not abuse these endpoints. Checking once or twice a day would be sufficient given the update frequency.
Most of the content resides in data files withing _data
. If you'd like to update your user profile edit/add an entry in _data/profiles.yml
or send a DM to u/hanniabu on Reddit.
Weekly Update
- Update the leaderboard by uploading the RES file from u/jtnichol to this tool, copying the resulting JSON output, and saving it to
_data/doots.json
replacing the existing contents. - Update podcast guest list in
_data/guests.yml
, remove or comment out old items if necessary - Update announcement list in
_data/announcements.yml
, remove or comment out old items if necessary - Update events list in
_data/events.yml
, remove or comment out old items if necessary - Update the weekly roundup:
- Create a
.md
file underweekly/historical
named after the weekly roundup date inyyyy-mm-dd.md
format - Copying the contents template (
weekly/_template
) into this new file - Update the metadata at the top
- If there is no podcast then just enter the
date
andweekly_link
and leave the rest empty weekly_link
should have no subdomain specific, soreddit.com
instead ofold.reddit.com
orwww.reddit.com
date
followsyyyy-mm-dd
formatepisode
is just the podcast episode number, do not include a#
- If there is no podcast then just enter the
- Copy over the weekly doots
- For each item copy the item text and paste into the
<summary> {{paste here}} </summary>
tags - Copy the comment links into the
[View on Reddit →]( {{paste here}} )
field - View the comment under
old.reddit.com
using the RES extention to copy the comment "source" (markdown) and paste the in the area below "View on Reddit" and before the closing</details>
tag - Bare links (non hyperlinked) need to be wrapped in
< {{link}} >
to properly be converted to a hyperlink - You'll need to copy the templated
<details> ... </details>
sections for each of the weekly doots, there's a separate template for single and double doots (double doots means it references 2 comments) - Do a find/replace to replace all instances of
old.reddit.com
orwww.reddit.com
withreddit.com
- For each item copy the item text and paste into the
- Create a
- r/ethfinance initiation thread
- r/ethfinance creation on 2019-01-22 by u/dcinvestor
- Sub stats
- PushShift Archive