Quantcast
Channel: 看得透又看得远者prevail.ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
Viewing all 20452 articles
Browse latest View live

用以访问内网主机的工具-pagekite

$
0
0
Python implementation of the PageKite remote front-end protocols. 

This is pagekite.py, a fast and reliable tool to make localhost servers visible to the public Internet.
For stable releases and quick-start instructions, please see: https://pagekite.net/downloads/
The full manual is in the docs/ folder, or visible on-line here: https://github.com/pagekite/PyPagekite/tree/main/doc
Note: This program is under active development and the contents of this repository may at times be somewhat unstable. Stable source releases are archived here: https://pagekite.net/pk/src/


NIOSocks,基于java的Socks Proxy server程序

使用https程序:'gtunnel+http proxy'翻墙

$
0
0
linux vps上。首先安装go环境。然后,
cd $GOPATH
go get -u -v github.com/fangdingjun/gtunnel/

cd ~
wget https://raw.githubusercontent.com/fangdingjun/gtunnel/master/config_example.yaml -gtunnel-config.yaml
nano gtunnel-config.yaml
cat gtunnel-config.yaml
# gtunnel can do the follow things
#  a. listen plain, forward through TLS
#  b. listen plain, forward through plain
#  c. listen TLS, forward through plain
#  d. listen TLS, forward through TLS
#
# when cert and key specified it will listen on TLS
#

-
    # listen tls and forward through plain
    listen:
        host: 0.0.0.0
        port: 4430
        cert: /root/.acme.sh/xyz.com/fullchain.cer
        key: /root/.acme.sh/xyz.com/xyz.com.key
        hostname: xyz.com

    backend:
        host: localhost
        port: 7070
        tls: false

此处的xyz.com是你的域名,请把它解析到你的服务器的ip. 7070端口是你的服务器上安装的某个http proxy程序,比如tinyproxy监听的端口号。此处的配置文件的意思是你访问主机xyz.com:4430,你的服务器会把此访问请求转发到后端的某个http proxy,再由此http proxy去访问目标网站/被封的网站。

然后,运行:
gtunnel -c ~/gtunnel-config.yaml
不过gtunnel -c ~/gtunnel-config.yaml是运行在前台的,我们可以使用systemd把它运行为service:
nano /etc/systemd/system/gtunnel.service
cat /etc/systemd/system/gtunnel.service
[Unit]
After=network.target

[Service]
ExecStart=/root/go1.13/go/gopath/bin/gtunnel -c /root/gtunnel-config.yaml
Restart=always

[Install]
WantedBy=multi-user.target

然后运行:
systemctl start gtunnel
systemctl enable gtunnel

服务器端搭建完成。

在本地机器的chrome上,安装switchy-omega插件,然后新建一个情景模式,代理协议选择https,代理服务器地址填你的域名xyz.com, 代理端口填4430,点击“应用选项”,选择此情景模式,即可用chrome翻墙。

https程序再次添加一员。

项目地址:

相关帖子:






Man in the Middle SOCKS Proxy for JAVA, mitmsocks4j

$
0
0

An interceptor for SOCKS Proxy protocol to allow user to dump any connections' content even if it is secured with SSL.
Please note that this is not a general purpose proxy server (performance issues and lack of capabilities). I actually developed it for my needs about examining connections of mobile applications.
I only tested it over connections of applications on my Android phone. So it is a very restricted cluster for a test. If you encounter an misfunction, you are always welcome to open an issue explaining it.

Usage

java -jar mitmsocks4j.jar -h
usage: mitmsocks4j [-h] [-l [{ALL,TRACE,DEBUG,INFO,WARN,ERROR,OFF}]]
[-x [PROXYPORT]] [-d [DELEGATORPORT]]
[-s [SECUREDPORTS [SECUREDPORTS ...]]] [-k KEYSTORE]
[-p PASSWORD]

Strips SSL/TLS layer from SOCKS proxy connection to dump plain data!

optional arguments:
-h, --help show this help message and exit
-l [{ALL,TRACE,DEBUG,INFO,WARN,ERROR,OFF}], --loglevel [{ALL,TRACE,DEBUG,INFO,WARN,ERROR,OFF}]
Sets logging level!
-x [PROXYPORT], --proxyport [PROXYPORT]
Proxy port that proxy listens.(default:1080)
-d [DELEGATORPORT], --delegatorport [DELEGATORPORT]
Delegator port that mitm takes place.(default:1081)
-s [SECUREDPORTS [SECUREDPORTS ...]], --securedports [SECUREDPORTS [SECUREDPORTS ...]]
Secured ports that will be ssl-stripped
-k KEYSTORE, --keystore KEYSTORE
Keystore that will be used to imitate actual
server certificates for clients(default:mitmsocks4j.jks)
-p PASSWORD, --password PASSWORD
Keystore password.(default:123456)
Sample usage:
java -jar mitmsocks4j.jar -l ERROR -s 5228 443 8883

About CA Certificate

mitmsocks4j needs a CA certificate to forge remote server's certificate and signs it. So user should add this CA certificate to its trust store. Otherwise most of applications will drop the connection.(Browser may have an option to ask user to accept that certificate.)

About SOCKS Protocol

To be able to use this tool, user should be able to redirect his program's traffic to a SOCKS proxy. Most of the browsers have an option to configure SOCKS proxy settings. In my case; Android does not have such an option(only supports HTTP proxy). So I rooted my phone and use ProxyDroid.

年代向錢看 美國死亡數上看24萬!川普預告未來兩週很痛苦!全球串聯向中國求償!習近平重演庚子賠款悲劇?

$
0
0

-年代向錢看 蔡英文拚醫療外交!捐一千萬片口罩助疫情嚴重國家!美國出現海軍版鑽石公主號?

让你的web server支持http/2.0

$
0
0

http/2.0 是下一代的http协议(查看wikipedia),它 比http/1.1具有更高的效率,目前还没有正式发布,还处在修改阶段,新最的标准是draft-17h2-17.
目前chromefirefox都已支持http/2.0了,我们可以在自己的网站上部署http/2.0来尝新。
我们可以使用这个C语言的http/2.0的库nghttp2, 安装方法:
git clone https://github.com/tatsuhiro-t/nghttp2
cd nghttp2
autoreconf -ivf
./configure
make
sudo make install
安装成功后,有如下组件:
libnghttp2-xx.so 解析http/2.0的协议的库文件
nghttp 一个http/2.0的客户端程序,类似于wget
nghttpx 一个http/2.0的代理程序, 类似于squid
nghttpd 一个http/2.0的web server程序, 类似于nginx
如果你的web server只有静态文件, 使用nghttpd就够了
nghttpd -d /path/to/docroot 443 server.key server.crt
如果不用ssl
nghttpd -d /path/to/docroot 80 --no-tls
如果要支持php等动态内容,你可以使用nghttpx作为前端,后端使用nginx或者apache, 像这样
nghttpx -f '0.0.0.0,443' -b 127.0.0.1,81 --cert server.crt --key server.key
nghttpx监听443端口,接收http/2.0请求,然后转发到127.0.0.1:81端口,让apache运行在此81端口处理实际的请求。
nghttpx黙认是启用ssl的,如果你的网站没有部署ssl,也可以使用不带sslhttp/2.0,命令如下
nghttpx -f '0.0.0.0,80' -b 127.0.0.1,81 --frontend-notls
当然了,nghttpx/nghttpd也支持http/1.1http/1.0协议,完全不用担心不支持http/2.0的浏览器。
如果你安装了spdylay库, 在启用ssl时,nghttpd/nghttpx也支持spdy/3.1协议。
更多关于nghttp2的信息点击这里.

OpenSIPS

$
0
0
OpenSIPS is a GPL implementation of a multi-functionality SIP Server that targets to deliver a high-level technical solution (performance, security and quality) to be used in professional SIP server platforms. 

OpenSIPS wants to overcome the development latency of current SER project, to ensure a shorter path into a release for new added features. OpenSIPS is a project maintained by OpenSIPS Solutions http://www.opensips-solutions.com/ by a team including core and main developers of SER project.

Info

For information regarding the OpenSIPS installation, please see the INSTALL file.
For current developers/contributors of this project, see the CREDITS and AUTHORS file. For complete license information, please see the COPYING file. For a quick overview of OpenSIPS modules, please see the README-MODULES file.

Docs

Documentation about each module can be found in the README file in each module directory. For online documentation, please see https://opensips.org/Resources/Documentation
For additional documentation, tutorials and examples please see also https://opensips.org/Resources/DocsTutorials

Questions

For any question related to the OpenSIPS usage, please use the users@lists.opensips.org public mailing list.
For questions regarding the development of OpenSIPS - like contributions, bug reports, etc - please use the devel@lists.opensips.org public mailing list.
For questions regarding businesses around OpenSIPS - like products,· consultancy, trainings, etc - please use the business@lists.opensips.org public mailing list.
Also there is a generic news mailing list where you can learn about what is· new or important for the OpenSIPS project, about alerts and updates regarding relaces and about events around the project. news@lists.opensips.org




socks-cli,让终端/console也能使用socks5 proxy

$
0
0
A solution to make CLI commands use socks5 proxy.
socks-cli is a solution to make CLI commands use the specified socks5 proxy, by setting up special environment variables, such as ALL_PROXY. It works on linux and macOS with bash and python installed.
Here is an incomplete list of supported commands:
  • git
  • curl
  • wget
  • brew
  • pod
  • gem
  • npm
  • ...

Usage

  1. Clone the code.
  2. Copy socksproxyenv.sample to socksproxyenv, and fill your socks5 server into it.
  3. Call source socks-cli/activate before your CLI commands:
    $ source socks-cli/activate
    Serving HTTP proxy on 127.0.0.1 port 54967 ...
    Done! Some environment variables have been changed to:
    GIT_PROXY_COMMAND=/Users/x/socks-git/sh/socksified-connect.sh
    GIT_SSH=/Users/x/socks-git/sh/socksified-ssh.sh
    ALL_PROXY=socks5h://127.0.0.1:1080
    HTTP_PROXY=http://127.0.0.1:54967
    HTTPS_PROXY=http://127.0.0.1:54967

    $ git clone git@github.com:git/git.git
    Cloning into 'git'...
    remote: Counting objects: 213208, done.
    remote: Compressing objects: 100% (372/372), done.
    Receiving objects 2.0% (1/213208), 620.00 KiB | 121.00 KiB/s
    ...
  4. Optionally, you can call source socks-cli/deactivate to deactivate socks-cli.
For more details, please see socksproxyenv.sample.


osx-proxy,把SSH server变为SOCKS proxy

$
0
0
Turn any SSH server into a SOCKS proxy and auto-enable it in OS X.
This should work with any remote SSH server!
Move proxy to somewhere in your PATH. Make proxy executable via chmod +x proxy.
Choose between enabling proxy authorization as Environmental Variables or through directly placing credentials in proxy file.
If you choose to place the variables as Env varibles, make sure that file is sourced by your .bashrc or .zshrc.
Edit settings in proxy:
Set PROXY_USER and PROXY_HOST somewhere in sourced path ie enter following info into .bashrc or .zshrc or a more private auth file
export PROXY_USER='user'
export PROXY_HOST='example.com'
If choosing not to set credentials as Environmental Variables, replace the values below for $PROXY_USER and $PROXY_HOST with genuine credentials.
remoteuser="SSH_USER_HERE"
remoteproxy="IP_OR_HOSTNAME_HERE"
remoteport="22"
Run like this:
proxy [on|off|killall|shutdown|no_argument]

on = turn proxy on and setup ssh tunnel
off = turn proxy off
killall = kill all ssh tunnels
shutdown = off and killall
no_arg = toggle current state (if on, set as off, if off set as on)
frm https://github.com/melvinsh/osx-proxy

专座

$
0
0

大权独揽坐龙椅,
危害人类共同体。
历史审判设专座,
虚席以待病毒帝。

渴望君行道的「民主派」

$
0
0
因為中國政局近幾年的發展,跟體制糾纏不清的知識份子有點不滿,開始又回頭意淫鄧小平路線。他們說,習路線不好,鄧路線才是正道。好像一個一個化身成前朝重臣,批評現在的新君新政違反了「祖宗家法」。
知識份子見改革開放多年之後,還有不少毛澤東鐵粉懷念當年的封閉社會,大惑不解,但其實自己也是五十步笑百步。他們批習擁鄧,但自己在這三十年來,或多或少都在六四的問題上,做過許多賺人熱淚的道德文章,對鄧小平為了「大局」而殘暴殺人發揮過許多春秋筆法。但到了習時代,鄧小平體制又突然成為救命索。好像十分同情六四事件的他們,又同時成為鄧小平的護教者,他們認為習路線走向專制,違反了鄧小平的「初衷」。
香港民主派大體而言都是奉行這種路線。也就是中國體制內外的自由派,講自由民主,其實都很淺,因為他們無法脫離中國士大夫的傳統,也就是在君以外,不能獨活;士大夫從來對千萬的愚民沒有希望,他們的政治實踐,從來只有四個字:得君行道。李柱銘也自認為中國人,所以這一層是脫不了的。到了今天,理應是千帆過盡,該看清的該看清了,該失望的也該失望了,但他沒有,還是用以前累積下來的身份四處愚己愚人。
最近李在台灣也是重彈老調,說港獨是共產黨製造的,勸習近平應回歸鄧小平路線,只要給香港人「原版一國兩制」,給他們民主,就自然不會有人支持港獨。
這裡有幾個問題,其實很多年了,李柱銘都沒有更新過自己的資料庫。這裡有淺層的問題:如果我們相信香港和中國本質性的分別,其實民主制度來臨,也不可能消融之,反而會共生,甚至起推波助瀾的作用。舉例來說,如果香港一人一票普選行政長官和立法會,你認為香港的民意會支持如何處理人口不斷湧入的社會危機?台灣實行普選的時候,中共要反對,發射飛彈,那就是因為他們從來知道真民主即事實獨立。
民主人士的一貫問題:只有形而上的道德判斷,而從來不想形而下的資源問題。一個真正民主產生、對香港人負責的特區政府,不免會制訂一些保護香港人、同時損害中國人利益的政策。這對於中國人來說,就已經是搞獨立。給香港「真民主」,港獨會燒得更加熾盛,還有體制給予能量。如果習近平真的聽到李柱銘的「勸告」,他只會想:「他媽的,這老頭當我傻的嗎?」
真民主就是港獨,這一點共產黨從來就有透徹認識,所以從來不會鬆手,不放的就永遠不放。李柱銘天真地為中國獻謀,謂只要香港人有民主,就自然不會再支持港獨——當然啦,到時大家已經得到實質的操作權力,根本不用喊,做就成。但對中國來說,方案1:拿著實權,而有人開始搞港獨,都好過方案2:大家表面上奉中國為祖國,但實際上可以脅民主制度,拒中國權力於門外。

大一統思維是無敵的?

