.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.
- Facebook Page
Other platforms will be supported if there is demand.
.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
.
- Clone this repo first.
git clone https://github.com/Volkadot/dotMOE.git
- Enter the repo directory and install the required dependencies.
bun install
-
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 provideread
andwrite
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 bepublic
,private
,direct
, andunlisted
. If this variable does not exist,public
will be used by default.
-
Add your server to Facebook webhook using Page product. See this for more information.
-
Now you are ready to go.
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.