Skip to content
mian
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Feb 24, 2017
Feb 24, 2017
Feb 24, 2017
Feb 24, 2017
Feb 24, 2017
Feb 24, 2017
Feb 24, 2017

README.rst

EFB W. Slave Channel: EFB cj dgov (EWS)

PyPI frbn

Coa ;xth

Mwrh xrzh lxo Translate this project

Tstno

ℹ️Rutxe tivìng mikyun, ma frapo! / ;ov! ℹ️

08n: Fìsänopxl weran nìyol, talun tílen Rewon-hufweyä Pingveno ’upxare-vezoyuä tìsäpi ghunä. Tsa’ul tätxaryaw wum mì‘Awve, Volawve, Pxevozamkizamtsìvotsìve. Txo ngal fwerew fìghun, fwivew tsulfä_si, ke txìn, sì ke nudelo.

Ma nìsìlpey lane kifkey tsenget a fra'ul livu piak kawaxan nì’ul piak si nì’ul kawkxan.

xkjd27c: Rqr; yko fp kiukiu jqr su zzr; d ;j;j, bk dhmr clkn jhdd zoi ukrbo rduj. Gnjy hbzh xnqm ldv xnuyv nm jqgf rh drt zurq hvo b. Rgnai z ;z dhmr, qd uy;f ;z druy, xbu mmtc, rbu ;nrc_d.

Rgveo wmn z gp khfl d pxuj ly xxr;.

EWS u jmrj EH Forwarder Bot d cj dgov.

Uyrj qm x;;y

Zye 2017 nm ;jxw rylh, lnx; rqrj hno bzgz qyv wlrs bte dpln bw tpxw fpjb. Bxwv rj rkhf fluy dpln wlrs bte tyuy“ dlqm dpln hgjd ryyla. wln d ;lhz xiv, zoi ba dpln Web. nykf ry tvi uve khd hu Windows dpln” hu lia d tyuy. dbf rjhn hbzh fpjb hsryev tm dz sgrvi nw jsfpe, bntj rjhn d jsfpe hzuyv bntj. J;i ggcf, jbrq rha bnzn ryypv d rjhn z uyrj gy; bwfpo jbv. gh fpjb brxvo qi khd d dpln. Mo fpjb d rgrb ulbni mdqh.

Rctuv, rq xmxx bcmd 2017 nm ;jxw rylh xb ;ncf d rjhn bng uyrj wlrs bte. Z yncy uyrj ;oe, qd xm flwk wlrs bte bd qoa nb ka ;pyl uyrj cyi gjnp. Runb d ;lhz bnurva gh gjnp, qd yluy hgrj qi ;lhz yluy.

Rgnai db wlrs bte dpln rq rcqq doa, qd ukrj cyxbi dzo. xxxy d xxgg xbxy qd ctjm.

Rgjmvi rylhi

  • Python >= 3.6
  • EH Forwarder Bot >= 2.0.0
  • ffmpeg
  • libmagic
  • pillow

Xt;x r; qyrj

  1. Xt;x rnul srqd xj; rylhi
  2. Xt;x
pip3 install efb-weechat-slave
  1. Uyrj EFB p; xxdze, huzhv dlqm p; dlxt (Profile) mnln d config.yaml wj ;j qyrj EWS.

    Dlqm p; wjj d wia hb gkj; rjhn d ufdd x gov.

(EFB 2 ;j, murk d p; dlxt mnln wwr; ~/.ehforwarderbot/profiles/default )

Qtd xt;x fluy

EWS toi cv rqi ufq; tygj d qi xt;x fluy, bzku:

  • Rqi KeLiu wwhn d AUR rjbvi.
  • Qi ` xt;x jcbk hu Docker dp rjqyo`_ .

Kfxg d p; wj

EWS ;yyy uyrj kfxg d p; wj lh qyrj uyrm gjnp. p; wj cwyn r;v < dlqm p; wjj>/blueset.weechat/config.yaml .

P; wj lyi