李柱銘始終認為自己是中國人,就好像我看見那些岳華、吳耀漢那一輩人,就是很接受中華民族主義,認為自己無論如何都是中國人的那一代。我不是想批評誰,我只是覺得李柱銘在這一點上,跟岳華他們都沒有分別,亦很難改變,每個時代都有每個時代的主旋律,再「開明」的人都有自己的逆鱗,那就是國家認同,國家認同是先於民主的。中國很多「開明派」,他們也說支持民主自由的,但如果台港藏疆說要獨立,他們十有八九都是突然露出真面目的。
「民主派」內裡其實是被貶官的中國士大夫,他們希望爭取的民主,不是從民眾那裡來,而是君主恩賜;他們一開始就否定了香港或任何一個中國統治下的地區有自決和分離權,其實是根本否定了民主精神。如果你講政治現實,那你跟所謂建制派有甚麼分別?他們都渴望有多點自主權的,但因為不相信可以爭取到,所以就不提。說來最終兩批好像敵對的人,都是同一批人。
所以在否定「人民有權」這情況下的民主是甚麼呢?就是君主突然大發慈悲自動放權,但這件事在古今中外都不會發生。曾經發生的,都是因為貴族脅持君主。
其實「民主派」底下相信的「中華思想」,和「爭取民主」根本是互相否證,非此即彼的。中國當然是一直在哄騙香港和世界,但最後他露出真面目了,李柱銘那類人究竟有沒有一刻感到苦痛、失望,我不知道。
但我也知道士大夫經常都痛苦,他們寫下了很多詩詞歌賦講這些。但他們不會接受自己被耍了一生的事實。他們的世界中心最終還是儒教皇權,還是只能剩下勸。君主殺人,他們批判,但心裡還是想勸。他們表達異議,但不會過份,因為自己死掉,就沒人勸君主了,這份工作,宇宙之中捨我其誰?一邊批判,六四屠殺之後,還要繼續向鬼佬為中國爭取貿易利益。我要是皇帝,都忍不住愛這些口硬心軟的小忠臣。

鄧體制和習體制是一脈相承的。

較深遠的問題——中國開明派及其海外餘孽都在唱一個調:一切只要回到鄧小平體制,回到「一國兩制的初衷」,世界就會一天都光哂。這只是對中國文明沒有深切了解。古世以來就有王、霸之辯,在現實中就是打不過人的時候講王道,能夠打的時候,霸道也即事功。中國的「政治哲學」,一直就是這樣「王道—霸道」的無限循環。王道並不是真的王道,而只不過是霸道的起手式。
在習體制映襯下,鄧體制好像比較開放、開明、非一人專制,但鄧的目標是為了保住共產黨的權力,之後發生的社會繁榮,甚至一度給人幻想的公民社會、逐漸改革的社會氣氛,都只是過程中的副產品,這是鄧不想要的,所以他用了軍隊和暴力來解決,放出來的總有一日要收回來。
鄧的潛隱是是擴張的預備式,習是鄧的完成。習體制有意無意淡化鄧的歷史地位,這裡有父與子的互弒情結:習要鄧退出歷史舞台,因為他知道自己的擴張,與鄧是一體兩面,他的成功離不開鄧,所以就更不想有人提起。這裡有很奧妙的心理。但不管如何,鄧體制不會解決問題,因為鄧體制的後面一定是習體制,不是習也會是其他人。他們意淫和歡迎「開明專制」,只是不了解開明專制的本質,就是其必然逐步走向激進專制。就好像毛蟲變成蛹,之後長出蝴蝶,這是預早編程好的基因。你不能說我只要毛蟲,不要蝴蝶。
至於鄧體制派生出來的「一國兩制」,也是同理。「一國兩制」是不恆久的,就算是紙面上,也是寫得極為含糊的「50年不變」。「一國兩制」的存在並不是為了保存香港的異質性,而是為了長時期和有效地消除其異質性。「民主派」經常抱著「一國兩制」當通關密語,好像它是香港獨特性格和自主性的保證。但我們現在見到的所有人口、經濟、文化殖民,沒有一項不是「一國兩制」的初衷。「一國兩制」就是為了催同兩地,而不是為了區隔;如果區隔是重點,那當初就不用「收回主權」,維持「長期利用,充份打算」就好。所謂「原版的一國兩制」,也就是一個逐漸走向殖民的裝置。從這個角度來看,「一國兩制」命定失敗,而失敗即是它的使命。辯證地看,它失敗的時候,即是它完成了初衷。
還是那個比喻,「原版一國兩制」是「異形」的抱臉蟲,但你只要給牠寄生了,異形最終都會出現,這只是時間問題。你不能擁抱抱臉蟲,卻不要異形。但「民主派」當年是統戰的一部份,叫做「民主回歸派」。李柱銘的戰友司徒華在六四屠殺之後,仍然表態支持香港一定要「回歸」後來社運青年所稱的「殺人政權」,因為司徒華認為,香港避開了中國建國以來的各種政治災難,於心有愧,於是支持香港要「回歸」中國跟祖國人民一起奮鬥。
所以中國文明其實一向如此,但上一代沒有阻止,反而歡迎,但之後又說貨不對辦。香港已經是一個悲劇,但他們總有能力將這個悲劇還染上一重鬧劇的色彩。一班被虐狂的士大夫在主人面前誠惶誠恐又持續無病呻吟的戲碼。老天。

最後一批不承認「一國兩制」,命定失敗的人

另外我看見根據台灣的《中時》報導,李柱銘還在談那些新移民也很可愛,他們來到也會投民主派,民主派還有「六四比」的老話。我不想下判斷,因為我不肯定《中時》是否如實報道。但說到民主派還有「六四比」,李柱銘是不是線路太慢,還未收到姚松炎和李卓人的補選結果?他們的補選結果,不正是顯露了,很多97年之後移民到香港的中國人,只是貪圖的已發展成果,而不是李柱銘那一輩人想像的「投奔自由」?「民主派」張開手臂那麼多年,反而拆掉了自己的優勢,坐看香港被殖民。
我知道李柱銘不會改變,他會繼續苦口婆心叫我們不應拆斥中國人。但我不妨用另一個方式說:其實香港人今時今日已經沒有能力排斥中國人,反而是中國人鵲巢鳩占在排斥我們,你知道嗎?你有感覺嗎?對一個80歲的長者,又能有甚麼知性的要求?在法律上,他幫助過很多人,但他又同時真的能自顧自做苦口良藥的忠臣,彷彿看不到更多人在這個「憲政安排」受苦。是甚麼令他們繼續盲撐這個大局?也許是因為這一輩人都「一國兩制」是自己有份傾返來,生長出盲目的期望,這東西變成甚麼怪物,還是當牠如珠如寶。
有這樣的心理狀態,整個「開明派」逐漸成為某種維穩的擺設,便是很合理的演進。因為北京唱好一國兩制,而老一輩的民主派又覺得它還有希望,無形中,雙方便因為客觀形勢改變而接近了——在本土主義面前。
正如「開明派」系譜的人在中國也是呼喚鄧小平的。所以開明也不是真的開明,民主也不是真的民主,等於袁世凱以來,中國終於又回到了一人專制,胡混了一百年,甚麼都沒有超出中華思想。
※作者為香港青年評論者/作家
——上报

RAP2-DELOS 开源社区版本

$
0
0
阿里妈妈前端团队出品的开源的接口管理工具-RAP第二代 

 (后端 API 服务器)

Build Status
RAP2 是在 RAP1 基础上重做的新项目,它能给你提供方便的接口文档管理、Mock、导出等功能,包含两个组件(对应两个 Github Repository)。
  • rap2-delos: 后端数据 API 服务器,基于 Koa + MySQLlink
  • rap2-dolores: 前端静态资源,基于 React link
Rap 官方服务站点,无需安装直接体验: rap2.taobao.org
注意:本工具为开发工具,相关API未做任何XSS等安全验证,请勿在生产环境依赖RAP的任何服务!!!
有急事来官方钉钉群,响应更迅速: 11789704

手动部署

环境要求

  • Node.js 8.9.4+
  • MySQL 5.7+
  • Redis 4.0+
  • pandoc 2.73 (供文档生成使用)

开发模式

安装 MySQL 和 Redis 服务器

请自行查找搭建方法,mysql/redis 配置在 config.*.ts 文件中,在不修改任何配置的情况下, redis 会通过默认端口 + 本机即可正常访问,确保 redis-server 打开即可。
注意:修改 cofig 文件后需要重新 npm run build 才能生效

安装 pandoc

我们使用 pandoc 来生成 Rap 的离线文档,安装 Pandoc 最通用的办法是在 pandoc 的 release 页面下载对应平台的二进制文件安装即可。
其中 linux 版本最好放在/usr/local/bin/pandoc 让终端能直接找到,并执行 chmod +x /usr/local/bin/pandoc 给调用权限。
测试在命令行执行命令 pandoc -h 有响应即可。

启动redis-server

redis-server
后台执行可以使用 nohup 或 pm2,这里推荐使用 pm2,下面命令会安装 pm2,并通过 pm2 来启动 redis 缓存服务
npm install -g pm2
npm run start:redis

先创建创建数据库

mysql -e 'CREATE DATABASE IF NOT EXISTS RAP2_DELOS_APP DEFAULT CHARSET utf8 COLLATE utf8_general_ci'

初始化

npm install
confirm configurations in /config/config.dev.js (used in development mode),确认/config/config.dev.js 中的配置(.dev.js 后缀表示用于开发模式)。

安装 && TypeScript 编译

npm install -g typescript
npm run build

初始化数据库表

npm run create-db

执行 mocha 测试用例和 js 代码规范检查

npm run check

启动开发模式的服务器 监视并在发生代码变更时自动重启

npm run dev

生产模式

# 1. 修改/config/config.prod.js中的服务器配置
# 2. 启动生产模式服务器
npm start

社区贡献

Kaldi Speech Recognition Toolkit

$
0
0
This is the official location of the Kaldi project. 

To build the toolkit: see ./INSTALL. These instructions are valid for UNIX systems including various flavors of Linux; Darwin; and Cygwin (has not been tested on more "exotic" varieties of UNIX). For Windows installation instructions (excluding Cygwin), see windows/INSTALL.
To run the example system builds, see egs/README.txt
If you encounter problems (and you probably will), please do not hesitate to contact the developers (see below). In addition to specific questions, please let us know if there are specific aspects of the project that you feel could be improved, that you find confusing, etc., and which missing features you most wish it had.

Kaldi information channels

For HOT news about Kaldi see the project site.
  • Info about the project, description of techniques, tutorial for C++ coding.
  • Doxygen reference of the C++ code.
------------------

Kaldi tutorial: Getting started

The first step is to download and install Kaldi. We will be using version 1 of the toolkit, so that this tutorial does not get out of date. However, be aware that the code and scripts in the "trunk" (which is always up to date) is easier to install and is generally better. If you use the "trunk" code you can also try to use the most recent scripts, which are in directory "egs/rm/s5", rather than the "s3" scripts mentioned in this tutorial. But be aware that if you do that some aspects of the tutorial may be out of date.
Assuming Git is installed, to get the latest code you can type
    git clone https://github.com/kaldi-asr/kaldi
Then cd to kaldi. Look at the INSTALL file and follow the instructions (it points you to two subdirectories). Look carefully at the output of the installation scripts, as they try to guide you what to do. Some installation errors are non-fatal, and the installation scripts will tell you so (i.e. there are some things it installs which are nice to have but are not really needed). The "best-case" scenario is that you do:
   cd kaldi/tools/; make; cd ../src; ./configure; make
and everything will just work; however, if this does not happen there are fallback plans (e.g. you may have to install some package on your machine, or run install_atlas.sh in tools/, or run some steps in tools/INSTALL manually, or provide options to the configure script in src/). If there are problems, there may be some information in The build process (how Kaldi is compiled) that will help you; otherwise, feel free to contact the maintainers (Other Kaldi-related resources (and how to get help)) and we will be happy to help.

Android Dev Tools

$
0
0
收集整理Android开发所需的Android SDK、开发中用到的工具、Android开发教程、Android设计规范,免费的设计素材等。 
官网地址:www.androiddevtools.cn
收集整理Android开发所需的Android SDK、开发中用到的工具、Android开发教程、Android设计规范,免费的设计素材等。
欢迎大家推荐自己在Android开发过程中用的好用的工具、学习开发教程、用到设计素材,欢迎Star、Fork 😄

目录

Android Tools

Android Studio

注意:请到 本项目官网 或者 Android Studio 官网 下载

SDK Tools

版本号WindowsMac OSXLinuxSHA-1校验码官方SHA-1校验码截图
24.4.1installer_r24.4.1-windows.exe android-sdk_r24.4.1-windows.zipandroid-sdk_r24.4.1-macosx.zipandroid-sdk_r24.4.1-linux.tgzWin:f9b59d72413649d31e633207e31f456443e7ea0b
66b6a6433053c152b22bf8cab19c0f3fef4eba49
Mac: 85a9cccb0b1f9e6f1f616335c5f07107553840cd
Linux: 725bb360f0f7d04eaccff5a2d57abdd49061326d
查看
24.3.4installer_r24.3.4-windows.exe android-sdk_r24.3.4-windows.zipandroid-sdk_r24.3.4-macosx.zipandroid-sdk_r24.3.4-linux.tgzWin: 094dd45f98a31f839feae898b48f23704f2878dd
4a8718fb4a2bf2128d34b92f23ddd79fc65839e7
Mac: 128f10fba668ea490cc94a08e505a48a608879b9
Linux: fb293d7bca42e05580be56b1adc22055d46603dd
查看

SDK Platform-Tools

这是 adb, fastboot 等工具包。把解压出来的 platform-tools 文件夹放在 android sdk 根目录下,并把 adb所在的目录添加到系统 PATH 路径里,即可在命令行里直接访问了 adb, fastboot 等工具。
版本号WindowsMac OSXLinux
platform-tools-r22platform-tools_r22-windows.zipplatform-tools_r22-mac.zipplatform-tools_r22-linux.zip
platform-tools-r21platform-tools_r21-windows.zipplatform-tools_r21-mac.zipplatform-tools_r21-linux.zip
platform-tools-r20platform-tools_r20-windows.zipplatform-tools_r20-mac.zipplatform-tools_r20-linux.zip

Build-Tools

这是Android开发所需的Build-Tools,下载并解压后,将解压出的整个文件夹复制或者移动到 your sdk 路径/build-tools 文件夹即可。
版本号WindowsMac OSXLinux
22.0.0下载下载下载
21.1.2下载下载
21.1.1下载下载
21.1.0下载下载
21.0.2下载下载
21.0.1下载下载
21.0.0下载下载
20.0.0下载
19.1.0下载下载
19.0.3下载下载
19.0.2下载下载
19.0.1下载下载
19.0.0下载下载

SDK

这是Android开发所需的sdk,下载并解压后,将解压出的整个文件夹复制或者移动到your sdk 路径/platforms文件夹,然后打开SDK Manager,打开Tools(工具)菜单选择Options(选项)菜单项打开Android SDK Manager Setting对话框,点击Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本号WindowsMac OSXLinux
android 5.0下载下载下载
android L Rev3下载下载下载
android L下载下载下载
android 4.4W下载下载下载
android 4.4.2下载下载下载
android 4.3下载下载下载
android 4.2.2下载下载下载
android 4.1.2下载下载下载
android 4.0.3下载下载下载
android 4.0下载下载下载
android 3.2下载下载下载
android 3.1下载下载下载
android 3.0下载下载下载
android 2.3.3下载下载下载
android 2.2下载下载下载

