Skip to content

AozoraDev/dotMOE

Repository files navigation

.MOE is a Mastodon account that focuses on providing cute and moe stuff powered by the community.
.MOE uses webhooks from social media accounts that share the same mission, which we refer to as "Providers". Any posts from Providers registered with .MOE will be "mirrored" to the official .MOE Mastodon account.

Supported Platforms

  • Facebook Page

Other platforms will be supported if there is demand.

Host Your Own

.MOE requires Bun to run properly. Node.js will not work due to the use of Bun's built-in modules.
Also, cwebp is needed for image compression. The installation method on Arch Linux is like sudo pacman -S libwebp or on Ubuntu sudo apt install libwebp.

  1. Clone this repo first.
git clone https://github.com/Volkadot/dotMOE.git
  1. Enter the repo directory and install the required dependencies.
bun install
  1. Rename the .env.example file to .env and edit the variables in the file.

    • TOKEN is your Mastodon app's private token. Go to this website for tutorial how to create the app. Make sure you provide read and write scope.
    • AUTH_TOKEN is a random token to pair the Facebook Webhook server to your receiver. Make sure this token is hard to figure out so that no other webhooks connect to your receiver.
    • APP_TOKEN is your Facebook application token. This is needed for post payload validation.
    • VISIBILITY is the visibility of the post. It can be public, private, direct, and unlisted. If this variable does not exist, public will be used by default.
  2. Add your server to Facebook webhook using Page product. See this for more information.

  3. Now you are ready to go.

License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

This project is hosted by

Alwaysdata

Written in

And run using

About

Providing cute and moe stuff powered by the community

Resources

License

Stars

Watchers

Forks

Packages

No packages published