mastodon-apod

Astronomy Picture of the Day bot
授权协议 Readme
开发语言 Python
所属分类 应用工具、 IM/聊天/语音工具
软件类型 开源软件
地区 不详
投 递 者 翟俊名
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

mastodon-apod

it's a mastodon bot that posts the most recent image from NASA's Astronomy Picture of the Day

it uses ananas

how to use

  • (optional) create a venv to isolate dependencies from the system

    $ python -m venv venv
    $ source venv/bin/activate
    
  • install dependencies

    $ pip install -r requirements.txt
    
  • fill in config file

    $ cp config/ananas.cfg.example config/ananas.cfg
    $ $EDITOR config/ananas.cfg
    
  • run

    $ ananas config/ananas.cfg
    
  • enjoy

how to use (docker)

  • fill in config file

    $ cp config/ananas.cfg.example config/ananas.cfg
    $ $EDITOR config/ananas.cfg
    
  • build

    $ docker build -t mastodon-apod .
    $ # or, shortened:
    $ make docker
    
  • stop and remove potential existing container

    $ docker rm -f mastodon-apod
    $ # or, shortened:
    $ make docker-rm
    
  • and run

    $ docker run -n mastodon-apod -d --restart unless-stopped -v $(pwd)/config:/app/config --user $(id -u) mastodon-apod
    $ # or, shortened:
    $ make docker-run
    

these last three steps can be run at once with

$ make up
 相关资料
  • Mastodon 是开源且免费的社交网络服务器,任何人都可以基于它创建类似推特/微博的产品(可以理解为搭建“私服微博/推特”)。但 Mastodon 与常见的社交网络不一样,其定位是去中心化的社交平台——可作为商业平台的替代方案,避免了单个公司垄断你沟通的风险。 基于 Mastodon 搭建的站点被称为“实例 (instance)”,这些“实例”既相互独立,又彼此关联(因为不同站点的用户可以毫无阻

  • Mastodon Material Language | 言語 日本語 (Japanese) Overview Mastodon Material is the native theme for Mastodon, which based on Material Design. Development policy is here (Japanese). Screenshots show/hide

  • A bot posting the Hacker News stories with 100+ points to Mastodon. https://hackertribe.io/@HackerNewsBot Usage Create an account for the bot. For convenience you can use youremail+hnbot@gmail.com, to

  • Code has been removed, there is no more need for follow bots, just use a relay like https://relay.mastodon.host for example.

  • Mastodon Bot Bots Hagh Hagh reblogs certain toots to itself creating a Hagh page. Users from local instance are able to make a toot hagh. Setup Have go and GNUMake installed. Copy the env var sample a

  • mastodon-terraform Boilerplate for running Mastodon on AWS using Terraform and CircleCI. ┌---------------┐| Web Browser |└---------------┘▲ ▲| |(HTTPS) (WSS)|