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

代码可视化工具

  •  
  •   aoyoo · Jun 9, 2013 · 5867 views
    This topic created in 4745 days ago, the information mentioned may be changed or developed.
    请问有没有把局域网内的,可以代码(c/c++/java/python等)可视化到网页上的工具呢?
    类似于在github上就可以方便的浏览代码。
    11 replies    1970-01-01 08:00:00 +08:00
    windylcx
        1
    windylcx  
       Jun 9, 2013
    支持代码高亮的wiki.
    LokiSharp
        2
    LokiSharp  
       Jun 9, 2013
    用WordPress的插件或者 Codiad Web IDE https://github.com/Codiad/Codiad
    bengol
        3
    bengol  
       Jun 9, 2013
    lxr
    lululau
        4
    lululau  
       Jun 9, 2013
    highlight -Il XXXCode.xxx > XXXCode.html
    python2 -m SimpleHTTPServer
    aoyoo
        5
    aoyoo  
    OP
       Jun 9, 2013
    @LokiSharp thx,准备试试看Codiad Web IDE~

    @bengol 这个好像部署起来有点复杂的样子,也准备试试看~

    @lululau highlight 这个过程要是能自动执行就好了
    aoyoo
        6
    aoyoo  
    OP
       Jun 9, 2013
    @windylcx 那还有手动把代码贴到wiki里面?不知道有没有现成的开源工具
    coagent
        7
    coagent  
       Jun 9, 2013
    搭建 gitlab 并把代码放上去,就像 github 一样了。
    lululau
        8
    lululau  
       Jun 9, 2013
    @aoyoo

    OS X:

    while :; do t=$(stat -f%m XXXCode.xxx); [ "$t" != "$tt" ] && { highlight -Il XXXCode.xxx > XXXCode.html; tt="$t"; }; sleep 1; done &

    python2 -m SimpleHTTPServer

    Linux:

    while :; do t=$(stat -c%Y XXXCode.xxx); [ "$t" != "$tt" ] && { highlight -Il XXXCode.xxx > XXXCode.html; tt="$t"; }; sleep 1; done &

    python2 -m SimpleHTTPServer
    ensonmj
        9
    ensonmj  
       Jun 10, 2013 via iPad
    hg server
    undozen
        10
    undozen  
       Jun 10, 2013 via iPhone
    这不叫代码可视化吧
    terry
        11
    terry  
       Jun 11, 2013
    1. OpenGrok - Cross reference engine

    2. GitLab - 类似 GitHub 把代码 push 上去,用 web UI 看代码。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2902 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 06:18 · PVG 14:18 · LAX 23:18 · JFK 02:18
    ♥ Do have faith in what you're doing.