爱意满满的作品展示区。
exoticknight

基于 Electron 和 angular material 编写的动画广播聚合应用

  •  
  •   exoticknight ·
    exoticknight · Jul 7, 2015 · 4242 views
    This topic created in 3995 days ago, the information mentioned may be changed or developed.
    github: https://github.com/radioit/radioit-desktop

    lz 在看动画之余有时会听跟动画联动的广播,嫌打开网页麻烦,写了 python 脚本来抓。

    近来在想弄个带 GUI 的,由于以前稍稍用过 node-webkit(现在叫 NW.js),所以尝试用 Electron(原来叫 Atom Shell)来做一个。下面是截图。



    有一些简单的功能:
    1、浏览三个广播站的广播
    2、浏览广播的详细信息
    3、得到广播的音频地址

    关于 Electron 的博文不多,于是也在更新编写过程的总结性博文:

    http://blog.e10t.net/build-application-with-angular-and-ng-material-based-on-electron-0-preface/

    http://blog.e10t.net/build-application-with-angular-and-ng-material-based-on-electron-1-analyze-and-configuration/

    另外 Electron 的例子同样也不多,于是也在写上面的应用之后尝试抽出了一个 startup application。

    github: https://github.com/exoticknight/electron-startup

    大家可以来给建议和 PR。
    8 replies    2016-01-28 11:51:25 +08:00
    sxd
        1
    sxd  
       Jul 8, 2015   ❤️ 1
    coolicer
        2
    coolicer  
       Jul 8, 2015 via iPhone
    回去看看
    arens
        3
    arens  
       Jul 13, 2015
    怎么实现这种Google style,有开源库吗?
    exoticknight
        4
    exoticknight  
    OP
       Jul 14, 2015
    @arens 大部分是用基于 angular 的 angular material,标题栏是自己用 css 做的。现在还有一个 MDL,http://www.getmdl.io/components/index.html
    sunqixiaoxixi
        5
    sunqixiaoxixi  
       Jul 20, 2015 via iPhone
    electron在哪这方面有优势呀
    exoticknight
        6
    exoticknight  
    OP
       Jul 20, 2015
    @sunqixiaoxixi
    说有优势倒不如说迎合了一部分人的使用习惯,扩展了软件编写的方法
    对比普通 GUI 库:能用 html 和 css,熟悉网页制作就能做 GUI / 界面自由度大 / 调试方便
    对比 NW.js:社区成熟活跃 / 以 js 为主导
    Dean
        7
    Dean  
       Jan 28, 2016
    @exoticknight 敢问题主有的什么编辑器或 IDE ,如何解决引入 require('electron')module 后,无法在编辑中自动代码提示,非常不习惯没提示😂
    exoticknight
        8
    exoticknight  
    OP
       Jan 28, 2016
    @Dean 我用 sublime text ,的确是没有自动提示的,有 js 的提示其实就够了。另外 Electron 的版本变化太快,应该也没有什么工具吧?不知道 webstorm / VS 有没有?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   902 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 19:05 · PVG 03:05 · LAX 12:05 · JFK 15:05
    ♥ Do have faith in what you're doing.