SDK System images

这是在创建模拟器时需要的system image,也就是在创建模拟器时CPU/ABI项需要选择的,下载并解压后,将解压出的整个文件夹复制或者移动到your sdk 路径/system-images文件夹下即可, 如果没有system-images目录就先创建此文件夹,然后打开SDK Manager,打开Tools(工具)菜单选择Options(选项)菜单项打开Android SDK Manager Setting对话框,点击Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本号WindowsMac OSXLinux
android 5.0下载下载下载
android L下载下载下载
android 4.4W下载下载下载
android 4.4.2下载下载下载
android 4.3下载下载下载
android 4.2.2下载下载下载
android 4.1.2下载下载下载
android 4.0.3下载下载下载
android 4.0下载下载下载

GoogleMap APIs SDK

这是GoogleMap APIs SDK,下载并解压后,将解压出的整个文件夹复制或者移动到your sdk 路径/add-ons文件夹下,然后打开SDK Manager,打开Tools(工具)菜单选择Options(选项)菜单项打开Android SDK Manager Setting对话框,点击Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本号WindowsMac OSXLinux
android 4.4.2下载ARM版 下载x86版下载ARM版 下载x86版下载ARM版 下载x86版
android 4.3下载下载下载
android 4.2.2下载下载下载
android 4.1.2下载下载下载
android 4.0.3下载下载下载
android 4.0下载下载下载
android 3.2下载下载下载
android 3.1下载下载下载
android 3.0下载下载下载
android 2.3.3下载下载下载
android 2.2下载下载下载

Google Glass SDK

这是GDK,下载并解压后,将解压出的整个文件夹复制或者移动到your sdk 路径/add-ons文件夹下,然后打开SDK Manager,打开Tools(工具)菜单选择Options(选项)菜单项打开Android SDK Manager Setting对话框,点击Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本WindowsMac OSXLinux
android 4.4.2下载下载下载
android 4.0.3下载

Google TV Addon

这是Google TV Addon,下载并解压后,将解压出的整个文件夹复制或者移动到your sdk 路径/add-ons文件夹,然后打开SDK Manager,打开Tools(工具)菜单选择Options(选项)菜单项打开Android SDK Manager Setting对话框,点击Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
系统版本WindowsMac OSXLinux
android 3.2下载下载下载

Android Framework Source Code

这是Android Framework Source Code,下载并解压后,将解压出的整个文件夹复制或者移动到your sdk 路径/sources文件夹下,然后重启Eclipse(或Android Studio),这样当你在Eclipse里面按住Ctrl键点击某个系统类时就可以打开该类的源码文件查看源码了。
系统版本
android 5.0
android 4.4W
android 4.4.2
android 4.3
android 4.2.2
android 4.1.2
android 4.0.3
android 4.0
android 3.0
android 2.3.3
android 2.2

Android SDK Extras

包含 Android Support Library 、 Google Cloud Messaging for Android Library 、Google Play services 、 Google Play services for fit preview 、Google Play services for Froyo 、Google Play APK Expansion Library Google Play Billing Library 、Google Play Licensing Library 等,下载解压后将解压出的整个文件夹复制或者移动到your sdk根目录下下,如果已经存在extras文件夹就替换掉。
版本号
21.0.3
21.0.2
21
20

Support Library

包含support v4v7v13v17multidexm2repository,下载解压后将解压出的整个文件夹复制或者移动到your sdk 路径/extras下,然后打开SDK Manager,打开Tools(工具)菜单选择Options(选项)菜单项打开Android SDK Manager Setting对话框,点击Clear Cache(清除缓存)按钮,然后重启Eclipse(或Android Studio)和SDK Manager。
版本号
21.0.3
21.0.2
21
20

SDK Samples

这是Android SDK自带的示例代码,下载并解压后,将解压出的整个文件夹复制或者移动到your sdk 路径/samples文件夹下,然后重启Eclipse(或Android Studio)。 。
系统版本
android 21
android L
android 4.4W
android 4.4.2
android 4.3
android 4.2.2
android 4.1.2
android 4.0.3
android 4.0
android 3.2
android 3.1
android 3.0
android 2.3.3
android 2.2

NDK

C/C++开发Android应用工具包,Linux/Mac OS X 下NDK r10c的安装方法请戳 这里
版本号WindowsMac OSXLinuxMD5/SHA-1校验码官方SHA-1校验码截图
ndk-r11b32位 64位64位64位Win:b42da395440cc1c5dc4eeeb383679331addeb3ea
480eca1b29cfe73a5b35374730e6a82ca65c2aa6
Mac: c64fb355fec4da57d329ab45bf0aa29a1aec58dc
Linux: cf0658956945c81d3d3fad5f9a24fa062d4c9d41
查看
ndk-r10e32位 64位64位32位 64位Win: 1a82445baaf62aec3a46386ab1e5772c
8412bb4991a95e08fda50b5a44d95df7
Mac: 2cb8893a5701603519d38a7e04c50e81
Linux: c3edd3273029da1cbd2f62c48249e978
19af543b068bdb7f27787c2bc69aba7f
查看
Additional Download (32-, 64-bit)Package
r10 STL debug infoandroid-ndk-r10-cxx-stl-libs-with-debug-info.zip
r9 STL debug infoandroid-ndk-r9-cxx-stl-libs-with-debug-info.zip

Android L Preview System Image

这个是Android L Preview系统的刷机镜像。
设备下载
Nexus 5 (GSM/LTE) "hammerhead"[hammerhead-lpv79-preview-ac1d8a8e.tgz] Nexus 5
Nexus 7 (Wifi) "razor"razor-lpv79-preview-d0ddf8ce.tgz

JDK

版本号WindowsMac OSXLinux
1.8 u7732位 64位64位32位 64位
1.8 u7432位 64位64位32位 64位
1.7 u8032位 64位64位32位 64位
1.6 u4532位 64位64位32位 64位

ADT Bundle

ADT Bundle包含了Eclipse、ADT插件和SDK Tools,是已经集成好的IDE,只需安装好Jdk即可开始开发,推荐初学者下载ADT Bundle,不用再折腾开发环境。
版本号WindowsMac OSXLinux
23.0.232位 64位64位32位 64位
23.0.032位 64位64位32位 64位

ADT Plugin

离线安装ADT插件请戳项目wiki
版本号
ADT-23.0.7
ADT-23.0.6
ADT-23.0.4
ADT-23.0.3
ADT-23.0.2
ADT-23.0.0
ADT-22.6.3
AdT-22.6.1

Gradle

版本号
gradle-2.12-all.zip
gradle-2.11-all.zip
gradle-2.10-all.zip
gradle-2.9-all.zip
gradle-2.8-all.zip
gradle-2.7-all.zip
gradle-2.6-all.zip
gradle-2.5-all.zip
gradle-2.4-all.zip
gradle-2.3-all.zip
gradle-2.2.1-all.zip
gradle-2.2-all.zip
gradle-2.1-all.zip
gradle-2.0-all.zip
gradle-1.12-all.zip
gradle-1.11-all.zip
gradle-1.10-all.zip
gradle-1.9-all.zip
gradle-1.8-all.zip
gradle-1.7-all.zip

Android Gradle Plugin DSL 在线文档

Gradle Dependencies Configuration Generator(需要梯子)

版本控制工具

Git
版本号WindowsMac OSXLinux
Git-2.0.1下载下载
Git-1.9.4下载下载
Git-1.8.5.2下载下载下载
SVN Plugin For Eclipse
版本号
1.10.5
1.8.22
1.6.18

反编译工具

名称简介下载地址使用教程
EnjarifyEnjarify 是一个用 Python 写的, Google 官方开源的可以将 Dalvik 字节码转换为 Java 字节码的工具。下载
JEB Android Decompiler下载
Virtuous Ten Studio下载
Apk文件修改工具Root Tools下载
Dex文件反编译工具Dedexer下载
APK+Dex文件反编译及回编译工具下载
android-apktool下载
Onekey Decompile Apk]下载
Baksmali下载
Smali下载
AXMLPrinter2下载
JAD Java Decompiler下载
JD-GUI Decompiler下载
XJad V2.2下载
Android APK Decompiler在线反编译工具下载
JADX - Dex to Java decompiler下载
dex2jar下载
SmaliViewer是一款免费的APK分析软件,无论从分析的深度
还是广度来看,都是一款能够满足用户需求的产品,
使您在APK分析的过程中,更加得心应手。
下载使用指南
Android逆向助手Android逆向助手是一功能强大的逆向辅助软件。
该软件可以帮助用户来进行apk反编译打包签名;
dex/jar互转替换提取修复;so反编译;
xml、txt加密;字符串编码等等,操作简单
,只需要直接将文件拖放到源和目标文件。
下载使用指南
Android KillerAndroid Killer 是一款可视化的安卓应用逆向工具,
集Apk反编译、Apk打包、Apk签名,编码互转,
ADB通信(应用安装-卸载-运行-设备文件管理)
等特色功能于一 身,支持logcat日志输出,
语法高亮,基于关键字(支持单行代码或多行代码段)
项目内搜索,可自定义外部工具;吸收融汇多种工具功能与特点,
打造一站 式逆向工具操作体验,大大简化了用户在
安卓应用/游戏修改过程中的各类繁琐工作。
下载1
下载2
使用指南
DexExtractorandroid dex extractor ,anti-shell,android 脱壳。下载
jadxDex to Java decompiler下载
android-classysharka handy Android and Java executables viewer下载
ShakaApktool下载

安全工具

名称下载地址使用教程
APKfuscator下载
ApkAnalyser下载
AppXplore下载
Android analysis framework下载
Androguard下载
Droidbox下载
dsploit下载
Androwarn下载
Anubis下载
Drozer下载
VirusTotal下载
GDB for Android下载
VisualGDB下载

静态代码分析工具

名称简介下载地址使用教程
inferFacebook 开源的静态代码分析工具,用于在发布移动应用之前对代码进行分析,找出潜在的问题。下载

搜索工具

名称简介下载地址使用教程
Structural Java Exception SearchJava异常搜索工具下载
Android Library Finder最快的方式获取依赖库下载
Codota示例代码搜索网站下载

Debug调试工具

名称简介下载地址使用教程
StethoStetho 是Facebook推出的Android 调试平台,基于 Chrome Developer Tools ,调试网络请求方面特别方便。下载教程
Augmented Traffic ControlFacebook宣布开源移动网络测试工具ATC,该工具支持利用Wi-Fi网络模拟2G、2.5G、3G以及LTE 4G移动网络环境,让测试工程师们能够快速对智能手机和App在不同国家地区和应用环境下的性能表现进行测试。下载

Api测试工具

名称简介下载地址使用教程
bat一个用Go写的命令行API测试利器,支持文件下载,
文件上传,支持Linux的pipe方式,总之就是炫酷。
下载使用指南

Eclipse/Android Studio/IDEA插件

Eclipse
名称下载地址使用教程
SVN下载
Genymobile模拟器下载
Memory-Analyzer-Tools下载
Droidinspector下载
SQLiteManager下载
Color Theme下载
RoboVM下载
Newrelic下载
Android Studio/IDEA
名称下载地址使用教程
Android Resource Resizer Plugin下载
Gradle Dependencies Helper Plugin下载
Android Parcelable code generation Plugin下载
Android Holo Colors IDEA Plugin下载
Android Toolbox Plugin下载
Android Gradle Sign Plugin下载
Android Permissions Usage Plugin下载
Android Helper Plugin下载
Android Studio Prettify Plugin下载
IDEA ADB Plugin下载
Otto Intellij Plugin下载
Dagger intellij Plugin下载
Gradle Gui Plugin下载
Android Studio Unit Test Plugin下载
Android Layout ID Converter Plugin下载
IDEA protobuf Plugin下载
Simple Team Code Reviewer Plugin下载
Android XML Plugin下载
ADF Plugin下载
Java2smali Plugin下载
IDEA gitignore Plugin下载
IDEA Background Image Plugin下载
IDEA Maven Plugin下载
Gradle GooglePlay Publisher Plugin下载
Drawable Selectors Generates Plugin下载
Android Drawable Importer下载
Color themes for IntelliJ IDEA下载
GsonFormat下载
ormlite-android-gradle-plugin下载

Android资源/Themes/Style生成工具

名称简介下载地址使用教程
Android Asset Studio下载
Android Drawable Factory下载
Android Action Bar Style Generator下载
Android Holo Colors Generator下载
Android Simple Nine-patch Generator下载
Android Device Frame Generator下载
Android 9-patch shadow generator下载

Android资源分析工具

名称简介下载地址使用教程
Android Assets Viewer下载

Android Layout Parser工具

名称简介下载地址使用教程
Android Layout Binder下载

Android Content Provider代码生成工具

名称简介下载地址使用教程
Content Provider Code Generator下载

Android Fragment Code Generator代码生成工具

名称简介下载地址使用教程
Android Fragment Code Generator下载

代码生成工具

名称简介下载地址使用教程
Android KickstartRAndroidKickstartR帮助您快速创建
Android应用程序并使用最流行的库进行配置。
它创建和配置你的项目给你。只专注于代码!
下载
Android Button MakerAndroid Button Maker是一个在线生成Android应用按钮代码的工具。
Android的API提供可绘制资源,其中的XML文件定义的几何形状,包括颜色,边框和梯度。
这些按钮是在shape drawable XML代码基础上产生的相比通常的PNG按钮加载速度更快。
您可以在设置面板中自定义按钮的属性和获得源代码。
下载
DroidDraw下载
Android SVG to VectorDrawable一个可以将SVG图片转换为Vector Drawable xml文件的在线工具。下载

Android Native开发工具

名称简介下载地址使用教程
Android++下载

Android测试工具

名称简介下载地址使用教程
Appurify下载
Monkey下载
Testin下载
Spoon下载
Little Eye下载
易测云下载
Emmagee下载
Apk View Tracer下载
APTAPT是一个Android平台高效性能测试组件,
提供丰富实用的功能,适用于开发自测、
定位性能瓶颈;
测试人员完成性能基准测试、竞品对比测试。
下载教程
GTGT(随身调)是APP的随身调测平台,它是直接运行在手机上的“集成调测环境”(IDTE, Integrated Debug&Test Environment)。下载教程
Mobile-Checker移动端页面检查工具,可以选择三种屏幕规格,通过工具发现网站在移动端存在的问题。下载

Android多渠道打包工具

名称简介下载地址使用教程
Umeng多渠道打包工具下载
AppTools具下载
package_tool下载
RyApkTool下载
兰贝壳儿下载教程

Android Bug日志收集工具

名称简介下载地址使用教程
Crashlytics下载
ACRA下载
ChkBugReport下载
Log Collector下载
Android Crash Catcher下载

其他语言开发Android应用工具

名称简介下载地址使用教程
Xamarin下载
Basic4android下载
Scripting Layer下载
Ruby Rhodes移动设备上的Ruby下载
PHP for Android下载
Codename One下载
Touchqode下载
App Inventor下载