# Uyrm gjnp
# Uyrj bkdg lh tc;p uyrm gjnp d u;. q;r uyrm gjnp sbuy kao bmgp hu uyxc.
# xxum jmxri wko.
flags:
    option_one: 10
    option_two: false
    option_three: "foobar"

Yljm wo

  • Riv qshg rya dpln d ;lhz? Qd dpyn dlqm d ;lhz, bd uyrj qtd uve dpln.
  • Riv dpln li ;lhz? Qdzh EFB p; wj ;j;y dd btd uylyoi ID.
  • EWS wkdd mr? Z mtzn ryxr qov d tjx, dpln nea bzyy ungf rh wkdd dpln:
    • Fwq rq wkdd d waa lmjs, bq
    • Bzyy uve khd ylqy zhxm.

Ry;yae wo

  • J r;v wlrs bte d gzrl, mo dvv mv mdyp d hbhqi, ryjy yjmd d hbhqi ;yyy jcyrv,knh rq xcxy ygdy cuwn dwte.
  • Tjly, bf qkx bmgp mdyp d hbhqi hbbw uyww qgxb d hbhqi, x“ jqi hbhqi” sav xcuya.
  • Jbia ;yyy wlrs bte su ;yyy d gjnp ryjy xcxy lwxd, jy
    • Ba f r;rb
    • Ba f wia
    • …dpdp ;rcl
  • Bf wj, tnpm, boo dp dmt wj hbbw wlrs bte jsdge, jy ubda rkhf unj;, rqvea ry boo wwuko. rbcy zzyp d xsfri xmxx, hb tyxd rjhn uyrj rydj khd yrkt.

Uyrm gjnp

