Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freamon/lemmy-trending-communities-bot
BASH scripts for posting trending Communities on Lemmy
https://github.com/freamon/lemmy-trending-communities-bot
bash-script lemmy
Last synced: about 1 month ago
JSON representation
BASH scripts for posting trending Communities on Lemmy
- Host: GitHub
- URL: https://github.com/freamon/lemmy-trending-communities-bot
- Owner: freamon
- License: mit
- Created: 2023-08-02T16:40:21.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-10-15T15:23:16.000Z (9 months ago)
- Last Synced: 2024-02-08T23:34:42.911Z (5 months ago)
- Topics: bash-script, lemmy
- Language: Shell
- Homepage: https://feddit.nl/c/trendingcommunities
- Size: 164 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-lemmy - lemmy-trending-communities-bot - trending-communities-bot) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/freamon/lemmy-trending-communities-bot) (Projects / Tools)
README
# lemmy-trending-communities-bot
BASH scripts for posting trending Communities on LemmyResults are posted at
https://feddit.nl/c/trendingcommunities
https://lemmynsfw.com/c/trendingcommunities## Usage
Relevant files:
REAL/jsons/1696917927367.json, provided by [LemmyVerse](https://lemmyverse.net) on 2023-10-10 06:05
TEST/1696831545544.txt, derived from data provided the day before, on 2023-10-09 06:05
TEST/lastrun.txt, with a single line, for yesterday's timestamp of 1696831545544Run
`./tcbot.sh TEST 1696917927367`
to show subscriber growth from 2023-10-09 06:05 to 2023-10-10 06:05The above command will also update the files in TEST, so 1696917927367 becomes the new starting point.
New data can be retrieved by running `get_latest_jsons.sh`
When used as a argument to the script, growth will be shown if there's a 24 hour gap between the json and last_run_timestamp.txtEverything in TEST can safely be deleted if you want to start from scratch
## Note
REAL mode is for uploading growth stats to a Lemmy Community, so requires files in REAL/community and REAL/logins
to be populated