传感器模拟工具

名称简介下载地址使用教程
Sensor Simulator独立的Java应用程序,它模拟传感器
的数据并将它们传送到Android模拟器。
[下载][Sensor Simulator]

Android串口开发工具

名称简介下载地址使用教程
Android Serialport Api下载

图片尺寸处理工具

名称简介下载地址使用教程
9-Patch Resizer下载

图片压缩工具

名称简介下载地址使用教程
OptiPNG下载
Pngcrush下载
ImageOptim[下载][ImageOptim]
Tinypng[下载][tinypng]

资源清理工具

名称简介下载地址使用教程
Android Lint下载
Android Resource Cleaner下载
Android Unused Resources下载
Android Resource Remover下载

px和dp转换/计算工具

名称简介下载地址使用教程
Android dp px Calculator下载
dp px converter下载
pixelcalc下载
androidpixels下载
android dpi calculator下载
DPI Calculator下载
Android DPI Calculator插件下载

Java To iOS

名称简介下载地址使用教程
j2Objc下载
RoboVM下载

JSON/XML转换为POJO Class工具

名称简介下载地址使用教程
jsonschema2pojo下载
Convert XML or JSON to Java Pojo下载

Java DAO Generate工具

名称简介下载地址使用教程
Generate Java DAO for relational data table下载

Chrome插件

Android插件
名称简介下载地址使用教程
Android SDK Search下载
Android Resource Navigator下载
ADB Plugin for remote
debugging Chrome on Android
下载
Mobile/RWD Tester下载
ExtensionAndroid SDK Samples Search下载
Android Developer Improvements下载
Android downloader下载
JSON/XML格式化插件
名称简介下载地址使用教程
JSONView下载
JSON Formatter下载
JSON Viewer下载
JSON Finder下载
Encode/Decode插件
名称简介下载地址使用教程
Base64 Encode and Decode下载
Git
名称简介下载地址使用教程
Git Cheat Sheet下载

Guides

Google Java编程风格指南中文版

Android Developers 国内镜像站

Android Api中文版

####Android API指南中文版

Android Proguard混淆配置指南

Gradle插件使用指南中文版

Gradle User Guide

Gradle 1.12用户指南:http://pan.baidu.com/s/1dD7sC2d

Tutorials

Android学习之路

Google Android官方培训课程中文版

Developing Android Apps

Java Design Patterns Samples in Java.

Design


Design Tools

Photoshop插件

名称简介下载地址使用教程
Cut&Slice切图神器下载
DevRocket切图神器下载
Cutterman最好用的切图工具下载
Ink下载
Corner Editor路径圆角编辑工具下载1
下载1
GuideGuide辅助线工具下载
Assistor PS下载
Skeuomorphism.it下载
QuickGuide下载
Long Shadow Generator长投影效果生成插件下载
android_resizer_toolkit下载
android-ps-tools一些方便Android UI设计的PhototShop插件。下载
LayerCraftA Photoshop plugin to export UI assets from layers下载

矢量图设计工具

名称简介下载地址使用教程
Sketch 3下载
Affinity Designer下载
Gravit下载
Adobe Illustrator下载

切图工具

名称简介下载地址使用教程
Slicy下载

设计稿尺寸标注工具

名称简介下载地址使用教程
马克鳗下载
PxCook像素大厨UI设计师效率提升利器,让你专注于设计本质,
不再为标注切图而烦恼,从设计到实现一气呵成
下载使用教程

原型设计工具

名称简介下载地址使用教程
Axure下载
Fluid UI下载
Briefs下载
Flinto下载
Balsamiq Mockups下载
AppCooker下载
Proto.io下载
UXPin下载
InVision下载
POP下载
快现下载
Composite下载
OmniGraffle下载
Marvelapp下载
Justinmind下载
Form下载
Prott下载
Composite下载
Avocado下载
Pixate下载

交互设计工具

名称简介下载地址使用教程
Framer Studio下载
Quartz Composer下载
Origami下载
jQC下载

UI效果预览工具

名称简介下载地址使用教程
Android Design Preview下载
PS Play下载
Pixl Preview下载
Skala Preview下载
LiveView下载

配色工具

名称简介下载地址使用教程
Android Material Design可视化调色板下载
Android Material Design Colours.xml下载
Colorube配色神器下载
Adobe Kuler下载
ColorSchemer Studio下载
Piknik下载

设计稿版本控制工具

名称简介下载地址使用教程
LayerVault下载

图标处理工具

名称简介下载地址使用教程
Icon Slate下载

在线Icon库

名称简介下载地址使用教程
IconFont下载
NounProject下载

取色工具

名称简介下载地址使用教程
ColorSnapper下载

不透明度16进制值

不透明度16进制值
100%FF
95%F2
90%E6
85%D9
80%CC
75%BF
70%B3
65%A6
60%99
55%8C
50%80
45%73
40%66
35%59
30%4D
25%40
20%33
15%26
10%1A
5%0D
0%00

手机To电脑同步预览工具

名称简介下载地址使用教程
Reflector下载
x-Mirage下载
AirServer下载
BBQScreen下载

Gif图片录制工具

名称简介下载地址使用教程
LICEcap下载
GifCam下载
Android Tool下载

UI Programming Language

Tutorials

Games

一个帮助你练习PS里钢笔工具的小游戏。

Guides

Android设计指南非官方简体中文版

Github镜像地址:http://adchs.github.io
ApkBus镜像地址:http://www.apkbus.com/design/
Segmentfault镜像地址:http://mirrors.segmentfault.com/adchs/
多看阅读镜像地址:http://www.duokan.com/book/47790

Android Cheatsheet for Graphic Designers

Google Material Design 中文版

Designer's Guide To dpi

Email Design Guide

Free Design Resources

Books


一堆免费的Android开发相关的电子书。
50 Android Hacks这本书分12个部分介绍了50个Android开发的小技巧。

awesome-react-components-all

$
0
0
frm https://github.com/sheep0704/awesome-react-components-all

有兴趣的可以关注【Python2048】 公众号.
分享技术、灰色产业、职业规划、赚钱之道、逆向破解等趣事……

awesome-react-components-all

Catalog of React components / libraries / React 学习大全 -> KARL-Dujinyang
Lang -> 2016 React动态更新
Karl-dujinyang -> React大全,Star,Fork备用。

React Components Catalog

Catalog of React components / libraries

Contents







UI Components

Table / Data Grid
  • reactable - Fast, flexible, and simple data tables in React.
  • ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components.
  • griddle-react - Simple Grid Component written in React.
  • react-datagrid - A carefully crafted DataGrid for React.
  • react-data-components - React components for sorting, filtering and pagination of data.
  • react-bootstrap-table - It's a react table for bootstrap.
  • react-data-grid - Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like.
  • react-pivot - React-Pivot is a data-grid component with pivot-table-like functionality for data display, filtering, and exploration.
  • autoresponsive-react - Auto Responsive Layout Library For React.
Infinite Scroll
  • react-lazyload - Lazyload your Component, Image or anything matters the performance.
  • react-infinity - A UITableView Inspired list and grid display solution with element culling and smooth animations.
  • react-infinite - A browser-ready efficient scrolling container based on UITableView.
  • react-infinite-grid - A React component which renders a grid of elements.
  • react-list - A versatile infinite scroll React component.
  • react-virtualized - React components for efficiently rendering large lists and tabular data.
Modals
Display overlay / modal / dialog
  • react-dock - Resizable dockable react component.
  • react-overlays - Utilities for creating robust overlay components.
  • boron - A collection of dialog animations with React.js.
  • react-modal2 - Simple modal component for React.
  • react-modal - Accessible modal dialog component for React.
  • react-skylight - A react component for modals and dialogs.
  • rodal - A React modal with animations.
Notification
A temporary little modal to notify the user
Tooltips
Menu
Menus / Sidebars
Sticky
Implementations similar to position: sticky
Tabs
Loading / Progress Indicators
Let the user know that something is being loaded
Carousels
Collapse
  • react-collapse - Component-wrapper for collapse animation with react-motion for elements with variable (and dynamic) height.
Charts
Displays data in graphs / diagrams
Display a Tree Data Structure
UI Navigation
Ways to navigate views
Custom Scrollbar
Media
Audio / Video
  • react-player - A react component for playing a variety of URLs, including file paths, YouTube, SoundCloud and Vimeo.
  • react-youtube - React.js powered YouTube player component.
  • react-soundplayer - Create custom SoundCloud players with React.
  • react-video - React component to load video from Vimeo or Youtube across any device.
  • react-music - Make beats with React.
  • react-dailymotion - Dailymotion player component for React.
Map
Display time / date / age
  • react-time - Component for React to render relative and/or formatted dates into
  • react-timeago - A simple time-ago component for ReactJs.
Photo / Image Gallery
Touch Swipe
Miscellaneous

Component Collections

Form Components

Let the user enter data
Date / Time picker
Rich Text Editing
Sortable List
Let the user define an order on a list
  • sortablejs - Sortable — is a JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery. Supports Meteor, AngularJS, React, Polymer, Knockout and any CSS library, e.g. Bootstrap.
  • react-anything-sortable - A ReactJS component that can sort any children with touch support and IE8 compatibility.
  • react-sortable-hoc - A set of higher-order components to turn any list into an animated, touch-friendly, sortable list.
  • react-sortable - A sortable list component built with React.
Drag and Drop
Autocomplete
Autosuggest / autocomplete / typeahead
Select
Color Picker
Toggle
Slider
Radio buttons
Type Select
Let the user select a tag / something while typing
Masked Input
Autosize Input / Textarea
Image Editing
  • react-avatar-cropper - Aiming to be a complete solution for avatar cropping in react.
  • react-avatar-editor - Facebook like, avatar / profile picture component. Resize and crop your uploaded image using a clear user interface.
  • react-image-crop - A responsive image cropping tool for React.
Markdown Editor
Form Component Collections
Miscellaneous
  • react-designer - Easy to configure, lightweight, editable vector graphics in your react components.

UI Layout

Components to layout the app's UI

  • rgx - React grid system based on minimum and maximum widths.
  • react-flexbox - React flexbox implementation.
  • react-masonry-mixin - A React.js mixin for using @desandro's Masonry.
  • react-inline-grid - Predictable flexbox based grid for React.
  • react-layout-components - Layout Components for React based on Flexbox.
  • react-grid-layout - A draggable and resizable grid layout with responsive breakpoints, for React.
  • react-masonry-component - A React.js component for using @desandro's Masonry.
  • react-flexbox-grid - A set of React components implementing flexboxgrid with the power of CSS Modules.
  • react-stonecutter - Animated grid layout component for React.
  • flexbox-react Unopinionated, standard compliant flexbox components. You don't need to learn any propietary syntax. If you know how to use flexbox, you know how to use flexbox-react components.

UI Animation

Animate transitions

Parallax
  • react-atv-img - A port of @drewwilson’s atvImg (Apple TV 3D parallax effect) library in React.

UI Frameworks

Mobile Frameworks

  • onsenui - Hybrid Mobile App UI Framework for iOS and Material Design with Angular and React Components.
  • reactionic - React Ionic.
  • touchstonejs - Mobile App Framework powered by React.

UI Frameworks

  • elemental - A flexible and beautiful UI framework for React.js.
  • rctui - A collection of components for React.
  • belle - Configurable React Components with great UX.
  • react-uikit-components - React UIkit Components for the UIKit CSS framework.
  • searchkit - React UI components / widgets. The easiest way to build a great search experience with Elasticsearch.
  • rebass - Configurable React Stateless Functional UI Components.
  • react-foundation-apps - Foundation Apps components built with React.
  • grommet - The most advanced UX framework for enterprise applications.
Bootstrap
Material Design
  • react-mdl - React Components for Material Design Lite.
  • react-materialize - Material design for react, powered by materializecss.
  • react-toolbox - A set of React components implementing Google's Material Design specification with the power of CSS Modules.
  • react-material - Material design components written with React.js and React Style.
  • material-ui - React Components that Implement Google's Material Design.
  • react-essence - Essence - The Essential Material Design Framework.

UI Utilites

Reporter

Report computed styles

Visibility Reporter

Report when a component becomes visible/hidden

  • react-waypoint - A React component to execute a function whenever you scroll to an element.
  • react-visibility-sensor - Sensor component for React that notifies you when it goes in or out of the window viewport.
Measurement Reporter

Determine and report measurements of an element

  • react-measure - Compute measurements of a React component.
  • react-height - Component-wrapper to determine and report children elements height.
  • react-height-reporter - React component-wrapper detecting height changes of it's children.
  • react-dimensions - React higher-order component to get dimensions of container.

Portal

Render React DOM into a new context (aka "Portal")

  • react-portal - React component for transportation of modals, lightboxes, loading bars... to document.body.

Device Events

Keyboard Events
  • react-keydown - Lightweight keydown wrapper for React components.
  • react-hotkeys - Declarative hotkey and focus area management for React.
Scroll Events
Touch Events
Mouse Events
  • react-aim - Determine the cursor aim for triggering mouse events.

Test User Behavior

A/B tests, experiments, ...

  • react-ab - Simple declarative and universal A/B testing component for React.
  • react-experiments - React components for implementing UI experiments.

Set children of

  • react-helmet - A document head manager for React.
  • react-document-title - Declarative, nested, stateful, isomorphic document.title for React.
  • react-document-meta - HTML meta tags for React-based apps. Works for both client- and server-side rendering, and has a strict but flexible API.

Code Design

Libraries that help with code design

Data Store

Data flow / data management / data stores / components state / data flow

  • react-redux - Official React bindings for Redux.
  • fluorine-lib - Reactive state and side effect management for React using a single stream of actions.
  • redux-batched-actions - Redux higher order reducer + action to reduce actions under a single subscriber notification.
  • react-i13n - A performant, scalable and pluggable approach to instrumenting your React application.
  • shasta - Dead simple + opinionated toolkit for building redux/react applications.
  • react-redux-provide - Bridges the gap between Redux and the declarative nature of GraphQL/Relay. Share, manipulate, and replicate application state across any number of components.
  • redux-batched-subscribe - Store enhancer for which allows batching subscribe notifications.
  • reflux - A simple library for uni-directional dataflow application architecture with React extensions inspired by Flux.
  • fluxxor - Flux architecture tools for React.
  • dispatchr - A pluggable container for universal flux applications.
  • alt - Isomorphic flux implementation.
  • baobab-react - React integration for Baobab.
  • reselect - Selector library for Redux.
  • react-controllables - Easily create controllable components.
  • recompose - A React utility belt for function components and higher-order components.
  • redux-ui - Easy UI state management for react redux.
  • redux - Predictable state container for JavaScript apps.
Form Logic
  • react-jsonschema-form - A React component for building Web forms from JSONSchema.
  • react-validation-mixin - Simple validation mixin (HoC) for React.
  • newforms - INACTIVE] Isomorphic form-handling for React.
  • formsy-react - A form input builder and validator for React JS.
  • redux-form - A Higher Order Component using react-redux to keep form state in a Redux store.
  • winterfell - Generate complex, validated and extendable JSON-based forms in React.
  • react-redux-form - Create forms easily in React with Redux.
  • tcomb-form - Forms library for react.
  • plexus-form - A dynamic form component for react using JSON-Schema.
