Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sv443/jokeapi_computercraft
A ComputerCraft program that displays a joke from https://github.com/Sv443/JokeAPI on an in-game monitor
https://github.com/sv443/jokeapi_computercraft
computercraft entertainment jokes lua minecraft minecraft-mod
Last synced: 8 days ago
JSON representation
A ComputerCraft program that displays a joke from https://github.com/Sv443/JokeAPI on an in-game monitor
- Host: GitHub
- URL: https://github.com/sv443/jokeapi_computercraft
- Owner: Sv443
- License: mit
- Created: 2021-01-07T13:48:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T02:07:15.000Z (about 2 years ago)
- Last Synced: 2024-10-11T18:31:38.632Z (about 1 month ago)
- Topics: computercraft, entertainment, jokes, lua, minecraft, minecraft-mod
- Language: Lua
- Homepage:
- Size: 75.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# JokeAPI_ComputerCraft
## A ComputerCraft program that displays a joke from [JokeAPI](https://github.com/Sv443/JokeAPI) on an in-game monitor on interval
![example image](./example.png)
## Installation:
1. Craft a computer and around 4-12 monitors
2. Place the monitors next to each other and make sure one of them touches the computer
3. Run the following commands in the computer:
```
label set jokeapi
pastebin get 6tnmW93j startup
edit startup.lua
```
4. Change the `MONITOR_SIDE` variable at the top to the side where your computer touches the monitors
- Valid side values are: `"front"`, `"back"`, `"left"`, `"right"`, `"top"` or `"bottom"`
- The other variables can of course also be changed, like the interval at which a new joke is fetched or the text size
5. Press `Ctrl`, navigate to `Save` and press `Enter` to save your changes
6. Press `Ctrl`, navigate to `Exit` and press `Enter` to exit the editor
7. Run the command `reboot`After these steps, the computer will enter an infinite loop. To exit it, hold down `Ctrl` and `T`.
To edit the program, go to step 4 again.
### License:
This code is licensed under the [MIT license](https://sv443.net/LICENSE)