• 请不要在回答技术问题时复制粘贴 AI 生成的内容
tiaod
V2EX  ›  程序员

这种算是开源项目吗

  •  
  •   tiaod · Feb 27, 2019 · 5575 views
    This topic created in 2806 days ago, the information mentioned may be changed or developed.

    前端相关

    例子 1,上传的代码是经过压缩混淆的,repo 里面没有源码

    https://github.com/10cella/weapp.socket.io

    例子 2,放 github 上的代码是经过打包和压缩的

    https://github.com/pqina/filepond

    16 replies  •  2019-02-27 14:58:15 +08:00
    sugars
    sugars
    Feb 27, 2019
    1
    binux
    binux
    Feb 27, 2019
    2
    第一个不是也有源码吗? lib/index.js
    tiaod
    tiaod
    OP
    Feb 27, 2019
    3
    @binux 点开了看没有。。里面就一句
    ```
    module.exports = require('socket.io-client')
    ```

    而且这个文件是没有用到的
    tiaod
    tiaod
    OP
    Feb 27, 2019
    4
    @sugars 肯定是经过打包的,不然一万行一个文件你怎么改
    dorentus
    dorentus
    Feb 27, 2019❤️1
    5
    第一个似乎源码就只是 https://github.com/10cella/weapp.socket.io/blob/master/lib/index.js

    dist/weapp.socket.io.js 是 webpack 输出的……
    tiaod
    tiaod
    OP
    Feb 27, 2019
    6
    @dorentus 原来如此!
    janxin
    janxin
    Feb 27, 2019
    7
    最多算他们 gitignore 写的有问题吧...
    fumichael
    fumichael
    Feb 27, 2019❤️1
    8
    https://github.com/pqina/filepond

    这个挺漂亮呀,谢谢安利了
    tongyifan
    tongyifan
    Feb 27, 2019 via Android
    9
    fildpond 谢谢安利+1
    abmin521
    abmin521
    Feb 27, 2019 via Android
    10
    建一个 win10 的 repo 把 ISO 传上去算开源吗
    66beta
    66beta
    Feb 27, 2019 via Android
    11
    filepond 没源码,只有未压缩版本
    sighforever
    sighforever
    Feb 27, 2019
    12
    第二个这个真不好说啊,说不定就是一个搞的,写在一个大文件里面
    dany813
    dany813
    Feb 27, 2019
    14
    fildpond 好棒啊
    neoblackcap
    neoblackcap
    Feb 27, 2019
    15
    我觉得开源更多是在于那个协议,协议赋予了你修改分发的权利。所以混淆产物也应该是属于开源,你怎么改是你的事情,能不能改得动也是你的事情。
    上传一个 Windows 10 的镜像文件显然做不到附带开源协议,有的只会是微软的 EULA,那么就没有什么开源的争议。
    如果要说有源代码没有开源的例子,各大游戏引擎就是一个,比如虚幻,unity 都是有源代码提供的,但是你不能随意分发,必须同意 EULA 才能使用。
    deepdark
    deepdark
    Feb 27, 2019
    16
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1385 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 22:46 · PVG 06:46 · LAX 14:46 · JFK 17:46
    ♥ Do have faith in what you're doing.