Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lostfictions/internetcoolguy
the thing doer has logged on.
https://github.com/lostfictions/internetcoolguy
botally
Last synced: about 2 months ago
JSON representation
the thing doer has logged on.
- Host: GitHub
- URL: https://github.com/lostfictions/internetcoolguy
- Owner: lostfictions
- License: agpl-3.0
- Created: 2019-06-24T09:57:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T10:35:56.000Z (2 months ago)
- Last Synced: 2024-10-29T12:33:34.681Z (2 months ago)
- Topics: botally
- Language: TypeScript
- Homepage:
- Size: 1.63 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## internet coolguy
![the interesting thoughts poster has logged on](https://i.imgur.com/2OCc9Un.png)
this is a ~~twitter and~~ mastodon bot written in javascript
([typescript](https://www.typescriptlang.org/), actually) running on
[node.js](http://nodejs.org/).you can run it on your computer or remix it into something new! you'll need node
and [yarn](https://yarnpkg.com) installed. then run:
```
git clone https://github.com/lostfictions/internetcoolguy
cd internetcoolguy
yarn install
yarn dev
```in a server environment, this bot can be run with
[docker](https://docs.docker.com/) for an easier time. (i recommend
[dokku](http://dokku.viewdocs.io/dokku/) if you're looking for a nice way to
develop and host bots.)the bot needs environment variables if you want it to do stuff:
- `DATA_DIR`: directory where source data lives and persistent data is written to (required in production)
- `MASTODON_TOKEN`: a Mastodon user API token (required)
- `MASTODON_SERVER`: the instance to which API calls should be made (usually where the bot user lives.) (default: https://botsin.space/)
- `CRON_RULE`: the interval between each post, in crontab format. (default: every four hours)you can place any or all of these in a `.env` file in the root of this repo
during development. (but don't push this file to git!)###### [more bots?](https://github.com/lostfictions?tab=repositories&q=botally)