Router
Props from server

Component properties asynchronously fetched over the network

  • react-async - Asynchronously fetch data for React components.
  • redux-async-connect - It allows you to request async data, store them in redux state and connect them to your react component.
  • async-props - Co-located data loading for React Router.
  • react-router-relay - Relay integration for React Router.
  • redux-connect - Provides decorator for resolving async props in react-router, extremely useful for handling server-side rendering in React.
  • react-resolver - Async rendering & data-fetching for universal React applications.
  • react-refetch - A simple, declarative, and composable way to fetch data for React components.
  • relay-nested-routes - Relay integration for React Router.
  • redial - Universal data fetching and route lifecycle management for React etc.
Communication with server
  • adrenaline - Simple Relay alternative.
  • react-transmit - Relay-inspired library based on Promises instead of GraphQL.
  • apollo-client - A simple caching client for any GraphQL server and UI framework.
  • react-apollo - React data container for the Apollo Client.
  • react-relay - Relay is a JavaScript framework for building data-driven React applications.
CSS / Style
  • react-responsive - Media queries in react for responsive design.
  • react-css-modules - Seamless mapping of class names to CSS modules inside of React components.
  • aphrodite - It's inline styles, but they work!.
  • postcss-js - PostCSS for React Inline Styles, Free Style and other CSS-in-JS.
  • react-inline-css - Write CSS inside your React components!.
  • classnames - A simple javascript utility for conditionally joining classNames together.
  • react-container-query - Modular responsive component.
  • react-look - Advanced & Dynamic Component Styling for React and React Native. Ships with powerful Plugins, Mixins and Developer Tools.
  • stilr - Encapsulated styling for your javascript components with all the power of javascript and CSS combined.
  • react-css-components - Define React presentational components with CSS.
  • inline-style-prefixer - Run-time Autoprefixer for Inline Style Objects.
HTML Template
Isomorphic Apps
  • hypernova - A service for server-side rendering your JavaScript views.
  • react-server - React framework with server render for blazing fast page load and seamless transitions between pages in the browser.
  • webpack-isomorphic-tools - Server-side rendering for your Webpack-built applications (e.g. React).
  • isomorphic-relay - Adds server side rendering support to React Relay.
  • rill - Universal web application framework.
  • isomorphic-style-loader - Isomorphic CSS style loader for Webpack.
Boilerplate

Boilerplates / scaffolds / starter kits / generators / stack ensembles

  • create-react-app Create React apps with no build configuration.
  • redux-cli - An opinionated CLI for building redux/react apps quicker.
  • reactuate - React/Redux stack (not a boilerplate kit).
  • essential-react - A minimal skeleton for building testable React apps using Babel.
  • gluestick - GlueStick is a command line interface for quickly developing universal web applications using React and Redux.
  • relay-fullstack - Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS.
  • universal-redux - An npm package that lets you jump right into coding React and Redux with universal (isomorphic) rendering. Only manage Express setups or Webpack configurations if you want to.
  • nwb - CLI tool and devDependency for React apps & components and npm modules.
  • react-redux-universal-hot-example - A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform.
  • generator-starhackit - StarHackIt: React/Redux + Node full-stack starter kit with authentication and authorization, data backed by SQL.
  • react-isomorphic-starterkit - Create an isomorphic React app in less than 5 minutes.
  • generator-react-webpack - Yeoman generator for ReactJS and Webpack.
  • electron-react-boilerplate - Live editing development on desktop app.
  • reactpack - Build your react apps with one command and one npm i.
  • react-hot-boilerplate - Minimal live-editing boilerplate for your next ReactJS project.
  • generator-flux-on-rails - Scaffolder of universal Flux / Redux app, backed by Rails API.
  • roc - Modern Application Development Ecosystem.
  • react-redux-starter-kit - Get started with React, Redux, and React-Router!.
Miscellaneous

Utilities

Framework bindings / integrations
  • reactfire - ReactJS mixin for easy Firebase integration.
  • react-famous - React bridge to Famo.us.
  • react-canvas - High performance rendering for React components.
  • backbone-react-component - A bit of nifty glue that automatically plugs your Backbone models and collections into your React components, on the browser and server.
  • elm-react-component - A React component which wraps an Elm module to be used in a React application.
  • react-three-renderer - Render into a three.js canvas using React.
  • gl-react - OpenGL / WebGL bindings for React to implement complex effects over images and content, in the descriptive VDOM paradigm.
  • react-d3-library - Open source library for using D3 in React.
  • gl-react-dom - WebGL bindings for React to implement complex effects over images and content, in the descriptive VDOM paradigm.
  • react-on-rails - Integration of React + Webpack + Rails to build Universal (Isomorphic) Apps.
  • react-backbone - Backbone-aware mixins for react and a whole lot more.
  • react-swf - Shockwave Flash Player component for React.
  • react-localstorage - Simple componentized localstorage implementation for Facebook's React.
  • reactive-elements - Allows to use React.js component as HTML element (web component).
  • react-elm-components - Write React components in Elm.
Integrations with Third Party Services

