turing
V2EX  ›  Node.js

>ω< 基于node的颜文字生成工具

  •  
  •   turing · Jul 31, 2013 · 8913 views
    This topic created in 4850 days ago, the information mentioned may be changed or developed.
    我又闲的蛋疼了: https://github.com/turingou/o3o

    功能就是,根据情绪种类返回颜文字给你。。

    $ npm install o3o

    ````
    var o3o = require('o3o');

    console.log(o3o.fetch('smile')); // will output (●'◡'●)ノ♥
    console.log(o3o.fetch('cry')); // will output π__π
    ````
    38 replies  •  2015-11-07 21:53:06 +08:00
    panlilu
    panlilu
    Jul 31, 2013 via iPad
    1
    喜欢。。(^○^)
    underone
    underone
    Jul 31, 2013
    2
    (⊙﹏⊙)
    turing
    turing
    OP
    Jul 31, 2013
    3
    爱你!(╭ ̄3 ̄)╭♡

    0.0.2 版本,添加命令行支持。。直接 $ o3o smile 就可以生成 ^∀^ 哦

    欢迎 star && fork && PR 添加新表情啊!!
    Showfom
    Showfom
    PRO
    Jul 31, 2013
    4
    (╭ ̄3 ̄)╭♡ 支持楼主
    coolicer
    coolicer
    Jul 31, 2013
    5
    O_0 不错哦。
    turing
    turing
    OP
    Jul 31, 2013
    6
    - 0.0.4 感谢 sivaGao 同学的PR!加入了超过1000个新颜文字表情!支持按tag搜索哦~
    alai
    alai
    Jul 31, 2013
    7
    how to use tag?
    otakustay
    otakustay
    Jul 31, 2013❤️1
    8
    点赞( ̄ε ̄@)

    是否可以增加o3o help输出可用的表情列表,每次去github上翻列表挺累。另外加个node-clipboard模块,o3o smile -copy之类自动复制到clipboard?
    turing
    turing
    OP
    Jul 31, 2013
    9
    @alai

    比如可以这样匹配类型:

    o3o.fetch('confuse') ——> ・ヘ・?

    也可以这样:

    o3o.fetch('困惑') ——> ・ヘ・?
    luikore
    luikore
    Jul 31, 2013
    10
    夏洛特很传神: (☽ ̍̑⚈͜ ̍̑☾)
    alai
    alai
    Jul 31, 2013
    11
    支持@otakustay
    turing
    turing
    OP
    Jul 31, 2013
    12
    @otakustay 没问题,这就加~
    turing
    turing
    OP
    Jul 31, 2013
    13
    @alai @otakustay

    - 0.0.5 : 已经支持ls 所有可选的类别

    $ o3o ls

    或者使用API

    o3o.available()
    infong
    infong
    Jul 31, 2013❤️1
    14
    赞啊~继续提供颜文字素材,233333~

    http://www.douban.com/note/207197491/
    turing
    turing
    OP
    Jul 31, 2013
    15
    贴个图:

    ufo22940268
    ufo22940268
    Jul 31, 2013
    16
    想问一下lz,做这个大概花了多少时间
    turing
    turing
    OP
    Jul 31, 2013
    17
    @ufo22940268 大概一个小时昨晚。。
    zythum
    zythum
    Jul 31, 2013
    18
    @turing 大多时间应该花在收集颜文字上了
    breeswish
    breeswish
    Jul 31, 2013
    19
    求加入复制到剪贴板功能 =u=
    turing
    turing
    OP
    Jul 31, 2013
    20
    @zythum 恩。。写文档啊,写测试用例啊。。找表情啊之类的。。
    turing
    turing
    OP
    Jul 31, 2013
    21
    @breeswish 正在 CLI 里加这个功能 ~
    renyi315
    renyi315
    Jul 31, 2013
    22
    大爱颜文字,多谢,我会持续关注这个项目的。
    lucifr
    lucifr
    Aug 1, 2013❤️2
    23
    大爱~ (*°∀°)=3

    写了个 Alfred 2 的 workflow,方便查找复制:

    http://lucifr.com/2013/08/01/o3o-workflow-for-alfred/
    panlilu
    panlilu
    Aug 1, 2013
    24
    @lucifr 赞
    turing
    turing
    OP
    Aug 1, 2013
    25
    @lucifr 超级赞!\(^0^)/

    已经把地址添加到 readme 的 ## rebound !
    lucifr
    lucifr
    Aug 1, 2013
    26
    @panlilu

    @turing

    ヽ(∀゜ )人( ゜∀)ノ
    Hysteria
    Hysteria
    Aug 8, 2013
    27
    这个太赞啦,必须支持。
    lyuehh
    lyuehh
    Aug 8, 2013
    28
    大爱啊~~
    itfanr
    itfanr
    Aug 12, 2013
    29
    npm install o3o
    为什么没有写网址就能安装?o3o这个关键词在哪里注册了吗?
    fanghui
    fanghui
    Aug 12, 2013
    30
    支持楼主
    baitouwei
    baitouwei
    Aug 13, 2013
    31
    赞一个
    PotatoBrother
    PotatoBrother
    Aug 13, 2013 via iPhone
    32
    好东西顶一个╰( ̄ω ̄o=)>
    chshouyu
    chshouyu
    Aug 13, 2013
    33
    不错不错~
    kelvinli
    kelvinli
    Aug 13, 2013
    34
    (‘∀’●)♡ 哎呦 不错哦
    Zuckonit
    Zuckonit
    Aug 22, 2013
    35
    好玩,哈哈。用了下你的yan.json, 写了py版本的https://github.com/Zuckonit/pyo3o
    turing
    turing
    OP
    Aug 22, 2013
    36
    @Zuckonit 感谢!我加到rebound里哈哈~
    Zuckonit
    Zuckonit
    Aug 22, 2013
    37
    @turing 改了下代码,保持跟你的API一致, 有空再加一个粘贴版。
    callmewhy
    callmewhy
    Nov 7, 2015
    38
    来挖坟了。。。感谢楼主,已经在微信公众账号里用上了~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1150 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 68ms · UTC 23:25 · PVG 07:25 · LAX 15:25 · JFK 18:25
    ♥ Do have faith in what you're doing.