Code Monkey home page Code Monkey logo

librustifier's Introduction

LibrusTifier 🔔

English version of this README is avaliable here


Czy szczęśliwy numerek wystarczy, aby uczynić człowieka szczęśliwym?


Tak.

  1. Zainstaluj node.js
  2. Pobierz kod lub sklonuj repo
  3. Zainstaluj zależności npm install
  4. Skonfiguruj pliki w folderze config/
  5. Włącz program node . lub wyślij testowego webhooka node . test

Śmieszne pliki w folderze config

app.js
"librus_username": "username",
"librus_password": "password",
"port": 8080

librus_username: nazwa użytkownika (lub alias) konta na librusie
librus_password: haslo
port: port na którym będzie działać serwer. Raczej nie będziesz go potrzebował, więc ustaw wartość na 0 aby go całkowicie wyłączyć (webhook nadal będzie wysyłany)

webhook.js
"webhook_url": "URL",
    
"num_img": "https://cdn.dadik.lol/numerki/{NUM}.png",
"max_num": 45,
"thumbnail_img": "https://cdn.dadik.lol/numerki/live_reaction.png",
"footer_img": "https://cdn.dadik.lol/numerki/librus.png",
"color": "#00F45F",

"title": "Numer to {NUM}",

"field1": "A kiedy",
"field1_t": "Dzis! ({DATE})",

"custom": "http://127.0.0.1:8081/numerek?n={NUM}"

Przedstawia to pięknie ta grafika ✨

Kilka słów wyjaśnienia:
webhook_url: link do webhooka discord
num_img: link do dużych zielonych zdjęć
max_num: jeśli numerek będzie większy od tej wartości, {NUM} będzię równy 'error' (tylko dla num_img)
custom: jeśli nie będzie to ustawione na "", to customowe zapytanie GET zostanie wysłane dodatkowo na ten adres, jeśli nie wiesz o co chodzi, ustaw na ""

przykład plików znajdziesz tutaj

Coś nie działa :(

Szkoda :(
Otwórz nowy problem na github 🙏
Wklej wszystko co możesz a postaram się naprawić ❤️

librustifier's People

Contributors

dadik11 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.