Tests

  • ui-harness - Create, isolate and test modular UI components in React.
  • redux-test-recorder - A redux middleware to automatically generate tests for reducers through ui interaction.
  • legit-tests - Chainable, easy to read, React testing library.
  • unexpected-react - Plugin for [unexpected]( to enable testing the full React virtual DOM, and also the shallow renderer.
  • chai-enzyme - Chai.js assertions and convenience functions for testing React Components with enzyme.
  • react-unit - Lightweight unit test library for ReactJS.
  • enzyme - JavaScript Testing utilities for React.
  • redux-ava - Write AVA tests for redux pretty quickly.
  • carte-blanche - An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.

Performance

UI

  • react-fastclick - Fast Touch Events for React.
  • react-static-container - Renders static content efficiently by allowing React to short-circuit the reconciliation process.
  • inferno - An extremely fast, React-like JavaScript library for building modern user interfaces.
Inspect
Lazy Load
  • react-lazyload - Lazyload your Component, Image or anything matters the performance.
  • react-infinity - A UITableView Inspired list and grid display solution with element culling and smooth animations.
  • react-infinite - A browser-ready efficient scrolling container based on UITableView.
  • react-infinite-grid - A React component which renders a grid of elements.
  • react-virtualized - React components for efficiently rendering large lists and tabular data.
  • react-lazy-load - React component that renders children elements when they enter the viewport.

App Size

Dev Tools

Redux
Inspect
Miscellaneous
  • react-atellier - The smartest way to share interactive components with your team.
  • standard-react - JavaScript Standard Style Guide.
  • cosmos-js - DX tool for designing truly encapsulated React components.
  • react-heatpack - A 'heatpack' command for quick React development with webpack hot reloading.

Miscellaneous

  • structor - An advanced GUI editor for React.
  • react-blessed - A react renderer for blessed.
  • react-komik - ReactJS based comic strip creator using fabric.js canvas rendering.
  • react-styleguidist - React style guide generator.
  • redux-segment - Segment.io analytics integration for redux.
  • mozaik - Mozaïk is a tool based on nodejs / react / d3 / stylus to easily craft beautiful dashboards.
  • htmltojsx - Automatically AJAXify plain HTML with the power of React. It's magic!.
  • react-desktop - React UI Components for macOS Sierra and Windows 10.
  • react-bash - A configurable/extendable bash terminal React component.
  • html-to-react-components - Extract annotated portions of HTML into React components as separate modules.
  • react-joyride - Create walkthroughs and guided tours for your ReactJS apps. Now with standalone tooltips!.
Static Website Generator
  • gatsby - Transform plain text into dynamic blogs and websites using React.js.
  • phenomic - Modern static* website generator based on the React and Webpack ecosystem.
  • sitegen - Generate websites by composing React components.


Weex

$
0
0
Apache Weex (Incubating) 

A framework for building Mobile cross-platform UI.
Build Status

Join Us

Join us through mailing list.

Convenience Distribution

Since 0.28.0, Weex would publish two convince binary in each release for Android, please read the documentation about the detail.
Please take the above link seriously, otherwise you would be able to use the latest version of Weex.
platformstatus
Androidsdk Download Or sdk_legacy Download
iOSPod version Carthage compatible
Mobile Webnpm version
Support Android 4.1 (API 16), iOS 9.0+ and WebKit 534.30+.
FYI: The mobile web render is not supported by Apache Weex officially

For Windows

First of all, compiling or building Weex from Windows is not supported officially.
You could install Git for Windows and run all the following commands in git-bash.
Good Luck.

Meet Weex

  • Install Weex Playground to see examples we already written.
  • If you want to write a demo, install weex-cli in Node.js 8.0+ and
  • Run weex init to generate & start a simple project in an empty folder.
  • Follow the instructions in the project README.
  • Enjoy it.

Use Weex

Android

You should install android environment before building.
You can either build Weex from IDE (Android Studio) or command line.

Build From Android Studio

  1. Open android directory in Android Studio.
  2. Run git submodule update --init --remote in android directory if this is the first time you try to run Weex.

Build From Command Line

Please read How To Build for detail.

iOS

You should install iOS environment before building.
You can either build Weex from IDE (XCode) or command line.

Build From XCode

  • Run playground
    • cd ios/playground
    • pod install
    • Open WeexDemo.xcworkspace in Xcode
    • Click  (Run button) or use default shortcut cmd + r in Xcode
    • If you want to run the demo on your device, don't need to modify CURRENT_IP manually. In DemoDefine.h(you can search this file by Xcode default shortcut cmd + shift + o), modify CURRENT_IP to your local IP
  • integrate to your application
    • Add the following line to your Podfile:
      pod 'WeexSDK'
    run pod install
    • Add the following line to your Cartfile:
      github "apache/incubator-weex"
    Run carthage update, and you should now have the latest version of WeexSDK in your Carthage folder.

Build From Command Line

Please read How To Build for detail.

Mobile Web

Vue Render for Apache Weex is a third party plugin, and not developed nor maintained by Apache Weex.

Third part plugin

There is a third party plugin provides for debugging purpose.
You can also view this page for all third party plugin.

Weex Community

大牛直播SDK

$
0
0
国内外为数不多致力于极致体验的超强全自研跨平台(windows/android/iOS)流媒体内核,通过模块化自由组合,支持实时RTMP推流、RTSP推流、RTMP播放器、RTSP播放器、录像、多路流媒体转发、音视频导播、动态视频合成、音频混音、直播互动、内置轻量级RTSP服务等,比快更快,业界真正靠谱的超低延迟直播SDK (1秒内,低延迟模式下200~400ms。 )


始于2014年,国内外为数不多致力于极致体验的超强全自研跨平台(windows/android/iOS)流媒体内核,通过模块化自由组合,支持实时RTMP推流、RTSP推流、RTMP/RTSP直播播放(支持RTSP/RTMP H.265)、业内首家RTMP推送播放整体加密(AES/SM4)方案、实时录像、多路流媒体转发(RTSP转RTMP,RTMP转RTMP)、音视频导播、动态视频合成、音频混音、一对一互动直播、内置轻量级RTSP服务、RTSP网关服务等,比快更快,业界真正靠谱的超低延迟直播SDK(1秒内,低延迟模式下200~400ms)。
适用于在线教育、智慧教室|无纸化推屏|会议RTMP防盗播整体加解密方案、运营商视频云平台、直播答题、远程医疗、金融双录、智能可视门禁对讲、智慧安防、智能家居、物联网、智能车载、传统硬件领域、超低延迟娃娃机抓取播放方案、媒体移动直播、应急指挥调度(针对保险、城管、交警、消防、公安等职能管理部门的单兵应急执法系统)、可视化购物、远程专家诊断、可视化巡检、(如电信/电力线路/铁路沿线/水利设施/油田/消防设施巡检)、移动视频安防监控,企业内训、金融在线直播室、监控对接、活动现场直播、游戏直播、秀场直播等场景。
For English introduction, please click here;
大牛直播SDK可供个人学习之用,企业及商用需要经过授权(授权请联系 QQ:89030985 或 517631076 手机:130-7210-2209 或 135-6452-9354);

跨平台RTMP加解密(支持AES/SM4)方案

平台扩展

除了Windows/Android/iOS Native SDK,大牛直播SDK播放端还支持Flutter(Android/iOS)、Unity3d(Windows/Android/iOS)、APICloud(Android/iOS)和React Native(Android/iOS)二次封装,也可能是Flutter和Unity3D平台下首款真正功能强大的高稳定、超低延迟的RTMP/RTSP直播播放器。
Flutter RTSP/RTMP播放SDK相关(支持Android/iOS)
APICloud RTSP/RTMP播放SDK相关(支持Android/iOS)
Unity3D RTSP/RTMP播放SDK相关(支持Windows/Android/iOS)

模块概览

RTSP/RTMP推拉流SDK概览图
RTSP/RTMP推拉流SDK概览图
多路RTSP/RTMP转RTMP推送SDK概览图
多路RTSP/RTMP转RTMP推送SDK概览图

支持平台架构

支持平台支持架构
Windows平台x86 debug/release, x64 debug/release
Android平台armeabi-v7a, arm64-v8a, x86, x86_64
iOS平台armv7, arm64, i386, x86_64
Windows端
  •  RTMP直播推流SDK RTMP推送SDK(支持同时推多路url,支持RTMP扩展H.265推送(64位库)),支持逐帧数据加密(加密算法支持AES128、AES192、AES256、SM4(国密));
  •  RTSP直播推流SDK 支持RTSP H.264/H.265推送,音频支持AAC格式,支持TCP/UDP模式推送,支持RTSP鉴权,支持重连和异常网络处理,超低延迟;
  •  RTMP直播播放器SDK 业内首屈一指的RTMP超低延迟直播播放器SDK(支持RTMP H.265扩展播放),支持IE浏览器OCX控件接口调用,支持RTMP推送端加密数据(AES/SM4)正常播放;
  •  RTSP直播播放器SDK 支持RTSP H.265播放及扩展录像、业内为数不多真正好用的RTSP播放器SDK,支持IE浏览器OCX控件接口调用;
  •  Unity3D RTMP/RTSP直播播放器SDK 业内首家Windows支持Unity3D的超低延迟RTMP/RTSP直播播放器SDK,支持快照、录像、实时静音、view旋转、快速切换URL等特性;
  •  RTMP/RTSP多路流媒体转RTMP推送SDK 支持同时多路拉取rtmp/rtsp流/本地flv文件,并分别转发到服务器,支持转发过程中,拉取的rtsp/rtmp或本地flv文件实时内容切换,业内为数不多支持RTSP/RTMP H.265拉流转发的SDK(提供配套RTMP扩展H.265服务器);点击查看多路RTSP/RTMP流转RTMP流官方定制版
  •  轻量级RTSP服务SDK 为满足内网无纸化/电子教室等内网超低延迟需求,避免让用户配置单独的服务器,大牛直播SDK在推送端支持轻量级RTSP服务SDK,推送端SDK支持的功能,内置轻量级RTSP服务SDK后,功能继续支持,windows端64位库支持RTSP H.265视频输出,支持单播组播模式;
  •  内网RTSP网关SDK 内网RTSP网关SDK,系内置轻量级RTSP服务SDK扩展,完成外部RTSP/RTMP数据拉取并注入到轻量级RTSP服务SDK工作,多个内网客户端直接访问内网轻量级RTSP服务获取公网数据,无需部署单独的服务器,支持RTSP/RTMP H.265数据接入,支持单播组播模式;
  •  导播SDK 数据源:1. rtmp/rtsp音视频流;2. 本地屏幕/摄像头/音频数据;3.本地flv文件;多路流合成一路实时导播推送;
  •  录像SDK 支持拉取rtmp/rtsp流实时录像模块/实时快照功能,支持纯音频、纯视频、音视频录制模式,支持音频(PCMU/PCMA,Speex等)转AAC后再录像,业内为数不多的支持RTSP/RTMP H.265录制到MP4文件的录像SDK;
  •  RTMP/RTSP一对一互动SDK 基于标准协议(RTMP或RTSP)的跨平台(Windows/Andriod/iOS)一对一互动SDK,支持回音消除,完美支持一对一互动场景;
  •  连麦SDK 以标准协议为基础,完美支持Windows连麦;
  •  本地FLV播放SDK 支持本地flv文件播放(支持获取flv文件的duration(时长);支持显示当前播放位置;支持开始播放或播放过程中seek(跳转播放位置),也许是行业内seek最快的flv点播播放器);
  •  SEI扩展数据发送/接收SDK 支持推送端通过H.264 SEI信息扩展,实时传输文本/二进制数据信息(如实时字幕/时间戳/题目分发/公告广播等),播放端做相应解析和回显;
  •  视频处理SDK 屏幕/多摄像头/水印/遮挡区域多层自由合成模块;
  •  音频处理SDK 多路混音、回音消除、噪音抑制、自动增益、VAD检测模块;
Android端
  •  RTMP直播推流端SDK Android屏幕、摄像头RTMP推流SDK,支持RTMP扩展H.265推送(H.265硬编码),支持逐帧数据加密(加密算法支持AES128、AES192、AES256、SM4(国密));
  •  RTSP直播推流SDK 支持RTSP H.264/H.265推送,音频支持AAC格式,支持TCP/UDP模式推送,支持RTSP鉴权,支持重连和异常网络处理,超低延迟;
  •  RTMP直播播放器SDK 业内首屈一指的RTMP超低延迟直播播放器SDK(支持RTMP H.265扩展播放),支持RTMP推送端加密数据(AES/SM4)正常播放;
  •  RTSP直播播放器SDK 支持RTSP H.265播放及扩展录像、业内为数不多真正好用的RTSP播放器SDK;
  •  Unity3D RTMP/RTSP直播播放器SDK 业内首家Android支持Unity3D的超低延迟RTMP/RTSP直播播放器SDK,支持快照、录像、实时静音、view旋转、快速切换URL等特性;
  •  录像SDK 支持拉取rtmp/rtsp流实时录像模块/实时快照功能,支持纯音频、纯视频、音视频录制模式,支持音频(PCMU/PCMA,Speex等)转AAC后再录像,业内为数不多的支持RTSP/RTMP H.265录制到MP4文件的录像SDK;
  •  RTMP/RTSP多路流媒体转RTMP推送SDK 支持实时拉取的rtmp/rtsp流转发到指定rtmp url;
  •  轻量级RTSP服务SDK 为满足内网无纸化/电子教室等内网超低延迟需求,避免让用户配置单独的服务器,大牛直播SDK在推送端支持轻量级RTSP服务SDK,推送端SDK支持的功能,内置轻量级RTSP服务SDK后,功能继续支持(支持H.265);
  •  RTMP/RTSP一对一互动SDK 基于标准协议(RTMP或RTSP)的跨平台(Windows/Andriod/iOS)一对一互动SDK,支持回音消除,完美支持一对一互动场景;
  •  SEI扩展数据发送/接收SDK 支持推送端通过H.264 SEI信息扩展,实时传输文本/二进制数据信息(如实时字幕/时间戳/题目分发/公告广播等),播放端做相应解析和回显;
  •  视频处理SDKAndroid文字水印、png图片水印;
  •  音频处理SDKAndroid回音消除、噪音抑制、自动增益、VAD检测模块;
iOS端
  •  RTMP直播推流端SDK iOS屏幕(基于ReplayKit)、摄像头RTMP推流SDK,支持逐帧数据加密(加密算法支持AES128、AES192、AES256、SM4(国密));
  •  RTSP直播推流SDK 支持RTSP H.264/H.265推送,音频支持AAC格式,支持TCP/UDP模式推送,支持RTSP鉴权,支持重连和异常网络处理,超低延迟;
  •  RTMP直播播放器SDK 业内首屈一指的RTMP超低延迟直播播放器SDK(支持RTMP H.265扩展播放),支持RTMP推送端加密数据(AES/SM4)正常播放;
  •  RTSP直播播放器SDK 支持RTSP H.265播放及扩展录像、业内为数不多真正好用的RTSP播放器SDK;
  •  Unity3D RTMP/RTSP直播播放器SDK 业内首家iOS支持Unity3D的超低延迟RTMP/RTSP直播播放器SDK,支持快照、录像、实时静音、view旋转、快速切换URL等特性;
  •  录像SDK 支持拉取rtmp/rtsp流实时录像模块/实时快照功能,支持纯音频、纯视频、音视频录制模式,支持音频(PCMU/PCMA,Speex等)转AAC后再录像,业内为数不多的支持RTSP/RTMP H.265录制到MP4文件的录像SDK;
  •  RTMP/RTSP多路流媒体转RTMP推送SDK 支持实时拉取的rtmp/rtsp流转发到指定rtmp url;
  •  轻量级RTSP服务SDK 为满足内网无纸化/电子教室等内网超低延迟需求,避免让用户配置单独的服务器,大牛直播SDK在推送端支持轻量级RTSP服务SDK,推送端SDK支持的功能,内置轻量级RTSP服务SDK后,功能继续支持;
  •  内网RTSP网关SDK 内网RTSP网关SDK,系内置轻量级RTSP服务SDK扩展,完成外部RTSP/RTMP数据拉取并注入到轻量级RTSP服务SDK工作,多个内网客户端直接访问内网轻量级RTSP服务获取公网数据,无需部署单独的服务器,支持RTSP/RTMP H.265数据接入;
  •  RTMP/RTSP一对一互动SDK 基于标准协议(RTMP或RTSP)的跨平台(Windows/Andriod/iOS)一对一互动SDK,支持回音消除,完美支持一对一互动场景;
  •  SEI扩展数据发送/接收SDK 支持推送端通过H.264 SEI信息扩展,实时传输文本/二进制数据信息(如实时字幕/时间戳/题目分发/公告广播等),播放端做相应解析和回显;

本地下载

很多开发者反应,由于项目庞大,github下载整个工程很慢,我们已经把相关demo文件和使用说明,全部上传到QQ群共享:
  •  大牛直播技术交流群2: 294891451
  •  大牛直播技术交流群1(已满): 499687479
或者直接从私有服务器下载(Windows提供C#/C++ demo, android提供android studio demo,iOS提供xcode demo):

大牛直播SDK相关demo本地下载

1. Windows平台测试EXE:
2. Windows平台集成对接DEMO:
3.Android平台集成对接DEMO:
3.1 对应Android Studio DEMO工程说明:
  •  SmartPlayerV2: RTMP|RTSP直播播放SDK demo,涵盖实时录像、快照、扩展SEI数据接收等功能;
  •  SmartPublisherV2: RTMP直播推送SDK、RTSP直播推送SDK、轻量级RTSP服务SDK、扩展SEI发送SDK、实时录像SDK多合一demo;
  •  SmartEchoCancellationV2: 基于RTMP的一对一互动demo(可扩展RTSP一对一互动);
  •  SmartServiceCameraPublisherV2: 后台摄像头RTMP直播推送SDK;
  •  SmartServicePublisherV2: 智慧教室|无纸化会议等屏幕采集(推屏) 、RTMP直播推送demo;
  •  SmartRelayDemoV2: RTMP|RTSP直播播放SDK、RTMP|RTSP转RTMP推送SDK、RTMP|RTSP实时录像、轻量级RTSP服务四合一demo。
3.2 相关集成DEMO下载:
4.iOS平台集成对接DEMO:
4.1 对应xcode DEMO工程说明:
  •  SmartiOSPlayerV2: RTMP|RTSP直播播放SDK demo,涵盖实时录像、快照、扩展SEI数据接收等功能;
  •  SmartiOSPublisherV2: RTMP直播推送SDK、RTSP直播推送SDK、轻量级RTSP服务SDK、扩展SEI发送SDK、实时录像SDK多合一demo;
  •  SmartiOSEchoCancellation: 基于RTMP的一对一互动demo(可扩展RTSP一对一互动);
  •  SmartiOSScreenPublisherV2: 基于ReplayKit采集的智慧教室|无纸化会议等屏幕采集(推屏) 、RTMP直播推送demo;
  •  SmartiOSRelayDemoV2: RTMP|RTSP直播播放SDK、RTMP|RTSP转RTMP推送SDK、RTMP|RTSP实时录像、轻量级RTSP服务四合一demo。
4.2 相关集成DEMO下载:
NOTE: Windows平台,以C++ SDK Demo为最新,C# Demo更新速度稍滞于C++ Demo。

大牛直播SDK集成和调用说明

右键“链接另存为(K)...”下载文档即可。
大牛直播SDK Demo使用说明

上层源码目录

  1. android推流 SmartServiceCameraPublisherV2(后台service推送摄像头) https://github.com/daniulive/SmarterStreaming/tree/master/SourceCode/AndroidStudio/SmartServiceCameraPublisherV2

功能支持


1. Windows视频采集处理SDK
  1. 支持视频源
  •  支持Windows屏幕采集、屏幕裁剪屏幕缩放特定窗口采集、摄像头采集、扩展外部H.264数据对接;
  1. 摄像头和屏幕合成
  •  [摄像头和屏幕实时切换]支持推送过程中,摄像头和屏幕互相切换,单画面显示摄像头或屏幕;
  •  [摄像头叠加到屏幕] 支持摄像头按照设置坐标,叠加到屏幕指定位置,并支持实时关闭叠加层;
  •  [屏幕叠加到摄像头] 支持屏幕按照设定坐标,叠加到摄像头指定位置,并支持实时关闭叠加层;
  1. 水印和透明度遮挡
  •  [实时水印]支持动态水印设置,完美支持文字水印、实时时间水印和图片水印
  •  [透明度]可以设置透明度处理(设置遮盖);
  1. 对应Demo:
  •  测试程序:SmartPublisherDemo.exe;
  •  C++工程:WIN-PublisherSDK-CPP-Demo;
  •  C#工程:WIN-PublisherSDK-CSharp-Demo。

2. Windows音频采集处理SDK
  1. 支持音频源
  •  支持Windows采集麦克风扬声器和外部AAC, Speex WB, PCMA, PCMU数据接口输入;
  1. 音频合成
  •  [音频]支持扬声器和麦克风音频混音输出(同时选择“采集扬声器”和“采集麦克风”);
  1. 音频处理
  •  支持音频“端点检测(VAD)”,自适应码流,音频码流更节省;
  •  支持回音消除功能;
  •  支持噪音抑制功能;
  •  支持自动增益控制。
  1. 对应Demo:
  •  测试程序:SmartPublisherDemo.exe;
  •  C++工程:WIN-PublisherSDK-CPP-Demo;
  •  C#工程:WIN-PublisherSDK-CSharp-Demo。

3. Windows/Android/iOS RTMP直播推流SDK
如不单独说明,系Windows、Android、iOS全平台支持。
  •  [视频采集处理]Windows平台涵盖“Windows视频采集处理SDK”功能;
  •  [音频采集处理]Windows平台涵盖“Windows音频采集处理SDK”功能;
  •  [本地预览]Windows平台支持摄像头/屏幕/合成数据实时预览功能,Android/iOS平台支持本地前后置摄像头预览;
  •  [摄像头反转/旋转]Windows平台支持摄像头水平反转、垂直反转、0°/90°/180°/270°旋转;
  •  [摄像头采集]除常规YUV格式外,Windows平台还支持MJPEG格式的摄像头采集;
  •  [RTMP推流]超低延时的RTMP协议直播推流SDK(Windows/Android/iOS支持RTMP扩展H.265推送);
  •  [音视频加密]RTMP支持AES128/AES192/AES256/SM4(国密)逐帧数据加密
  •  [音视频加密]支持RTMP H.264/H.265加密
  •  [音视频加密]支持RTMP AAC/Speex/G711加密
  •  [视频格式]Windows/Android平台支持H.264/H.265编码(Android H.265硬编码),iOS平台支持H.264编码;
  •  [音频格式]Windows/Android/iOS平台支持AAC编码,Windows/Android平台支持Speex编码;
  •  [音频编码]Windows/Android平台支持Speex推送、Speex编码质量设置;
  •  [H.264硬编码]Android/iOS平台支持H.264硬编码;
  •  [H.265硬编码]Android/iOS平台支持H.265硬编码;
  •  [硬编码自适应]Android/iOS平台支持硬编码自适应,如检测到硬编码不支持,自动切换到软编(iOS如H.265硬编,先切换到H.264硬编码,如不支持再尝试H.264软编);
  •  [软硬编码参数配置]支持gop间隔、帧率(Windows最高限定120帧)、bit-rate设置;
  •  [软编码参数配置]支持软编码profile、软编码速度、可变码率设置;
  •  [多实例推送]支持多实例推送(如同时推送屏幕/摄像头和外部数据);
  •  [RTMP扩展H.265]Windows/Android/iOS推送SDK支持RTMP扩展H.265推送,Windows针对摄像头采集软编码,使用H.265可变码率,带宽大幅节省,效果直逼传统H.265编码摄像头,Android/iOS平台支持H.265硬编码;
  •  [横竖屏推流]Android/iOS平台支持支持横屏、竖屏推流;
  •  [多分辨率支持]支持摄像头或屏幕多种分辨率设置;
  •  [Windows推屏]Windows平台支持屏幕裁剪、窗口采集、屏幕/摄像头数据合成等多种模式推送;
  •  [移动端推屏]Android平台支持后台service推送摄像头或屏幕(推送屏幕需要5.0+版本);
  •  [移动端推屏]iOS平台支持后台推送屏幕(基于ReplayKit,需要iOS 10.0+版本);
  •  [事件回调]支持各种状态实时回调;
  •  [水印]Windows平台支持文字水印、png水印、实时遮挡,Android平台支持文字水印、png水印;
  •  [RTMP推送模式]支持RTMP推送 live|record模式设置(需服务器支持);
  •  [镜像]Android/iOS平台支持前置摄像头实时镜像功能;
  •  [前后摄像头实时切换]Android/iOS平台支持采集过程中,前后摄像头切换;
  •  [复杂网络处理]支持断网重连等各种网络环境自动适配;
  •  [动态码率]支持根据网络情况自动调整推流码率;
  •  [实时静音]支持推送过程中,实时静音/取消静音;
  •  [实时快照]支持推流过程中,实时快照;
  •  [纯音频推流]支持仅采集音频流并发起推流功能;
  •  [纯视频推流]支持特殊场景下的纯视频推流功能;
  •  [降噪]Windows/Android平台支持环境音、手机干扰等引起的噪音降噪处理、自动增益、VAD检测;
  •  [回音消除]Android平台支持实时传递远端PCM数据,方便回音消除处理;
  •  [外部编码前视频数据对接]支持YUV数据对接;
  •  [外部编码前音频数据对接]支持PCM对接;
  •  [外部编码后视频数据对接]支持外部H.264数据对接;
  •  [外部编码后音频数据对接]外部AAC/PCMA/PCMU/SPEEX数据对接;
  •  [推送端休眠设置]Windows平台支持休眠接口(设置成休眠模式后CPU会适当降低);
  •  [编码后数据输出]Android平台支持输出编码后的H264/AAC数据到上层,方便对接第三方平台(如GB28181)对接;
  •  [扩展录像功能]完美支持和录像SDK组合使用,录像相关功能,可参见"8. Windows/Android/iOS录像SDK";
  •  [基础美颜]iOS平台自带基础美颜功能;
  •  [裁剪模式]Android/iOS平台支持特定分辨率摄像头裁剪模式设置;
  •  [服务器兼容]支持自建标准RTMP服务器(如Nginx、SRS)或CDN。
对应Demo:
  •  Windows测试程序:SmartPublisherDemo.exe;
  •  Windows C++工程:WIN-PublisherSDK-CPP-Demo;
  •  Windows C#工程:WIN-PublisherSDK-CSharp-Demo;
  •  Android工程:SmartPublisherV2;
  •  iOS工程:SmartiOSPublisherV2。

4. Windows/Android/iOS RTSP直播推流SDK
如不单独说明,系Windows、Android、iOS全平台支持。
  •  [视频采集处理]Windows平台涵盖“Windows视频采集处理SDK”功能;
  •  [音频采集处理]Windows平台涵盖“Windows音频采集处理SDK”功能;
  •  [本地预览]Windows平台支持摄像头/屏幕/合成数据实时预览功能,Android/iOS平台支持本地前后置摄像头预览;
  •  [摄像头反转/旋转]Windows平台支持摄像头水平反转、垂直反转、0°/90°/180°/270°旋转;
  •  [摄像头采集]除常规YUV格式外,Windows平台还支持MJPEG格式的摄像头采集;
  •  [RTSP推流]超低延时的RTSP协议直播推流SDK;
  •  [视频格式]Windows/Android平台支持H.264/H.265编码(Android H.265硬编码),iOS平台支持H.264编码;
  •  [音频格式]Windows/Android/iOS平台支持AAC编码;
  •  [H.264硬编码]Android/iOS平台支持H.264硬编码;
  •  [H.265硬编码]Android/iOS平台支持H.265硬编码;
  •  [硬编码自适应]Android/iOS平台支持硬编码自适应,如检测到硬编码不支持,自动切换到软编(iOS如H.265硬编,先切换到H.264硬编码,如不支持再尝试H.264软编);
  •  [RTSP鉴权]支持RTSP鉴权推送;
  •  [TCP/UDP模式]支持rtp over udp和rtp over tcp两种传输方式;
  •  [401事件处理]RTSP推送支持401事件上报;
  •  [视频格式]支持H.264/H.265(64位库)编码;
  •  [音频格式]支持AAC编码;
  •  [软硬编码参数配置]支持gop间隔、帧率、bit-rate设置;
  •  [软编码参数配置]支持软编码profile、软编码速度、可变码率设置;
  •  [多实例推送]支持多实例推送(如同时推送屏幕/摄像头和外部数据);
  •  [多分辨率支持]支持摄像头或屏幕多种分辨率设置;
  •  [Windows推屏]Windows平台支持屏幕裁剪、窗口采集、屏幕/摄像头数据合成等多种模式推送;
  •  [事件回调]支持各种状态实时回调;
  •  [水印]Windows平台支持文字水印、png水印、实时遮挡,Android平台支持文字水印、png水印;
  •  [复杂网络处理]支持断网重连等各种网络环境自动适配;
  •  [动态码率]支持根据网络情况自动调整推流码率;
  •  [实时静音]支持推送过程中,实时静音/取消静音;
  •  [实时快照]支持推流过程中,实时快照;
  •  [纯音频推流]支持仅采集音频流并发起推流功能;
  •  [纯视频推流]支持特殊场景下的纯视频推流功能;
  •  [降噪]Windows/Android平台支持降噪处理、自动增益、VAD检测;
  •  [回音消除]Android平台支持实时传递远端PCM数据,方便回音消除处理;
  •  [外部编码前视频数据对接]支持YUV数据对接;
  •  [外部编码前音频数据对接]支持PCM对接;
  •  [外部编码后视频数据对接]支持外部H.264数据对接;
  •  [外部编码后音频数据对接]外部AAC/PCMA/PCMU数据对接;
  •  [推送端休眠设置]Windows平台支持休眠接口(设置成休眠模式后CPU会适当降低);
  •  [扩展录像功能]完美支持和录像SDK组合使用,录像相关功能,可参见"8. Windows/Android/iOS录像SDK";
  •  [服务器兼容]支持支持自建服务器(如Darwin Stream Server)。
对应Demo:
  •  Windows测试程序:SmartPublisherDemo.exe;
  •  Windows C++工程:WIN-PublisherSDK-CPP-Demo;
  •  Android工程:SmartPublisherV2;
  •  iOS工程:SmartiOSPublisherV2。

5. Windows/Android/iOS RTMP、RTSP直播播放器SDK
如不单独说明,系Windows、Android、iOS全平台支持。
  •  [支持播放协议]高稳定、超低延迟(一秒内,行业内几无效果接近的播放端)、业内首屈一指的RTMP/RTSP直播播放器SDK;
  •  [多实例播放]支持多实例播放(如同时播放多路RTMP/RTSP流);
  •  [事件回调]支持网络状态、buffer状态等回调;
  •  [视频格式]支持RTSP H.265、RTMP扩展H.265,RTSP/RTMP H.264,此外,还支持RTSP MJPEG播放;
  •  [音视频加密]支持RTMP推送端加密(AES/SM4(国密))音视频数据正常播放
  •  [音频格式]RTMP/RTSP支持AAC/PCMA/PCMU,此外RTMP还支持Speex;
  •  [H.264/H.265软解码]支持H.264/H.265软解;
  •  [H.264硬解码]Windows/Android/iOS支持H.264硬解,Windows平台硬解码播放效果展示(超低CPU占用)
  •  [H.265硬解]Windows/Android/iOS支持H.265硬解;
  •  [H.264/H.265硬解码]Android支持设置Surface模式硬解和普通模式硬解码;
  •  [硬解码自适应]Windows/Android/iOS平台支持硬解码码自适应,如检测到硬解码不支持,自动切换到软解;
  •  [RTSP模式设置]支持RTSP TCP/UDP模式设置;
  •  [RTSP TCP/UDP自动切换]支持RTSP TCP、UDP模式自动切换;
  •  [RTSP超时设置]支持RTSP超时时间设置,单位:秒;
  •  [RTSP 401认证处理]支持上报RTSP 401事件,如URL携带鉴权信息,会自动处理;
  •  [缓冲时间设置]支持buffer time设置;
  •  [首屏秒开]支持首屏秒开模式;
  •  [低延迟模式]支持类似于线上娃娃机等直播方案的超低延迟模式设置(公网200~400ms);
  •  [复杂网络处理]支持断网重连等各种网络环境自动适配;
  •  [快速切换URL]支持播放过程中,快速切换其他URL,内容切换更快;
  •  [音视频多种render机制]Windows平台支持D3D和GDI绘制模式(如不支持D3D,会自动切换到GDI模式);
  •  [音视频多种render机制]Android平台,视频:surfaceview/OpenGL ES,音频:AudioTrack/OpenSL ES;
  •  [实时静音]支持播放过程中,实时静音/取消静音;
  •  [实时快照]支持播放过程中截取当前播放画面;
  •  [只播关键帧]Windows平台支持实时设置是否只播放关键帧;
  •  [渲染角度]支持0°,90°,180°和270°四个视频画面渲染角度设置;
  •  [渲染镜像]支持水平反转、垂直反转模式设置;
  •  [等比例缩放]支持图像等比例缩放绘制;
  •  [实时下载速度更新]支持当前下载速度实时回调(支持设置回调时间间隔);
  •  [ARGB叠加]Windows平台支持ARGB图像叠加到显示视频(参看C++的DEMO);
  •  [解码前视频数据回调]支持H.264/H.265数据回调;
  •  [解码后视频数据回调]支持解码后YUV/RGB数据回调;
  •  [解码后视频数据缩放回调]Windows平台支持指定回调图像大小的接口(可以对原视图像缩放后再回调到上层);
  •  [解码前音频数据回调]支持AAC/PCMA/PCMU/SPEEX数据回调;
  •  [音视频自适应]支持播放过程中,音视频信息改变后自适应;
  •  [扩展录像功能]完美支持和录像SDK组合使用,录像相关功能(支持RTSP H.265流录制,支持PCMA/PCMU转AAC后录制,支持设置只录制音频或视频),可参见"8. Windows/Android/iOS录像SDK";
  •  [全屏]Windows平台双击画面进入全屏模式;
  •  [Windows本地FLV播放器]支持本地FLV文件播放(支持获取FLV文件的duration(时长);支持显示当前播放位置;
  •  [Windows本地FLV播放器]支持开始播放或播放过程中seek(跳转播放位置),也许是行业内seek最快的flv点播播放器)。
对应Demo:
  •  Windows测试程序:SmartPlayer.exe;
  •  Windows C++工程:WIN-PlayerSDK-CPP-Demo;
  •  Windows C#工程:WIN-PlayerSDK-CSharp-Demo;
  •  Android工程:SmartPlayerV2;
  •  iOS工程:SmartiOSPlayerV2。

6. Windows/Android/iOS内置轻量级RTSP服务SDK
如不单独说明,系Windows、Android、iOS全平台支持。
  •  [基础功能]支持Windows/Android/iOS平台RTMP直播SDK除推送RTMP外的所有常规功能;
  •  [音频格式]AAC;
  •  [视频格式]H.264、H.265;
  •  [协议类型]RTSP;
  •  [传输模式]支持单播组播模式;
  •  [端口设置]支持RTSP端口设置;
  •  [鉴权设置]支持RTSP鉴权用户名、密码设置;
  •  [获取session连接数]支持获取当前RTSP服务会话连接数;
  •  [多服务支持]支持同时创建多个内置RTSP服务;
  •  [H.265支持]支持发布H.265视频(Windows平台需64位库);
  •  [RTSP url回调]支持设置后的rtsp url通过event回调到上层。
对应Demo:
  •  Windows测试程序:SmartPublisherDemo.exe;
  •  Windows C++工程:WIN-PublisherSDK-CPP-Demo;
  •  Windows C#工程:WIN-PublisherSDK-CSharp-Demo;
  •  Android工程:SmartPublisherV2;
  •  iOS工程:SmartiOSPublisherV2。

7. 内网RTSP网关SDK
如不单独说明,系Windows、Android、iOS全平台支持。
内网RTSP网关SDK,系内置轻量级RTSP服务SDK扩展,完成外部RTSP/RTMP数据拉取并注入到轻量级RTSP服务SDK工作,多个内网客户端直接访问内网轻量级RTSP服务获取公网数据,无需部署单独的服务器,支持RTSP/RTMP H.265数据接入。 简单来说:内置轻量级RTSP服务SDK和内置RTSP网关SDK的区别在于数据来源不同,内置轻量级RTSP服务SDK数据来源于终端设备自带摄像头数据/屏幕数据/外部编码前后数据,内置RTSP网关SDK的数据源是RTSP/RTMP流数据。
  •  [音频格式]AAC;
  •  [视频格式]H.264、H.265;
  •  [接入协议]支持内外网RTMP/RTSP流接入;
  •  [输出协议]RTSP,拉取的RTSP/RTMP流,注入轻量级RTSP服务SDK;
  •  [传输模式]Windows支持单播组播模式,Android/iOS平台支持单播模式;
  •  [音频转码]支持音频(PCMU/PCMA,Speex等)转AAC后注入;
  •  [端口设置]支持RTSP端口设置;
  •  [鉴权设置]支持RTSP鉴权用户名、密码设置;
  •  [获取session连接数]支持获取当前RTSP服务会话连接数;
  •  [多服务支持]支持同时创建多个内置RTSP服务;
  •  [H.265支持]Windows内置rtsp server支持发布H.265视频(64位库);
  •  [RTSP url回调]支持设置后的rtsp url通过event回调到上层;
对应Demo:
  •  Windows测试程序:SmartStreamRelayDemo.exe;
  •  Windows C++工程:WIN-RelaySDK-CPP-Demo;
  •  Windows C#工程:WIN-RelaySDK-CSharp-Demo。

8. Windows/Android/iOS RTMP/RTSP多路流媒体转RTMP推送SDK
如不单独说明,系Windows、Android、iOS全平台支持。
  •  [拉流]支持拉取RTSP流;
  •  [拉流]支持拉取RTMP流;
  •  [预览]支持拉取到的RTMP/RTSP随时本地预览、关闭预览;
  •  [拉流音频调节]支持拉取的RTMP/RTSP流静音;
  •  [音频转码]支持拉取的RTMP/RTSP的PCMA/PCMU/SPEEX音频格式转AAC后再转发到RTMP服务器;
  •  [url切换]支持转发过程中,拉取的RTMP/RTSP实时内容切换
  •  [转发]超低延迟转发拉取的rtsp/rtmp流到rtmp server;
  •  [H.265支持]业内首家支持RTSP/RTMP H.265转RTMP推送的SDK(提供配套RTMP扩展H.265服务器);
对应Demo:
  •  Windows测试程序:SmartStreamRelayDemo.exe;
  •  Windows C++工程:WIN-RelaySDK-CPP-Demo;
  •  Windows C#工程:WIN-RelaySDK-CSharp-Demo;
  •  Android工程:SmartRelayDemoV2;
  •  iOS工程:SmartiOSRelayDemoV2。
大牛直播SDK Windows平台已发布基于转发SDK的官方定制版系统: 点击查看多路RTSP/RTMP流转RTMP流官方定制版

9. Windows/Android/iOS RTMP/RTSP一对一互动SDK
如不单独说明,系Windows、Android、iOS全平台支持。
  •  基于官方现有RTMP、RTSP推送、或内置RTSP服务、播放SDK,产品稳定度高,行业内首屈一指的超低延迟特性;
  •  加入噪音抑制、回音消除、自动增益控制等特性,确保通话效果;
  •  采用通用的RTMP和RTSP服务器,如nginx、SRS或 Darwin Stream Server(原生版本),更有利于私有部署;
  •  支持H.264的扩展SEI消息发送机制;
  •  支持H.265编码(Windows 64位库,Android/iOS硬编码)和H.264可变码率设定,换句话说,之前大牛直播SDK推送端支持的功能,都可以同步支持;
  •  支持H.265解码,直播播放器支持的功能,一对一互动模块都可以有选择的支持;
  •  Windows平台支持双流合成大小屏录制;
  •  Windows支持摄像头、屏幕合成、水印等各种组合模式,扩展度高;
  •  适用于应急指挥、教育培训等领域。
对应Demo:
  •  以C#为例,对应SmartEchoCancellation.exe(WIN-EchoCancellation-CSharp-Demo);
  •  Android工程:SmartEchoCancellationV2;
  •  iOS工程:SmartiOSEchoCancellation。

10. Windows导播SDK
  •  [拉流]支持拉取RTSP流;
  •  [拉流]支持拉取RTMP流;
  •  [混音合成]支持本地采集到屏幕或摄像头数据,和远程拉取得RTSP或RTMP流做合成、混音输出;
  •  [导播]支持导播过程中,随时切断某一路音视频或音频;
  •  [混音]支持音频混音(同时选择“采集麦克风”+“采集扬声器”);
  •  [合成]多路流合成一路流后,推送到RTMP服务器;
  •  [扩展录像快照]多路合成后的流,支持本地录像、快照。
对应Demo:
  •  测试程序:SmartMixStreamDemo.exe;
  •  C++工程:WIN-MixStreamSDK-CPP-Demo;

11. Windows/Android/iOS录像SDK
  •  [拉流]支持拉取RTSP流录像;
  •  [拉流]支持拉取RTMP流录像;
  •  [推流端录像]支持RTMP|RTSP推送端同步录像;
  •  [轻量级RTSP服务录像]支持轻量级RTSP服务SDK同步录像;
  •  [推流端录像实时暂停/恢复]支持推送端录像过程中实时暂停录像、恢复录像
  •  [逻辑分离]大牛直播录像SDK不同于普通录像接口,更智能,和推送、播放、转发、内置轻量级RTSP服务SDK功能完全分离,支持随时录像;
  •  [url切换]在录像过程中,支持切换不同URL,如两个URL配置一致,则可以录制到同一个MP4文件,如不一致,可自动分割到下一个文件;
  •  [参数设置]支持设置单个录像文件大小、录像路径等,并支持纯音频、纯视频、音视频录制模式;
  •  [音频转码]支持音频(PCMU/PCMA,Speex等)转AAC后再录像;
  •  [265支持]支持RTSP/RTMP H.265录制到MP4文件;
  •  [推送端265录像]推送端SDK支持H265录像;
  •  [推送端外部编码数据对接录像]支持推送端外部编码后数据(H.264/AAC)对接录像;
  •  [事件回调]从开始录像,到录像结束均有event callback上来,网络堵塞、音视频同步均做了非常友好的处理。
对应Demo:
  •  Windows测试程序:SmartPlayer.exe;
  •  Windows C++工程:WIN-PlayerSDK-CPP-Demo;
  •  Windows C#工程:WIN-PlayerSDK-CSharp-Demo;
  •  测试程序:SmartPublisherDemo.exe;
  •  C++工程:WIN-PublisherSDK-CPP-Demo;
  •  C#工程:WIN-PublisherSDK-CSharp-Demo。
  •  Android工程:SmartPlayerV2;
  •  iOS工程:SmartiOSPlayerV2;
  •  Android工程:SmartPublisherV2;
  •  iOS工程:SmartiOSPublisherV2。

12. Windows/Android/iOS SEI扩展数据发送/接收SDK
  •  [RTSP SEI]支持内置RTSP服务SDK携带SEI扩展信息(H.264);
  •  [RTMP SEI]支持RTMP推送SDK携带SEI扩展信息(H.264);
  •  [自定义数据]持发送自定义用户数据(如自定义utf8字符串);
  •  [二进制数据]支持发送二进制数据;
  •  [播放端解析]RTSP/RTMP直播播放端SDK支持utf8文本、二进制、和原SEI数据解析。
对应Demo:
  •  Windows测试程序:SmartPlayer.exe;
  •  Windows C++工程:WIN-PlayerSDK-CPP-Demo;
  •  Windows C#工程:WIN-PlayerSDK-CSharp-Demo;
  •  测试程序:SmartPublisherDemo.exe;
  •  C++工程:WIN-PublisherSDK-CPP-Demo;
  •  C#工程:WIN-PublisherSDK-CSharp-Demo。
  •  Android工程:SmartPlayerV2;
  •  iOS工程:SmartiOSPlayerV2;
  •  Android工程:SmartPublisherV2;
  •  iOS工程:SmartiOSPublisherV2。

编译注意事项

  • iOS平台支持真机和模拟器编译运行.
  • iOS播放端编译时找不到 libSmartPlayerSDK.a 时,请先到 SmartiOSPlayer/SmartiOSPlayer/libs 目录, 解压libSmartPlayerSDK.zip.
  • iOS推送端编译时找不到 libSmartPublisherSDK.a 时,请先到 SmartiOSPublisher/SmartiOSPublisher/libs 目录, 解压libSmartPublisherSDK.zip.
  • 未授权版本,限制app-name,如果需要集成到自己工程里面调试,可以用以下名字:
Windows推送端:SmartPublisherDemo 
Windows播放端:SmartPlayer
Windows转发端:SmartStreamRelayDemo
Windows合流导播端:SmartMixStreamDemo
android推送端:SmartPublisherSDKDemo
android后台Service推送:SmartServicePublisherSDKDemo
android一对一互动:SmartEchoCancellation
android播放器:SmartPlayerSDKDemo
iOS推送端:SmartiOSPublisher
iOS转发端:SmartiOSRelayDemo
iOS播放器:SmartiOSPlayer
iOS一对一互动:SmartiOSEchoCancellation
  • 集成到自己工程,如何改名字(以推送端为例):
android:strings.xml: 
SmartPublisherSDKDemo
iOS:Info.plist-->右键Open As-->Source Code,添加或者编辑 
CFBundleName
SmartiOSPublisher

联系我们

mac上,用源码安装Leanote

$
0
0
Leanote是用go+Mongodb搭建的。
you could also use go getto download the Leanote package. As go get will call the git and mercurial commands, you need to install them first.
To Install git:
$> sudo apt-get install git-core mercurial openssh-server openssh-client
Then Fetch RevelLeanote and related dependencies:
$> go get github.com/revel/cmd/revel
$> go get github.com/leanote/leanote/app
It may take a while to download these files, please be patient. The source code of Leanote is stored in /home/user1/gopackage/src/github.com/leanote/leanote.

Install Mongodb

Download Mongodb and configure

You could download a more up-to-date version from the official site of Mongodb. Or, you could use the following links to get the versions that are validated to be working by the developers.
Fast download:
Save the file to /home/user1, then extract it:
$> cd /home/user1
$> tar -xzvf mongodb-linux-x86_64-3.0.1.tgz/
To make sure that you can reference the Mongodb command from anywhere, configure its environment variable by adding the following line to your ~/bash_profile or /etc/profile (make sure you type in the correct username and version strings):
export PATH=$PATH:/home/user1/mongodb-linux-x86_64-3.0.1/bin
Again to make your modification take effect:
$> source /etc/profile

Test Mongodb installation

To verify the installation of Mongodb, make a new folder (e.g. data) under /home/user1 to store data:
$> mkdir /home/user1/data
Then start the Mongodb database server. You might want it to run in the background, so append & to the end:
$> mongod --dbpath /home/user1/data &
Now Mongodb is up and running, you can open a new terminal (or in the same terminal session if you have mongod run in the background) and launch it:
$> mongo
> show dbs
Should no error pops up, your Mongodb installation is complete, let's import initial data to Mongodb.

Import initial c data

Leanote's initial data is stored in /home/user1/gopackage/src/github.com/leanote/leanote/mongodb_backup/leanote_install_data
Open a terminal and paste in the following command to import initial data.
$> mongorestore -h localhost -d leanote --dir /home/$USER/gopackage/src/github.com/leanote/leanote/mongodb_backup/leanote_install_data/
Now Mongodb has created a leanote database, you can have a peek into it, for instance query how many tables leanote database has:
$> mongo
> show dbs
leanote 0.203125GB
local 0.078125GB
Tell mongodb to use our newly created leanote database:
> use leanote 
switched to db leanote
Bit more playing around:
> show collections # a collection in Mongodb is a table in mysql
files
has_share_notes
note_content_histories
note_contents
notebooks
...
The initial users table has two accounts:
user1 username: admin, password: abc123 (administrator who can manage Leanote)
user2 username: demo@leanote.com, password: demo@leanote.com (just for demonstration)

Configure Leanote

The configuration of Leanote is controlled by this file: /home/user1/gopackage/src/github.com/leanote/leanote/conf/app.conf.
One setting that you are strongly suggested to modify is app.secret, please change arbitrary number of digits of the string to something different, but keeping the string length unchanged. This is to avoid potential security issues.
Other optional changes you can make includes db.usernamedb.password (more on these in the Trouble Shooting section) and etc..

Run Leanote

If you have successfully come to this stage, there is just one more step to go.
Make sure the Mongodb is still up and running, and your 9000 port (the default port, which can be changed later) is open. Then run:
$> revel run github.com/leanote/leanote
Note that if you are using revel 0.12 or above, please refer to this post
Congratulations, now fire up you browser and enter http://localhost:9000 (or http://IP_ADDRESS_OF_SERVER:9000) into the address bar. Voilà! Welcome to Leanote and happy note-taking!

Attention!

Please note that you run Mongodb with no auth option which mentioned in this paper, if your server is exposed to the internet, anyone can access and modify and delete it!!!!!! So it's very dangerous to run Mongodb in this way. You must add user and password to Mongodb and run it with auth option. Please see How to add new users to mongodb database?

Trouble shooting

If you encounter issues or want to know more about Leanote's configurations, refer to the FAQ page.


rsockstun

$
0
0
reverse socks tunneler with ntlm and proxy support.
Reverse socks5 tunneler with SSL and proxy support Based on https://github.com/brimstone/rsocks

Usage:


Usage:
0) Generate self-signed certificate with openssl: openssl req -new -x509 -keyout server.key -out server.crt -days 365 -nodes
1) Start on VPS: rsockstun -listen :8443 -socks 127.0.0.1:1080 -cert cert
2) Start on client: rsockstun -connect clientIP:8443
3) Connect to 127.0.0.1:1080 on the VPS with any socks5 client.
4) Enjoy. :]

