key-of-dreamsgenerated emoji magrittes
key of dreams
a bot that generates emoji magrittes.
this is a twitter and mastodon bot written in javascript (typescript, actually) running on node.js.
you can run it on your computer or remix it into something new! you'll need node and yarn (and git) installed. then run:
git clone https://github.com/lostfictions/key-of-dreams
cd key-of-dreams
yarn install
yarn dev
in a server environment, this bot can be run with docker for an easier time. (i recommend 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:
-
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/) -
RESOURCE_DIR
: the directory in which to search for image data. (default: the images already checked in to the repo.) -
CRON_RULE
: the interval between each post, in crontab format. (default: every four hours)
this bot uses the envalid package which in turn wraps dotenv, so you can alternately stick any of the above environment variables in a file named .env
in the project root. (it's gitignored, so there's no risk of accidentally committing private API tokens you put in there.)
more bots?
评论
TwemojiTwitter 的 Emoji 表情
Twemoji是Twitter开源的其完整的Emoji表情图片。开发者可以去GitHub下载完整的表情库,并把这些表情加入到自己的应用或网页中。使用示例:var i = 0;twemoji.parse
TwemojiTwitter 的 Emoji 表情
0
apple-emoji-linuxApple Color Emoji for Linux
AppleColorEmojiforLinuxColorandBlack-and-WhiteApplecoloremojifonts,andtoolsforworkingwiththem.Discla
apple-emoji-linuxApple Color Emoji for Linux
0
ISEmojiViewiOS 的 Emoji 键盘
ISEmojiView是一个简单易用高扩展性的iOS Emoji键盘。Swift编写支持加载自定义Emoji支持多肤色Emoji支持类似iOS系统键盘的底部类别图标支持最近使用的Emoij使用Coco
ISEmojiViewiOS 的 Emoji 键盘
0
AGEmojiKeyboardiOS emoji 表情控件
AGEmojiKeyboard是iOS上一个实现了对emoji表情支持的键盘控件。
AGEmojiKeyboardiOS emoji 表情控件
0
EmojiconAndroid Emoji 表情库
Emojicon是一个用来在Android的EditView和TextView上显示Emoji表情的库。示例用法:<LinearLayout xmlns:android="http://sche
EmojiconAndroid Emoji 表情库
0
EmojiconAndroid Emoji 表情库
Emojicon 是一个用来在 Android 的 EditView 和 TextView 上显示
EmojiconAndroid Emoji 表情库
0
TwemojiTwitter 的 Emoji 表情
Twemoji 是 Twitter 开源的其完整的 Emoji 表情图片。开发者可以去GitHub下
TwemojiTwitter 的 Emoji 表情
0