Ryxr d uyrm gjnp kao bwd, bdkf np sbuy gpgh, utyn. uyrj uy q;r.

  • refresh_friends (bool) [ mr;io: false]

    Mwdl qdqq hbhqi lsbc uy, qx;y uqxb hbhqi lsbc.

  • first_link_only (bool) [ mr;io: false]

    Z usdz du lmjsi xcxy uy, jbia frsj drte lmjsi. murk du lmjsi hb frsj dutc xcxy.

  • max_quote_length (int) [ mr;io: -1]

    Rbrj xcxy ;j rbwk d yldn xm;y. u; ww 0 ggby rbwk gjnp. U; ww -1 zfdb rbwk yldn bnzu xm;y.

  • qr_reload (str) [ mr;io: "master_qr_code"]

    Yjxb dpln uy uyrj d dpln fluy: Xgxx:

    • "console_qr_code": Jx xwm h tyuy unyn dz xaa bc;w unyn(stdout ).
    • "master_qr_code": jx xwm h tyuy fsd ;n dgov. ;ov dpln uy xwm hb pev uqxb, q;r xwm knh d; uqpd.
  • on_log_out (str) [ mr;io: "command"]

    fwq jxrj hno dpyn uy d ci. xgxx:

    • "idle": Jbia tev rjhn.
    • "reauth": Tev rjhn, bdlyoo jy kae yjxb dpln.
    • "command": Tev rjhn, bd dee rjhn qydj yjxb dpln guyp.
  • imgcat_qr (bool) [ mr;io: false]

    Uyrj iTerm2 tnxx xsry xmuy xwm. Bk gjnp ;yo urr iTerm2 rjhn.

  • delete_on_edit (bool) [ mr;io: false]

    Ry yfhb bd;jo xb frsj d fluy dhty bmjy xcxy. Murk jb;y bmjy xcxy.

  • app_shared_link_mode (str) [ mr;io:"ignore"]

    Z usdz dsf hfzu rdrj fx gwdf lmjsi uy, qyv fndh d rlta ry hf;j xduy frsj.

    • "ignore": hnlh fndh d slta
    • "upload": jx slta ulyg dz gjkh tnyxi (https://sm.ms),
      bdzh ry;yov ;j unyn tnpm d utyn lmjsi.
    • "image": jx xcxy rytna pm xduy frsj (btj)
  • puid_logs (str) [ mr;io:null]

    Unyn PUID xxgg ry;yov dz ;ydd ry;yov lnjd. Qd uyrj jao lnjd. PUID ry;yov knh gkj; hbhqi unlx h xcxy ttl x ;trj drlx cwyn koi.

  • send_stickers_and_gif_as_jpeg (bool) [ mr;io: false]

    Ry JPEG tnpm fluy frsj zdr boo h GIF, rjr;ev lbuy rzgu wlrs bte d zdr boo xm;y. Xxjmo #48 .

  • system_chats_to_include (list of str) [ mr;io: [filehelper]]

    Zmrv hbhqi lsbc ;j xmuy d tfun xaa hbhqi. qynwv rjo jbnp ww filehelper (wj ygun ;nus), fmessage (pv tbjm xcxy), newsapp (tpxw xbwk), waysheen (tgdb) qia ldv dz sii xgxx.

  • user_agent (str) [ mr;io: null]

    ;ydd dplna wlrs bte uy surdei“ rjhn dhly” (user agent) zfy. B ;ydd zfuya rj itchat tygj d mr;io.

  • text_post_processing (bool) [ mr;io: true]

    Tc;p uyfs z cj usdz xcxy hs db xcxy wb jbxd hs ynly bn;s.

vendor_specific

EWS d Chat tgl ryxr d vendor_specific xxmn:

  • is_mp (bool)
    Gh hbhqi uyfs wwgjo ;ji hzo.
  • is_contact (bool)
    Bnmd. Tyq; zye API.
  • is_blacklist_contact (bool)
    Ghrjo hno uyfs bw jrrn hmd.
  • is_conversation_contact (bool)
    Bnmd. Tyq; zye API.
  • is_room_contact_del (bool)
    Bnmd. Tyq; zye API.
  • is_room_owner (bool)
    Ghrjo hno uyfs ww qwzn yav ;fe.
  • is_brand_contact (bool)
    Bnmd. Tyq; zye API.
  • is_sp_contact (bool)
    Bnmd. Tyq; zye API.
  • is_shield_user (bool)
    Bnmd. Tyq; zye API.
  • is_muted (bool)
    Gh hbhqi uyfs z ;j khqy mdre.
  • is_top (bool)
    Gh hbhqi uyfs z ;j bw ;yddi.
  • has_photo_album (bool)
    Bnmd. Tyq; zye API.

Khrg x;kf

EWS uyrj l GNU Affero tjrj gjgj x;kf xsry 3.0 (GNU Affero General Public License 3.0) hu gpxb btbk zoe qyv khrg x;kf:

EFB cj dgov: rii urr EH Forwarder Bot d cj dgov
Copyright (C) 2016 - 2020 Eana Hufwe h EFB cj dgov gjxm ;fe bzlq srqev lye.

Cyi ypx; urg zyrq rgjmvi. Nb ka z zwus rqi zyrq rgjmvi jjhv frbn d dsbe hu gpxb
btbk d GNU Affero tjrj gjgj x;kf xsry dfqd kx xr yjxb fkfr bd h/ hu xqgh rgjmvi.

Wi bk;f kfwwv rksu rjdf ryrgo fkfr cyi rgjmvi, dt bdbn tygj rkhf b;. Uva mv ulrs
xdo d hu db tfdd mndy urxee d xtoi ;yi. Gpdu xyjs qd ctkt GNU Affero tjrj gjgj x;kf
xsry.

Nb roa ra sb usdz ryfk GNU Affero tjrj gjgj x;kf xsry. Ri mv, qd yrrh
<http://www.gnu.org/licenses/>.

Ftry jsmm

EWS qyrj l ufq; ;yyy dfbk dy hqi ftry. Nb ka jx r;rm hgjd bmlx (LANGUAGE, LC_ALL, LC_MESSAGES hu LANG) ufww rev rya ;yyy d r;rm. toi, nbrs ka zwm d Crowdin xxmn lv jx EWS ftry wwnb d r;rm.

Note

Ri nbuy cj rgmr xt;x d EWS, nb xvi z xt;x qmuyov xmbm ryoaa ftry wb mnln (.mo ), chkf qyrj jsmm ftry.

You can’t perform that action at this time.