Add params:
-proxy 1.2.3.4:3128 - connect via proxy
-proxyauth Domain/username:password - proxy creds
-proxytimeout 2000 - server and clients will wait for 2000 msec for proxy connections... (Sometime it should be up to 4000...)
-useragent "Internet Explorer 9.99" - User-Agent used in proxy connection (sometimes it is usefull)
-pass Password12345 - challenge password between client and server (if not match - server reply 301 redirect)
-recn - reconnect times number. Default is 3. If 0 - infinite reconnection
-rect - time delay in secs between reconnection attempts. Default is 30


Compile and Installation:

Linux VPS
- install Golang: apt install golang
- export GOPATH=~/go
- go get github.com/hashicorp/yamux
- go get github.com/armon/go-socks5
- go get github.com/ThomsonReutersEikon/go-ntlm/ntlm
- go build
launch:
./rsockstun -listen :8443 -socks 127.0.0.1:1080 -cert cert -agentpassword Password1234

Windows client:
- download and install golang
- go get github.com/hashicorp/yamux
- go get github.com/armon/go-socks5
- go get github.com/ThomsonReutersEikon/go-ntlm/ntlm
If you want to use proxy NTLM auth - patch go-ntlm\ntlm\payload.go packet:
bytes := utf16FromString(value) -> bytes := []byte(value)
p.Type = UnicodeStringPayload -> p.Type = OemStringPayload
- go build
optional: to build as Windows GUI: go build -ldflags -H=windowsgui
optional: to compress exe - use any exe packer, ex: UPX
launch:
rsockstun.exe -connect clientIP:8443 -agentpassword Password1234 -proxy proxy.domain.local:3128 -proxyauth Domain\userpame:userpass -useragent "Mozilla 5.0/IE Windows 10"

Client connects to server and send agentpassword to authorize on server. If server does not receive agentpassword or reveive wrong pass from client (for example if spider or client browser connects to server ) then it send HTTP 301 redirect code to www.microsoft.com

frm https://github.com/llkat/rsockstun

Torsocks

$
0
0
Torsocks: use socks-friendly applications with Tor. 

What is torsocks?
-----------------
This is a fork of the tsocks project (http://sourceforge.net/project/
showfiles.php?group_id=17338). The purpose of this fork is to maintain a
working implementation of tsocks that is primarily useful for Tor.

The project homepage is:

http://code.google.com/p/torsocks


Using torsocks
--------------
Torsocks allows you to use most socks-friendly applications in a safe way with Tor.
Once you have installed torsocks, just launch it like so:

usewithtor [application]

So, for example you can use ssh to a some.ssh.com by doing:

usewithtor ssh username@some.ssh.com

or launch pidgin by doing:

usewithtor pidgin

The following applications are known to be compatible with usewithtor:

Type Application Comments
COMM ssh
COMM telnet (plaintext passwords are not recommended with Tor)
IM pidgin
IM kopete
IRC konversation
MAIL claws-mail
DEV svn
IRC xchat
IRC irssi
IRC silc


Differences between torsocks and tsocks
----------------------------------------
A complete history of changes is maintained in the Changelog. The initial
working copy of torsocks was obtained through the following steps in June
2008:

- Tsocks was downloaded from the project's sourceforge repository.
(http://sourceforge.net/project/showfiles.php?group_id=17338)
- All patches listed at http://wiki.noreply.org/noreply/TheOnionRouter/
TSocksPatches in March 2008 were applied. In particular, the patch
from Total Information Security that hooks DNS requests and passes
them to Tor. The original link for this patch is now dead and the
authors are no longer available at the email addresses supplied in
the patch's source.
- Weasel's getpeername() patch and some build-related patches from
https://giig.ugr.es/~rgarcia/tsocks/ were applied.
- All references to tsocks in the project source files were renamed
to torsocks.
- The project was then migrated to an automake/autoconf build system.

To help with reconstructing the above steps a list of applied patches is
available in the patches/ subdirectory of the torsocks source tree.

Enhancements unique to torsocks
-------------------------------
The first release of torsocks contained the following enhancements:

- Torifying reverse dns requests through gethostbyaddr()
- Blocking of UDP traffic from sendto() and its variants.
- Use of Tor-friendly defaults if no configuration file available.
- The addition of all RFC defined private address ranges to the
default configuration.

Maintainers of Torsocks
-----------------------
Torsocks is maintained by: Robert Hogan (robert at roberthogan.net)
Ruben Garcia (ruben at ugr.es)


Links
-----

Original tsocks project (apparently abandoned):
http://sourceforge.net/project/showfiles.php?group_id=17338

Ruben's fork of tsocks on which this is based:
https://giig.ugr.es/~rgarcia/tsocks/

The Tor project's list of tsocks patches:
http://wiki.noreply.org/noreply/TheOnionRouter/TSocksPatches

The Tor project:
https://www.torproject.org

frm https://github.com/mwenge/torsocks
Viewing all 20452 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>