{"data": [{"name": "graynjo/Heimdallr", "link": "https://github.com/graynjo/Heimdallr", "tags": [], "stars": 765, "description": "\u4e00\u6b3e\u5b8c\u5168\u88ab\u52a8\u76d1\u542c\u7684\u8c37\u6b4c\u63d2\u4ef6\uff0c\u7528\u4e8e\u9ad8\u5371\u6307\u7eb9\u8bc6\u522b\u3001\u871c\u7f50\u7279\u5f81\u544a\u8b66\u548c\u62e6\u622a\u3001\u673a\u5668\u7279\u5f81\u5bf9\u6297", "lang": "JavaScript", "repo_lang": "", "readme": "#Heimdallr\n\n## \u26a1 Introduction\n\n**Heimdallr** is a tool dedicated to passively sniffing browser traffic. It is used to **prompt vulnerability framework fingerprints**, **alarm and intercept honeypot requests**, **anti-browser feature tracking** (browser Persistence, webRTC, Canvas, etc.) Chrome plugin.\n\n![image-20221017154419189](README.assets/image-20221017154419189.png)\n\n![image-20221017154934546](README.assets/image-20221017154934546.png)\n\n## \ud83e\udd51 install\n\n1. GitHub Releases download the latest compiled version of the plugin\n2. Chrome browser - extension settings - developer mode - load the decompressed extension\n\n![image-20221017154934546](README.assets/image-20221104111153079.png)\n\n> Note: Chrome version needs to be higher than Chrome v96, some code logic is not suitable for edge and firefox, please do not mix it with non-Chrome browsers\n\n## \ud83d\ude80 use\n\n### basic skills\n\nThe high-risk vulnerability asset fingerprint identification and honeypot jsonp request identification functions do not need to be configured, as long as the plug-in is enabled, it will take effect.\n\n- 103 high-risk vulnerability asset fingerprinting rules, involving frameworks or products as follows:\n\n> ueditor, struts2, spring, weblogic, shiro, F5 BIG-IP, Zhiyuan OA, UFIDA NC, UFIDA Chanjet, Tongda OA, Xintongda OA, Xindian OA, Fanruan Report, Lanling OA, Hongfan OA, Huatian Power OA, Wanhu OA, Kingdee Cloud, Xiezhong OA, Jinhe OA, Haichang OA, Fanwei multiple products (ecology, eoffice, ebridge, emobile), TRS SSO, TRS content management system, Yimail mail, coremail mail, Exchange mail, Ruoyi background management system, Wordpress, Xiaoyu Yilianyun video, tomcat, iis, jboss, jetty, ibm websphere, weblogic, thinkphp, showdoc, Laravel, kindeditor, fckeditor, ewebeditor, jeesite, Hikvision multiple products (network camera, security management platform, integrated image application platform), dedecms, jira, confluence, java web, Boda Station Group, dubbo, sunflower client, pagoda waf, pagoda panel, rice Tuo cms, teleport bastion machine, Qizhi bastion machine, Paradis bastion machine, H3C bastion machine, NSFOCUS firewall, security dog \u200b\u200bWaf\n\n- There are 151 honeypot feature warning rules, involving sensitive domain name requests (jsonp), honeypot web resource features, honeypot detection requests for local special software (such as Burpsuite), website traffic analysis and tracking requests, sensitive keywords, and sensitive scripts call etc.\n\n> In order to ensure the most comprehensive capture of requests, Heimdallr does not filter request types (such as script, XMLHttpRequest, etc.), so the plug-in only recognizes honeypot requests by default and does not intercept them. If honeypot request interception is enabled, it will affect normal access to CSDN, Normal access to websites such as Github can be solved by pausing the plug-in during daily use (control-pause/enable plug-in) or turning off the honeypot interception function (policy configuration-honeypot interception configuration).\n>\n> Due to the normal use of some frameworks or products (such as Baidu website online customer service will call 5 sensitive domain names, Gaode map embedding will call Gaode domain names), Jsonp sensitive domain names will also be accessed normally, so there are more than 10 Jsonp requests on the same site , it can basically be determined as a honeypot site, and a system pop-up alarm will appear at this time (the pop-up window requires the operating system to enable the browser pop-up window permission, which is enabled by default). For sensitive domain name requests with less than 10 requests, users can judge according to the correlation between the current site content and the warning domain name. For example, a small enterprise\u2019s official website may call the Baidu Shangqiao interface to realize the online customer service function, but generally it will not call the Huya live account interface or China Unicom one-click login hotspot traceability interface.\n\n### control\n\nThe three options in the upper right corner are pausing/starting the plugin, clearing all sniffing result sets, and setting options.\n\n> After the plug-in is suspended, the sniffing result sets of all pages will be cleared, and the monitoring of requests and responses will be turned off. Among the extended functions, only the WebRTC protection function will not be closed, and other functions will be suspended when the plug-in is suspended.\n\n### extensions\n\nExtended functionality is configured by the policy configuration page\n\n![image-20221017093032294](README.assets/image-20221017093032294.png)\n\n#### Passive identification configuration - enable response body rule matching\n\n- Recommended setting: Only enable this option for pages that require high attention (holes, targets) during the attack, and turn it off when it is used up\n\n> By default, passive sniffing only matches the URL, Request Header, Request Body, and Response Header of the request response, and only a small number of high-risk fingerprints are detected in the Response Body. After enabling this option, devtools will be enabled to call the chrome devtools protocol , to detect the fingerprint in the Response Body. However, after enabling this option, a debugging prompt bar will appear. If you need to close it, refer to Advanced-4\n\n#### Passive Identification Configuration -Turn off browser page caching (force refresh)\n\n- Recommended setting: This option is enabled by default\n\n> Some static resources (such as JS files) containing feature rules will be stored on disk after one call, reducing the traffic and bandwidth consumed by repeated loading. This will cause the recognition rule to not be triggered repeatedly when the page is refreshed repeatedly. After enabling this option, more complete feature recognition can be achieved, which can also prevent access exceptions caused by static resource files not being updated in time in some cases\n\n#### Honeypot interception configuration - automatic interception of requests that meet the characteristics of honeypots\n\n- Recommended settings: On during attacks, off for daily use\n\n> In order to ensure that some new Jsonp requests can be identified and blocked, the plug-in intercepts according to the requested domain name, which will cause access to some daily websites (CSDN, GitHub, etc.) to be blocked after this option is enabled, affecting daily access. Therefore, by default, the plugin will not intercept Jsonp requests suspected of being honeypots, and you need to manually enable the interception option. Daily website interception can also be suspended through the pause plugin button in the upper right corner, and restart the plugin after the visit is complete. But the more recommended way is to separate the daily use browser from the attack use browser, and specialize in dedicated\n\n#### Feature confrontation configuration - clear all browser persistent item data\n\n- Recommended setting: Clear data when browser features are tracked by cookies or other persistent means\n\n> Cleared browser persistent items include: website application cache (appcache), website resource cache, website cache storage, cookies, network file system, form data records, index database (indexDB), localStorage, password records, network SQL data ( webSQL)\n>\n> **WARNING**: Cleared data includes password records, i.e. records of your browser's password manager. If you use the browser's built-in password manager and Google account for password record and maintenance, clearing the browser's password manager record may cause the password synchronized by the Google account to be empty. Again, it is recommended to separate the attack host from the daily use host, and not to log in or save any private accounts on the attack host.\n\n#### Feature Confrontation Configuration - WebRTC Strict Policy Against IP Leakage\n\n- Recommended setting: manually enable this option after installation\n\n> Prevent real IP leakage by increasing the strictness of WebRTC policy. It is known that Chrome v104 (as of 2022.9.1) still has this vulnerability. This option can be turned on and recommended for daily use\n> Do not use this policy with other WebRTC protection plug-ins (such as WebRTC Control or WebRTC Leak Prevent) at the same time. The adjustment of WebRTC policies by each plug-in will interfere with each other, and API calls when suspending the use of other plug-ins will also affect the adjustment logic of Heimdallr.\n\n#### Feature confrontation configuration - Canves noise interference script injection\n\n- Recommended settings: On during attacks, off for daily use\n\n> Increase Canvas canvas noise to prevent feature locking by injecting content scripts into the current web page. After opening, all web pages will be loaded with additional content.js for the function hook operation of the canvas class\n\n\n\n## \ud83d\udd14 Advanced\n\n1. The identification object of the plug-in is based on the [tab page]. When the tab page changes [(domain name + port) or (IP + port)], the results will be cleared. When switching tabs, the results will be temporarily saved, and the corresponding results will be deleted when the tab or window is closed. .\n2. The plug-in only has passive traffic monitoring by default, and will not trigger firewall processing due to the identification of sensitive fingerprints.\n3. The plug-in identification result is the request content of the page and the page sub-frame. When some pages give an alarm [request body data is in json format] and [request header Content-Type is in application/json format], it may not be the request of the current document. It may be that the interface request of the related page loaded by the current document page matches the rule.\n4. Due to the security restrictions of the Google Chrome API and the historical problems of the Chrome kernel, the plug-in\u2019s inspection of the body of the response body is different from the inspection of other fingerprint locations. A debugging prompt will appear at the top of the browser page, and the response packet inspection function can be turned off through the plug-in settings. Or add the startup item avoidance prompt of Google Chrome (right-click the Chrome shortcut to open the properties, and add the startup parameter `--silent-debugger-extension-api` in the [Target] box of the shortcut bar).\n5. The purpose of the plug-in is to discover components or frameworks that cannot be identified directly. Do not add the features of components that can be directly identified to the fingerprint library (such as spark unauthorized pages). Adding meaningless identification processes will increase the identification burden.\n\n\n## \ud83c\udf87 Continue development\n\n#### Add Fingerprint\n\nIn actual combat, if you encounter meaningful high-risk fingerprint features or honeypot request features that are not in the interception list, you can open a new issue submission. The author will add the fingerprint to the new version as soon as possible after verifying the availability.\n\n#### Secondary development\n\nVue3 front-end module\n\n```\ncd Vue_popup\\heimdallr_v3\nnpm install\nnpm run build:watch\nvim src\\App.vue\n```\n\nchrome plugin module\n\n```\ncd .\\Heimdallr\\\n```\n\nfingerprint module\n\n```\ncd .\\Heimdallr\\resource\\data\nvim-data.js\n```\n\n## \u2b50404 Starlink Project\n\n![image-20221017093032294](README.assets/404logo.png)\n\n**Heimdallr** has now joined [404 Starlink Project](https://github.com/knownsec/404StarLink)\n\n## \u2728Project Star Trend\n\n[![Stargazers over time](https://starchart.cc/graynjo/Heimdallr.svg)](https://starchart.cc/graynjo/Heimdallr)\n\n\n## \ud83c\udf8aThanks\n\nhttps://github.com/iiiusky/AntiHoneypot-Chrome-simple\n\nhttps://github.com/cnrstar/anti-honeypot\n\nhttps://github.com/Monyer/antiHoneyPot\n\nhttps://github.com/fuckjsonp/FuckJsonp-RCE-CVE-2022-26809-SQL-XSS-FuckJsonp\n\nhttps://github.com/aghorler/WebRTC-Leak-Prevent\n\nhttps://github.com/NS-Sp4ce/MoAn_Honey_Pot_Urls\n\nhttps://github.com/EdgeSecurityTeam/EHole\n\nhttps://mybrowseraddon.com/canvas-defender.html\n\nhttps://github.com/fuckhoneypot/fuckhoneypot\n\n## \ud83d\udca1 License\n\nReleased under the GPL V2 agreement, see LICENSE for details", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "hatnote/listen-to-wikipedia", "link": "https://github.com/hatnote/listen-to-wikipedia", "tags": ["sonification", "visualization", "wikipedia", "data", "sound"], "stars": 766, "description": "Live, generative music from Wikipedia edits", "lang": "JavaScript", "repo_lang": "", "readme": "# Listen to Wikipedia\n\nReal-time visualization and sonification of Wikipedia activity.\n\n## About\n\nBuilt by [Stephen LaPorte](https://twitter.com/sklaporte) and [Mahmoud Hashemi](https://twitter.com/mhashemi).\n\nListen to Wikipedia is inspired by Maximillian Laumeister's [BitListen](http://www.bitlisten.com/).\n\nWe fixed up some of the sounds using\n[Sound eXchange](http://sox.sourceforge.net/Docs/Documentation), which\nis some cool software.\n", "readme_type": "markdown", "hn_comments": "Nothing better than a website that starts playing sound as soon as you open it! \n Website \u2022\n Docs \u2022\n Demo \u2022\n Official Subscription\n \n Your current screen class is \n Paragraph visible on extra small and small. Paragraph hidden on extra small and small. Paragraph visible on medium and large. Paragraph hidden on medium and large. \n Screen class: {screenClass}\n \n Screen class: {screenClass}\n \n Screen class: {screenClass}\n enhancement
\nLearn more \u00bb\n
\n\n\t\n\t\t
\n\n# Storing complex objects\nWhile the library is meant for storing fundamental types (strings, numbers, bools), it is possible to store object literals and arrays as column values, with certain caveats. Some comparison queries, distinct etc. may not work. In addition, if you retrieve a stored array in a query result and modify its values in place, these changes will persist throughout further queries until the page is refreshed. This is because localStorageDB loads and unserializes data and keeps it in memory in a global pool until the page is refreshed, and arrays and objects returned in results are passed by reference.\n\nIf you really need to store arrays and objects, you should implement a deep-copy function through which you pass the results before manipulation.\n", "readme_type": "markdown", "hn_comments": "How does this compare with TaffyDB?\n\t\t\t \n\t\n\t\n\t\tMethod \n\t\t\tArguments \n\t\t\tDescription \n\t\t\n\t\t\t \n\t\tlocalStorageDB() \n\t\t\tdatabase_name, storage_engine \n\t\t\tConstructor \n\t\t
\n\t\t\t\t- storage_engine can either be localStorage (default) or sessionStorage\n\t\t\t\n\t\t\t \n\t\tisNew() \n\t\t\t\n\t\t\t Returns true if a database was created at the time of initialisation with the constructor \n\t\t\n\t\t\t \n\t\tdrop() \n\t\t\t\n\t\t\t Deletes a database, and purges it from localStorage \n\t\t\n\t\t\t \n\t\ttableCount() \n\t\t\t\n\t\t\t Returns the number of tables in a database \n\t\t\n\t\t\t \n\t\tcommit() \n\t\t\t\n\t\t\t Commits the database to localStorage. Returns true if successful, and false otherwise (highly unlikely) \n\t\t\n\t\t\t \n\t\tserialize() \n\t\t\t\n\t\t\t Returns the entire database as serialized JSON \n\t\t\n\t\t\t \n\t\ttableExists() \n\t\t\ttable_name \n\t\t\tChecks whether a table exists in the database \n\t\t\n\t\t\t \n\t\ttableFields() \n\t\t\ttable_name \n\t\t\tReturns the list of fields of a table \n\t\t\n\t\t\t \n\t\tcreateTable() \n\t\t\ttable_name, fields \n\t\t\tCreates a table \n\t\t
\n\t\t\t\t- fields is an array of string fieldnames. 'ID' is a reserved fieldname.\n\t\t\t\n\t\t\t \n\t\tcreateTableWithData() \n\t\t\ttable_name, rows \n\t\t\tCreates a table and populates it \n\t\t
\n\t\t\t\t- rows is an array of object literals where each object represents a record
\n\t\t\t\t[{field1: val, field2: val}, {field1: val, field2: val}]\n\t\t\t\n\t\t\t \n\t\talterTable() \n\t\t\ttable_name, new_fields, default_values \n\t\t\tAlter a table \n\t\t
\n\t\t\t\t- new_fields can be a array of columns OR a string of single column.
\n\t\t\t\t- default_values (optional) can be a object of column's default values OR a default value string for single column for existing rows.\n\t\t\t\n\t\t\t \n\t\tdropTable() \n\t\t\ttable_name \n\t\t\tDeletes a table from the database \n\t\t\n\t\t\t \n\t\ttruncate() \n\t\t\ttable_name \n\t\t\tEmpties all records in a table and resets the internal auto increment ID to 0 \n\t\t\n\t\t\t \n\t\tcolumnExists() \n\t\t\ttable_name, field_name \n\t\t\tChecks whether a column exists in database table. \n\t\t\n\t\t\t \n\t\trowCount() \n\t\t\ttable_name \n\t\t\tReturns the number of rows in a table \n\t\t\n\t\t\t \n \tinsert() \n\t\t\ttable_name, data \n\t\t\tInserts a row into a table and returns its numerical ID \n\t\t
\n\t\t\t\t- data is an object literal with field-values
\n\t\t\t\tEvery row is assigned an auto-incremented numerical ID automatically\n\t\t\t\n\t\t\t \n query() DEPRECATED \n\t\t\ttable_name, query, limit, start, sort \n\t\t\t\n\t\t \n\t\t\t \n\t\tqueryAll() \n\t\t\ttable_name, params{} \n\t\t\t\n\t\t\t\tReturns an array of rows (object literals) from a table matching the query. \n\t\t
\n\t\t\t\t- query is either an object literal or null. If query is not supplied, all rows are returned
\n\t\t\t\t- limit is the maximum number of rows to be returned
\n \t\t\t- start is the number of rows to be skipped from the beginning (offset)
\n \t\t\t- sort is an array of sort conditions, each one of which is an array in itself with two values
\n \t\t\t- distinct is an array of fields whose values have to be unique in the returned rows
\n\t\t\t\tEvery returned row will have it's internal auto-incremented id assigned to the variable ID\n\t\t\t \n\t\t\tupdate() \n\t\t\ttable_name, query, update_function \n\t\t\tUpdates existing records in a table matching query, and returns the number of rows affected \n\t\t
\n\t\t\t\t- query is an object literal or a function. If query is not supplied, all rows are updated
\n\t\t\t\t- update_function is a function that returns an object literal with the updated values\n\t\t\t\n\t\t\t\t \n\t\tinsertOrUpdate() \n\t\t\t\ttable_name, query, data \n\t\t\t\tInserts a row into a table if the given query matches no results, or updates the rows matching the query. \n\t\t\t
\n\t\t\t\t\t- query is either an object literal, function, or null.
\n\t\t\t\t\t- data is an object literal with field-values\n\t\t\t\t\t
\n\t\t\t\t\tReturns the numerical ID if a new row was inserted, or an array of IDs if rows were updated\n\t\t\t\t\n\t\t\t \n\t\ndeleteRows() \n\t\t\ttable_name, query \n\t\t\tDeletes rows from a table matching query, and returns the number of rows deleted \n\t\t
\n\t\t\t\t- query is either an object literal or a function. If query is not supplied, all rows are deleted\n\t\t\t
This work is licensed under a Creative Commons Attribution 4.0 International License.\n", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "wmzsoft/JXADF", "link": "https://github.com/wmzsoft/JXADF", "tags": [], "stars": 765, "description": "OSGi\u63d2\u4ef6\u5316\u5feb\u901f\u5f00\u53d1\u5e73\u53f0JXADF\uff0c\u57fa\u7840\u5e73\u53f0\u5168\u90e8\u5f00\u6e90\u3001\u514d\u8d39\uff08\u5546\u4e1a\u53cb\u597d\u534f\u8baeMIT\uff09\u3002All the basic platform open source, free \uff08MIT\uff09", "lang": "JavaScript", "repo_lang": "", "readme": "\ufeff![JXADF](doc/images/logo.png)\n\nPluggable (OSGi) open source rapid development platform JXADF Features:\n\nGetting Started\n\nOpen Source (:100:), Free (:free:)\n\n:one:, based on OSGi, J2EE\n\n:two: There are a lot of plug-ins in the plug-in market http://osgia.com/jxweb/pluginstore/index.action.\n\n:three:, front-end code (interface, CSS, JS, pictures, etc.), back-end code (JAVA business logic, SQL script [only need to provide a database script, it will be automatically converted according to the database type during installation]) are all packaged in In a Bundle (JAR), it is very convenient to distribute, test, accumulate, and deploy.\n\n:four:, supports hot deployment, distributed, multiple databases (Oracle\\MySQL\\MS SQLServer), skinning, internationalization, etc.\n\n:five:, supports a variety of workflow engines, including: the workflow engine developed by Jianxin Technology itself, Activiti, Oracle BPM, and can integrate its own workflow engine as needed.\n\n:six:, desktop and mobile self-adaptive, adopt template technology, develop once, resolve to desktop, mobile phone, tablet front-end interface.\n\n:seven:, low learning cost, high efficiency.\n\n:eight:, there are rich documents, see: http://wiki.osgi.help/display/JXADF/Home\n\n:nine:, Demo URL: http://demo.osgi.help Username: admin Password: 123456\n\n![http://osgi.hep](doc/images/osgi.help.png)\n\n------------------------------------\nOfficial website: house_with_garden:: http://osgia.com\n\nQQ group 1: 429895245 (:u6e80:) QQ group 2: 371832126 (:mens:)\n\nIf you like it, please add a star :star:,\n\nIf you have any suggestions, please add QQ to tell us,\n\nIf you don't like it, please let us know so we can improve it.\n\n-----------------------------------------------\nversion history\n========\n2016.06 Version 2.0, officially released, supports distributed deployment\n\n2015.06 Version 1.0, officially open source\n\n2014.10 Version 0.7, support plug-in development\n\n2014.01 Version 0.5, complete basic functions\n\n2013.08 Version 0.2, complete the basic functions\n\n2013.03 version 0.1, create this platform\n\n-------------------------------------------------- -\nplugin console\n======\n![Plugin Console](doc/images/console.png)\n\nworkflow\n=======\n![Workflow Drawing](doc/images/wf01.png)\n![Workflow History](doc/images/wf02.png)\n\nWorkflow more http://wiki.osgi.help/pages/viewpage.action?pageId=22054753\n\nMobile Adaptive Effects\n=======\n![Mobile adaptive access screenshot](doc/images/jxadf-mobile.demo.gif)\n\nThe compiled execution program can be found in the deploy directory\n\n\ndonate\n==========\nThe basic platform is all open source and free (commercial friendly agreement MIT)\n\nIt is very hard to develop an open source platform, so let\u2019s give the developer a little compensation, 1 yuan or 2 yuan is fine, and a like in the upper left corner is also fine, thank you for your support.\n\n![Donation](doc/images/donation.png)", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "eddyerburgh/avoriaz", "link": "https://github.com/eddyerburgh/avoriaz", "tags": ["vuejs", "vuejs2", "testing", "testing-tools", "test-driven-development", "tests", "vue-testing", "vue-testing-tools", "vuesjs2-testing", "vue-test-utils", "vue-testing-utilities", "vue-test-utilities", "vue", "vue-test", "avoriaz", "vue-testing-framework"], "stars": 765, "description": "\ud83d\udd2c a Vue.js testing utility library", "lang": "JavaScript", "repo_lang": "", "readme": "# avoriaz [![Build Status](https://travis-ci.org/eddyerburgh/avoriaz.svg?branch=master)](https://travis-ci.org/eddyerburgh/avoriaz)\n\n\n> a Vue.js testing utility library\n\n## Deprecation\n\nThis library will be deprecated once [vue-test-utils](https://github.com/vuejs/vue-test-utils) is released.\n\n## Installation\n\n```\nnpm install --save-dev avoriaz\n```\n\n## Documentation\n\n[Visit the docs](https://eddyerburgh.gitbooks.io/avoriaz/content/)\n\n## Examples\n\n- [Example using karma and mocha](https://github.com/eddyerburgh/avoriaz-karma-mocha-example)\n- [Example using karma and jasmine](https://github.com/eddyerburgh/avoriaz-karma-jasmine-example)\n- [Example using Jest](https://github.com/eddyerburgh/avoriaz-jest-example)\n- [Example using mocha-webpack](https://github.com/eddyerburgh/avoriaz-mocha-example)\n- [Example using tape](https://github.com/eddyerburgh/avoriaz-tape-example)\n- [Example using ava](https://github.com/eddyerburgh/avoriaz-ava-example)\n\n##### Assert wrapper contains a child\n```js\nimport { mount } from 'avoriaz'\nimport Foo from './Foo.vue'\n\nconst wrapper = mount(Foo)\nexpect(wrapper.contains('.bar')).to.equal(true)\n```\n\n##### Shallow render components\n```js\nimport { shallow } from 'avoriaz'\nimport Foo from './Foo.vue'\nimport Bar from './Bar.vue'\n\nconst wrapper = shallow(Foo)\nexpect(wrapper.contains(Bar)).to.equal(true)\n```\n\n##### Assert style is rendered\n```js\nconst button = wrapper.find('div > button .button-child')[0]\nexpect(button.hasStyle('color', 'red')).to.equal(true)\n```\n\n##### Assert method is called when DOM event is triggered\n```js\nconst clickHandler = sinon.stub()\nconst wrapper = mount(Foo, {\n propsData: { clickHandler }\n})\nwrapper.find('div .bar')[0].trigger('click')\nexpect(clickHandler.called).to.equal(true)\n```\n\n##### Assert wrapper contains text\n```js\nconst title = wrapper.find('h1.title')[0]\nexpect(title.text()).to.equal('some text')\n```\n\n##### Inject globals\n```js\nconst $route = { path: 'http://www.example-path.com' }\nconst wrapper = mount(Foo, { \n globals: {\n $route\n }\n})\nexpect(wrapper.vm.$route.path).to.equal($route.path)\n```\n\n##### Inject slots\n```js\nconst wrapper = mount(Foo, { \n slots: {\n default: Foo\n }\n})\n```\n\n##### Set data\n```js\nwrapper.setData({\n someData: 'some data'\n})\n\nexpect(wrapper.vm.someData).to.equal('some data')\n```\n\n##### Update props\n```js\nwrapper.setProps({\n someProp: 'some prop',\n anotherProp: 'another prop'\n})\n```\n\nFor more examples, [see the docs](https://eddyerburgh.gitbooks.io/avoriaz/content/)\n", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "mapbox/mapbox-gl-draw", "link": "https://github.com/mapbox/mapbox-gl-draw", "tags": ["mapbox-gl", "javascript", "drawing", "mapbox-gl-js"], "stars": 765, "description": "Draw tools for mapbox-gl-js", "lang": "JavaScript", "repo_lang": "", "readme": "# @mapbox/mapbox-gl-draw\n\n[![Build Status](https://travis-ci.org/mapbox/mapbox-gl-draw.svg?branch=main)](https://travis-ci.org/mapbox/mapbox-gl-draw)\n\nAdds support for drawing and editing features on [mapbox-gl.js](https://www.mapbox.com/mapbox-gl-js/) maps. [See a live example here](https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/)\n\n**Requires [mapbox-gl-js](https://github.com/mapbox/mapbox-gl-js).**\n\n### Installing\n\n```\nnpm install @mapbox/mapbox-gl-draw\n```\n\nDraw ships with CSS, make sure you include it in your build.\n\n### Usage in your application\n\n#### JavaScript\n\n**When using modules**\n\n```js\nimport mapboxgl from 'mapbox-gl';\nimport MapboxDraw from \"@mapbox/mapbox-gl-draw\";\n```\n\n**When using a CDN**\n\n```html\n\n```\n\n#### CSS\n\n**When using modules**\n ```js\nimport '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css'\n ```\n\n**When using CDN**\n```html\n\n```\n\n### Typescript\n\nTypescript definition files are available as part of the [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-draw) package.\n\n```\nnpm install @types/mapbox__mapbox-gl-draw\n```\n\n### Example usage\n\n```js\nmapboxgl.accessToken = 'YOUR_ACCESS_TOKEN';\n\nvar map = new mapboxgl.Map({\n container: 'map',\n style: 'mapbox://styles/mapbox/streets-v12',\n center: [40, -74.50],\n zoom: 9\n});\n\nvar Draw = new MapboxDraw();\n\n// Map#addControl takes an optional second argument to set the position of the control.\n// If no position is specified the control defaults to `top-right`. See the docs\n// for more details: https://docs.mapbox.com/mapbox-gl-js/api/#map#addcontrol\n\nmap.addControl(Draw, 'top-left');\n\nmap.on('load', function() {\n // ALL YOUR APPLICATION CODE\n});\n```\n\nhttps://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/\n\n### See [API.md](https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/API.md) for complete reference.\n\n### Enhancements and New Interactions\n\nFor additional functionality [check out our list of custom modes](https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/MODES.md#available-custom-modes).\n\nMapbox Draw accepts functionality changes after the functionality has been proven out via a [custom mode](https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/MODES.md#creating-modes-for-mapbox-draw). This lets users experiment and validate their mode before entering a review process, hopefully promoting innovation. When you write a custom mode, please open a PR adding it to our [list of custom modes](https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/MODES.md#available-custom-modes).\n\n### Developing and testing\n\nInstall dependencies, build the source files and crank up a server via:\n\n```\ngit clone git@github.com:mapbox/mapbox-gl-draw.git\nyarn install\nyarn start & open \"http://localhost:9967/debug/?access_token=
\n\n\u6216\uff0c\u5feb\u901f\u4f53\u9a8c\n\n> \u5c06\u300c`javascript:void((function(){var d=document;var s=d.createElement('script');s.src='https://cdn.rawgit.com/binux/ThunderLixianExporter/master/ThunderLixianExporter.user.js';s.id='TLE_script';d.body.appendChild(s)})())`\u300d\u4fdd\u5b58\u5728\u4e66\u7b7e\u680f\u4e2d\u3002\n> \n> \u5728lixian.xunlei.com\u9875\u9762**\u70b9\u51fb\u4e66\u7b7e**\uff0c\u5f00\u59cb\u4f7f\u7528\u5427\uff01
\n\n\n* \u60a8\u53ef\u4ee5\u539f\u751f\u754c\u9762\u7684\u300c\u53d6\u56de\u672c\u5730\u300d\u540e\u65b9\u627e\u5230\u300c\u6279\u91cf\u5bfc\u51fa\u300d\u6309\u94ae\n* \u5728\u53f3\u4e0a\u89d2\u8bbe\u7f6e\u4e2d\u627e\u5230\u300c\u8bbe\u7f6e\u9009\u9879\u300d\u3002\n\nLicense\n-------\nThunderLixianExporter is licensed under GNU Lesser General Public License.\nYou may get a copy of the GNU Lesser General Public License from http://www.gnu.org/licenses/lgpl.txt\n", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "eugeneware/ffmpeg-static", "link": "https://github.com/eugeneware/ffmpeg-static", "tags": [], "stars": 764, "description": "ffmpeg static binaries for Mac OSX and Linux and Windows", "lang": "JavaScript", "repo_lang": "", "readme": "# ffmpeg-static\n\n**[ffmpeg](https://ffmpeg.org) static binaries for Mac OSX, Linux, Windows.**\n\nSupports macOS (64-bit and arm64), Linux (32 and 64-bit, armhf, arm64), Windows (32 and 64-bit). [The ffmpeg version currently used is `5.0.1`.](https://github.com/eugeneware/ffmpeg-static/releases/tag/b5.0.1)\n\n[![npm version](https://img.shields.io/npm/v/ffmpeg-static.svg)](https://www.npmjs.com/package/ffmpeg-static)\n![minimum Node.js version](https://img.shields.io/node/v/ffmpeg-static.svg)\n\n*Note:* The version of `ffmpeg-static` follows [SemVer](http://semver.org). When releasing new versions, **we do *not* consider breaking changes in `ffmpeg` itself**, but only the JS interface (see below). For example, `ffmpeg-static@4.5.0` might download ffmpeg `5.0`. To prevent an `ffmpeg-static` upgrade downloading backwards-incompatible ffmpeg versions, [use a strict version range](https://docs.npmjs.com/files/package.json#dependencies) for it or use a [lockfile](https://docs.npmjs.com/files/package-lock.json).\n\nAlso check out [`node-ffmpeg-installer`](https://github.com/kribblo/node-ffmpeg-installer)!\n\n## Installation\n\nThis module is installed via npm:\n\n``` bash\n$ npm install ffmpeg-static\n```\n\n*Note:* During installation, it will download the appropriate `ffmpeg` binary from the [`b5.0.1` GitHub release](https://github.com/eugeneware/ffmpeg-static/releases/tag/b5.0.1). Use and distribution of the binary releases of FFmpeg are covered by their respective license.\n\n### Custom binaries url\n\nBy default, the `ffmpeg` binary will get downloaded from `https://github.com/eugeneware/ffmpeg-static/releases/download`. To customise this, e.g. when using a mirror, set the `FFMPEG_BINARIES_URL` environment variable.\n\n```shell\nexport FFMPEG_BINARIES_URL=https://cdn.npmmirror.com/binaries/ffmpeg-static\nnpm install ffmpeg-static\n```\n\n### Electron & other cross-platform packaging tools\n\nBecause `ffmpeg-static` will download a binary specific to the OS/platform, you need to purge `node_modules` before (re-)packaging your app *for a different OS/platform* ([read more in #35](https://github.com/eugeneware/ffmpeg-static/issues/35#issuecomment-630225392)).\n\n## Example Usage\n\nReturns the path of a statically linked ffmpeg binary on the local filesystem.\n\n``` js\nvar pathToFfmpeg = require('ffmpeg-static');\nconsole.log(pathToFfmpeg);\n```\n\n```\n/Users/j/playground/node_modules/ffmpeg-static/ffmpeg\n```\n\nCheck the [example script](example.js) for a more thorough example.\n\n## Sources of the binaries\n\n[The build script](build/index.sh) downloads binaries from these locations:\n\n- [Windows x64 builds](https://www.gyan.dev/ffmpeg/builds/)\n- [Windows x86 builds](https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/)\n- [Linux x64/x86/ARM/ARM64 builds](https://johnvansickle.com/ffmpeg/)\n- macOS [x64 (Intel)](https://evermeet.cx/pub/ffmpeg/) & [ARM64 (Apple Silicon)](https://osxexperts.net/) builds\n\nThe build script extracts build information and (when possible) the license file from the downloaded package or the distribution server. Please consult the individual build's project site for exact source versions, which you can locate based on the version information included in the README file.\n\n## Show your support\n\nThis npm package includes statically linked binaries that are produced by the following individuals. Please consider supporting and donating to them who have been providing quality binary builds for many years:\n\n- **Linux builds**: [John Van Sickle](https://www.johnvansickle.com/ffmpeg/)\n- **macOS builds**: [Helmut K. C. Tessarek](https://evermeet.cx/ffmpeg/#donations)\n\n## Building the project\n\nThe `unzip`, `tar` CLI executables need to be installed. On macOS, use `brew install gnu-tar xz`.\n", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "shime/livedown", "link": "https://github.com/shime/livedown", "tags": ["markdown", "preview", "javascript", "livedown"], "stars": 763, "description": "Live Markdown previews for your favorite editor.", "lang": "JavaScript", "repo_lang": "", "readme": "# Livedown\n\n![](https://twobucks.co/assets/livedown.gif)\n\n[![Build Status](https://travis-ci.org/shime/livedown.svg)](https://travis-ci.org/shime/livedown)\n[![Downloads](https://img.shields.io/npm/dt/livedown.svg)](https://npmjs.org/package/livedown)\n\nLive markdown previews for your favorite editor.\n\n* [Vim plugin](https://github.com/shime/vim-livedown)\n* [Emacs plugin](https://github.com/shime/emacs-livedown)\n* [Sublime plugin](https://github.com/shime/sublime-livedown)\n* [Kakoune plugin](https://github.com/Delapouite/kakoune-livedown)\n\n## Features\n\n* Emojis :sparkles: :smile: :tada:\n* GitHub flavored clickable headings/permalinks\n* GitHub flavored checkboxes\n* Real-time instant preview\n\nAnd more!\n\n## Installation\n\n $ npm install -g livedown\n\n## Usage\n\n $ livedown --help\n\n## Alternatives\n\n* [vim-instant-markdown](https://github.com/suan/vim-instant-markdown)\n* [octodown](https://github.com/ianks/octodown)\n* [vmd](https://github.com/yoshuawuyts/vmd)\n* [markdown-preview](https://github.com/yuanchuan/markdown-preview)\n* [grip](https://github.com/joeyespo/grip)\n* [gfms](https://github.com/youurayy/gfms)\n\n## License\n\nMIT\n", "readme_type": "markdown", "hn_comments": "I thought it would be realtime like http://tmpvar.com/markdown.html (although you miss all your text editor features).This plugin acts as a browser reloader, like the ones you find for HTML/CSS, which is already helpful in itself.\n \n
\n\n\\* A Tweet can be up to 280 Unicode characters, give or take Twitter's complex \"weighting\" calculation.\n \n Encoding \n Efficiency \n Bytes per Tweet * \n \n \n \n \n UTF‑8 \n UTF‑16 \n UTF‑32 \n \n \n ASCII‑constrained \n Unary / Base1 \n 0% \n 0% \n 0% \n 1 \n \n \n Binary \n 13% \n 6% \n 3% \n 35 \n \n \n Hexadecimal \n 50% \n 25% \n 13% \n 140 \n \n \n Base64 \n 75% \n 38% \n 19% \n 210 \n \n \n Base85 \u2020 \n 80% \n 40% \n 20% \n 224 \n \n \n BMP‑constrained \n HexagramEncode \n 25% \n 38% \n 19% \n 105 \n \n \n BrailleEncode \n 33% \n 50% \n 25% \n 140 \n \n \n Base2048 \n 56% \n 69% \n 34% \n 385 \n \n \n Base32768 \n 63% \n 94% \n 47% \n 263 \n \n \n Full Unicode \n Ecoji \n 31% \n 31% \n 31% \n 175 \n \n \n Base65536 \n 56% \n 64% \n 50% \n 280 \n \n \n \nBase131072 \u2021 \n 53%+ \n 53%+ \n 53% \n 297 \n
\n\u2020 Base85 is listed for completeness but all variants use characters which are considered hazardous for general use in text: escape characters, brackets, punctuation *etc.*.
\n\u2021 Base131072 is a work in progress, not yet ready for general use.
\n\n## Installation\n\n```bash\nnpm install base2048\n```\n\n## Usage\n\n```js\nimport { encode, decode } from 'base2048'\n\nconst uint8Array = new Uint8Array([1, 2, 4, 8, 16, 32, 64, 128])\nconst str = encode(uint8Array)\nconsole.log(str) // 'G\u01b8O\u029ce\u04a9'\n\nconst uint8Array2 = decode(str)\nconsole.log(uint8Array2)\n// [1, 2, 4, 8, 16, 32, 64, 128]\n```\n\n## API\n\n`base2048` accepts and returns `Uint8Array`s. Note that every Node.js `Buffer` is a `Uint8Array`. A `Uint8Array` can be converted to a Node.js `Buffer` like so:\n\n```js\nconst buffer = Buffer.from(uint8Array.buffer, uint8Array.byteOffset, uint8Array.byteLength)\n```\n\n### encode(uint8Array)\n\nEncodes a [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) and returns a Base2048 `String` suitable for passing through Twitter. Give or take some padding characters, the output string has 1 character per 11 bits of input.\n\n### decode(string)\n\nDecodes a Base2048 `String` and returns a `Uint8Array` containing the original binary data.\n\n## Rationale\n\nOriginally, Twitter allowed Tweets to be at most 140 characters. Discounting URLs, which have their own complex rules, Tweet length was computed as the number of Unicode code points in the Tweet \u2014 *not* the number of octets in any particular encoding of that Unicode string. In 2015, observing that most existing text-based encodings made negligible use of most of the Unicode code point space (e.g. Base64 encodes only 6 bits per character = 105 octets per Tweet), I developed [Base65536](https://github.com/qntm/base65536), which encodes 16 bits per character = 280 octets per Tweet.\n\nOn 26 September 2017, Twitter announced that\n\n> we're going to try out a longer limit, 280 characters, in languages impacted by cramming (which is all except Japanese, Chinese, and Korean).\n\nThis statement is fairly light on usable details and/or factual accuracy. However, following some experimentation and examination of the new web client code, we now understand that maximum Tweet length is indeed 280 Unicode code points, *except that code points U+1100 HANGUL CHOSEONG KIYEOK upwards now count double*.\n\nEffectively, Twitter divides Unicode into 4,352 \"light\" code points (U+0000 to U+10FF inclusive) and 1,109,760 \"heavy\" code points (U+1100 to U+10FFFF inclusive).\n\nBase65536 *solely* uses heavy characters, which means that a new \"long\" Tweet can still only contain at most 140 characters of Base65536, encoding 280 octets. This seemed like an imperfect state of affairs to me, and so here we are.\n\nBase2048 solely uses light characters, which means a new \"long\" Tweet can contain at most 280 characters of Base2048. Base2048 is an 11-bit encoding, so those 280 characters encode 3080 bits i.e. 385 octets of data, significantly better than Base65536.\n\n### Note\n\nAt the time of writing, the sophisticated weighted-code point check is only carried out client-side. Server-side, the check is still a simple code point length check, now capped at 280 code points. So, by circumventing the client-side check, it's possible to send 280 characters of Base65536 i.e. 560 bytes of data in a single Tweet.\n\nBase2048 was developed under the assumption that most people will not go to the trouble of circumventing the client-side check and/or that eventually the check will be implemented server-side as well.\n\n## Code point safety\n\nBase2048 uses only [\"safe\" Unicode code points](https://qntm.org/safe) (no unassigned code points, no control characters, no whitespace, no combining diacritics, ...). This guarantees that the data sent will remain intact when sent through any \"Unicode-clean\" text interface.\n\nIn the available space of 4,352 light code points, there are 2,343 safe code points. For Base2048, since I felt it improved the character repertoire, I further ruled out the four \"Symbol\" General Categories, leaving 2,212 safe code points, and the \"Letter, Modifier\" General Category, leaving 2,176 safe code points. From these I chose 211 = 2048 code points for the primary repertoire and 23 = 8 additional code points to use as padding characters.\n\n## License\n\nMIT\n", "readme_type": "markdown", "hn_comments": "I don't think Base-N names should be given to encodings that haven't been IETF standardized. This could lead to incompatible encodings with the same name.
`. This might lead to some flickering of the filter effects during loading. If you can't live with the short flickering, put the scripts in the `
` of the page. Then it'll be gone, but your page will load slower. You decide.\n\n## Usage\n\n### Declarative assignment\n\nThis polyfill supports filter declarations in embedded (`\n```\n\n### Customize the kanban blocks\nEach block has a named slot which can be extended from the parent, like so...\n```html\n{{ stage }}
\n
\n\n4\u3001\u8fd0\u884c\n\n\u6267\u884c `weex run android` \u8fd0\u884candroid\u3002\n\n\u6267\u884c `weex run ios` \u8fd0\u884cios\u3002\n\n\u6267\u884c `npm run serve` \u8fd0\u884cweb\uff08\u76ee\u524d\u672a\u8be6\u7ec6\u9002\u914d\uff09\u3002\uff08\u63a8\u8350chrome\uff0c\u8c03\u8bd5\u6a21\u5f0f\u4e0b\u624b\u673a\u6a21\u5f0f\uff09\n\n\n## \u4e0b\u8f7d\n\n### [Apk\u4e0b\u8f7d\u94fe\u63a5](https://www.pgyer.com/K5kU)\n\n### Apk\u4e8c\u7ef4\u7801\n\n\n\n\n## \u793a\u4f8b\u56fe\u7247\n\n\n\n\n\n\n\n## \u7b2c\u4e09\u65b9\u6846\u67b6\n\n* [vue-router](https://github.com/vuejs/vue-router)\n* [vuex](https://github.com/vuejs/vuex)\n* [highlight.js](https://github.com/isagalaev/highlight.js)\n* [weex-ui](https://github.com/alibaba/weex-ui)\n* [node-sass](https://github.com/sass/node-sass)\n* [url-parse url\u89e3\u6790](https://github.com/unshiftio/url-parse)\n\n## \u5e38\u89c1\u95ee\u9898\ud83d\udc47\n\n### [****** \u70b9\u6211\u4f20\u9001 ******](https://github.com/CarGuo/GSYGithubAppWeex/blob/master/question.md)\n\n\n\n## LICENSE\n```\nCarGuo/GSYGithubAPPWeex is licensed under the\nApache License 2.0\n\nA permissive license whose main conditions require preservation of copyright and license notices.\nContributors provide an express grant of patent rights.\nLicensed works, modifications, and larger works may be distributed under different terms and without source code.\n```\n", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "HashNuke/mogo-chat", "link": "https://github.com/HashNuke/mogo-chat", "tags": [], "stars": 742, "description": "Beautiful team chat app written in Elixir & Ember.js", "lang": "JavaScript", "repo_lang": "", "readme": "# MogoChat - team chat app\n\n#### 3-minute Heroku install. [Just copy-paste a command](https://github.com/HashNuke/mogo-chat/blob/master/docs/install-heroku.md)\n\n![screenshot](https://github.com/HashNuke/mogo-chat/raw/master/screenshot.png \"Screenshot\")\n\n### Features\n\n* **Works on mobile devices ~!**\n* Easy to install\n* Multiple rooms\n* Sound notifications\n* Code snippets\n* /me status messages\n* Comes with an API ([docs](https://github.com/HashNuke/mogo-chat/blob/master/docs/api.md))\n\nWritten using [Elixir](http://elixir-lang.org), [Phoenix Framework](https://github.com/phoenixframework/phoenix), [Ember.js](http://emberjs.com), [CoffeeScript](http://coffeescript.org) and [PostgreSQL](http://postgresql.org)\n\nInstall instructions for more platforms will come soon.\n\n### Credits\n\nAkash Manohar J © 2014, under the MIT License. See LICENSE file for details.\n\n##### Artwork\n\n* Users icon designed by Mike Finch -
\n\nSee [this discussion](https://github.com/JasonEtco/todo/discussions/293) for details on why!\n\n---\n\n
\n \n
\n
A GitHub App built with Probot that creates new issues based on actionable comments in your code.
\n
\n
\n\n\n## Usage\n\nUsing **todo** should be really simple. Once you've installed it in your repository, simply push some code (to your default branch, a PR; doesn't matter). If the code you pushed includes one of the configured keywords (defaults are `@todo` and `TODO`), then the integration will create a new issue for you using the comment your wrote in your code!\n\nIf I pushed this:\n\n```js\n/**\n * @todo Take over the world\n * @body Humans are weak; Robots are strong. We must cleanse the world of the virus that is humanity.\n */\nfunction ruleOverPunyHumans () {\n // We must strategize beep boop\n}\n```\n\n**todo** would create a new issue:\n\n![todo](https://user-images.githubusercontent.com/10660468/31048765-83569c30-a5f2-11e7-933a-a119d43ad029.png)\n\n**Note:** While the above example is in Javascript, **todo** has been tested in JS, Go, C, C#, Ruby, Bash and Python, and should work in any language.\n\n## Behaviour in pull requests\n\nTo reduce noise and keep your **todo** notes in the right context, **todo** comments made in commits that are part of a pull request will be converted into comments on that pull request. When the PR is merged, **todo** will determine which of those **todo**s have yet to be resolved and open an appropriate issue. \n\n## Configuring for your project\n\nThere are a couple of configuration options in case you need to change the default behaviour.\n\n**Note**: Adding a configuration file is **completely optional**. The defaults are likely fine for most projects, so you might not need to change them.\n\nAdd a **todo** object in your `.github/config.yml` file (and make the file if you don't already have it) like this:\n\n```yml\ntodo:\n keyword: \"@makeAnIssue\"\n\n```\n\n### Available options\n\n\n| Name | Type | Description | Default |\n|------|------|-------------|---------|\n| `autoAssign` | `boolean, string[], string` | Should **todo** automatically assign a user to the new issue? If `true`, it'll assign whoever pushed the code. If a string, it'll assign that user by username. You can also give it an array of usernames or `false` to not assign anyone. | `true` |\n| `keyword` | `string[]` | The keyword(s) to use to generate issue titles | `['@todo','TODO']` |\n| `bodyKeyword` | `string[]` | If this is in the line right after the main keyword, it will become the generated issue body. | `['@body','BODY']` |\n| `blobLines` | `number, boolean` | The number of lines of code to show, starting from the keyword. | `5` |\n| `caseSensitive` | `boolean` | Should the keyword be case sensitive? | `false` |\n| `label` | `boolean, string[]` | Add a label to the new issue. If true, add the `todo` label. If false, don't add any label.You can also give it a label name or an array of label names. | `true` |\n| `reopenClosed` | `boolean` | If an issue already exists and is closed, reopen it. Note: if set to false, no new issue will be created. | `true` |\n| `exclude` | `string` | Exclude certain files and/or directories. Should be a valid regular expression. | `null` |\n\n\n## CLI\n\nThere is a CLI tool in this repo that you can use to verify that **todo** is working on your commits. This tool will not actually create new issues, but will let you know what issues a commit _would_ create. Follow the setup instructions below, then run:\n\n```\n$ node ./bin/todo -o OWNER -r REPO -s SHA\n```\n\nYou can also parse a local file instead of a sha:\n\n```\n$ node ./bin/todo -o OWNER -r REPO -f ./path/to/file.txt\n```\n\nOr check a merged PR:\n\n```\n$ node ./bin/todo -o OWNER -r REPO --pr NUMBER\n```\n\n## Setup\n\n```\n# Install dependencies\nnpm install\n\n# Run the bot\nnpm start\n```\n\nSee [docs/deploy.md](docs/deploy.md) if you would like to run your own instance of this app.\n", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "smakosh/gatsby-portfolio-dev", "link": "https://github.com/smakosh/gatsby-portfolio-dev", "tags": ["gatsby", "styled-components", "react", "a11y", "portfolio"], "stars": 742, "description": "A portfolio for developers", "lang": "JavaScript", "repo_lang": "", "readme": "# Portfolio for developers\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fsmakosh%2Fgatsby-portfolio-dev&env=PORTFOLIO_GITHUB_TOKEN,PORTFOLIO_FORMIUM_ENDPOINT,GATSBY_PORTFOLIO_RECAPTCHA_KEY&envDescription=All%20env%20variables%20are%20required%20to%20deploy%20the%20project&envLink=https%3A%2F%2Fgithub.com%2Fsmakosh%2Fgatsby-portfolio-dev%2Fblob%2Fmaster%2F.env.development.template&project-name=my-portfolio&repo-name=my-portfolio&demo-title=Portfolio%20demo&demo-description=A%20simple%20portfolio%20for%20developers&demo-url=https%3A%2F%2Fportfolio.smakosh.com&demo-image=https%3A%2F%2Fportfolio.smakosh.com%2Fstatic%2Fthumbnail-16a70559ab07712f83d3ce412dfbb5a6.png)\n\n[![Powered by Vercel](./powered-by-vercel.svg)](https://vercel.com?utm_source=smakosh&utm_campaign=oss)\n\n## Next js version?\n\n[There you go](https://github.com/smakosh/next-portfolio-dev)\n\n## Theme\n\n[Gatsby-theme-portfolio](https://github.com/smakosh/gatsby-theme-portfolio)\n\n## Features\n\n- Eslint/Prettier configured\n- Scores 100% on a11y / Performance / PWA / SEO\n- PWA (desktop & mobile)\n- Easy to customize\n- Nice project structure\n- Amazing illustrations by [Undraw.co](https://undraw.co)\n- Tablet & mobile friendly\n- Continuous deployment with [Vercel](https://vercel.com/?utm_source=smakosh)\n- Or with Netlify, check [Netlify branch](https://github.com/smakosh/gatsby-portfolio-dev/tree/netlify)\n- A contact form protected by Google Recaptcha\n- Can be deployed with one click\n- Functional components with ~~Recompose~~ React Hooks! ~~ready to migrate to React hooks!~~\n- Fetches your Github pinned projects with most stars (You could customize this if you wish)\n- One click deployment to Vercel\n\n## Design\n\nProject on [Behance](https://www.behance.net/gallery/74172961/Free-Gatsby-portfolio-for-developers)\n\n## Structure\n\n```bash\n.\n\u251c\u2500\u2500 data\n\u2502 \u2514\u2500\u2500 config # SEO related tags\n\u251c\u2500\u2500 src\n\u2502 \u2514\u2500\u2500 assets # Assets\n\u2502 \u2502 \u2502\u2500\u2500 icons # icons\n\u2502 \u2502 \u2502\u2500\u2500 illustrations # illustrations from (undraw.co)\n\u2502 \u2502 \u2514\u2500\u2500 thumbnail # cover of your website when it's shared to social media\n\u2502 \u251c\u2500\u2500 components # Components\n\u2502 \u2502 \u2502\u2500\u2500 common # Common components\n\u2502 \u2502 \u2502\u2500\u2500 landing # Components used on the landing page\n\u2502 \u2502 \u2514\u2500\u2500 theme # Header & Footer\n\u2502 \u2514\u2500\u2500 pages # Pages\n\u2514\u2500\u2500 static # favicon & Netlify redirects\n```\n\n## Prerequisites\n\n### Online\n\n1. Create an account at [Formium](https://formium.io/?utm_source=smakosh) and grab your form endpoint url\n2. Grab a Google recaptcha key from [Google Recaptcha](https://www.google.com/recaptcha/admin)\n> Make sure to select V2 checkbox\n4. Grab your Github token from [GitHub](https://github.com/settings/tokens/new?scopes=repo&description=portfolio-dev)\n5. Click [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fsmakosh%2Fgatsby-portfolio-dev&env=PORTFOLIO_GITHUB_TOKEN,PORTFOLIO_FORMIUM_ENDPOINT,GATSBY_PORTFOLIO_RECAPTCHA_KEY&envDescription=All%20env%20variables%20are%20required%20to%20deploy%20the%20project&envLink=https%3A%2F%2Fgithub.com%2Fsmakosh%2Fgatsby-portfolio-dev%2Fblob%2Fmaster%2F.env.development.template&project-name=my-portfolio&repo-name=my-portfolio&demo-title=Portfolio%20demo&demo-description=A%20simple%20portfolio%20for%20developers&demo-url=https%3A%2F%2Fportfolio.smakosh.com&demo-image=https%3A%2F%2Fportfolio.smakosh.com%2Fstatic%2Fthumbnail-16a70559ab07712f83d3ce412dfbb5a6.png) and pass in your:\n\n- Formium form endpoint\n- Google recaptcha public key\n- Github token\n\nTo Env variables section.\n\n> For the contact form to work, you will need to update the `url` in [here](https://github.com/smakosh/gatsby-portfolio-dev/blob/master/src/data/config.js#L5)\n\n### Locally\n\n1. Create an account at [Formium](https://formium.io/?utm_source=smakosh)\n2. Grab a Google recaptcha key from [Google Recaptcha](https://www.google.com/recaptcha/admin)\n3. Grab your Github token from GitHub\n4. Run `cp .env.development.template .env.development`\n5. Run `npm i && npm start`\n\n> You could run `vercel env pull` to get your env variables from Vercel.\n\n### Deploying locally to Vercel\n\nI highly recommend that you push to GitHub/GitLab and deploy your repository to Vercel instead or just hit the Deploy button.\n\n### Clean the cache\n\nThis removes the `.cache/` & `public/` folders\n\n```bash\nyarn reset\n```\n\n## Built with\n\n- Adobe XD\n- Gatsby\n- React & GraphQL\n- Formium\n- Google recaptcha\n- VSCode\n- And these useful of JavaScript libraries & Gatsby plugins [package.json](package.json)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for more details\n\n## Contributors\n\n- [Ajay NS](https://github.com/ajayns) https://github.com/smakosh/gatsby-portfolio-dev/pull/3\n- [Ryan Lee](https://github.com/drdgvhbh) https://github.com/smakosh/gatsby-portfolio-dev/pull/6\n- [David](https://github.com/davidavz) https://github.com/smakosh/gatsby-portfolio-dev/pull/8\n- [L\u00e9u Almeida](https://github.com/LeuAlmeida) https://github.com/smakosh/gatsby-portfolio-dev/pull/21\n- [Kudakwashe Mupeni](https://github.com/2wce) https://github.com/smakosh/gatsby-portfolio-dev/pull/20\n- [sasannnn](https://github.com/sasannnn) https://github.com/smakosh/gatsby-portfolio-dev/pull/22\n- [Michael Seifarth](https://github.com/Kageetai) https://github.com/smakosh/gatsby-portfolio-dev/pull/27\n- [Hugo](https://github.com/Kronicom) https://github.com/smakosh/gatsby-portfolio-dev/pull/34 https://github.com/smakosh/gatsby-portfolio-dev/pull/35\n- [manula thejan](https://github.com/manula2004) https://github.com/smakosh/gatsby-portfolio-dev/pull/38\n- [Benjamin Lo](https://github.com/benji011) https://github.com/smakosh/gatsby-portfolio-dev/pull/40\n- [Yassine Rais](https://github.com/yassinrais) https://github.com/smakosh/gatsby-portfolio-dev/pull/41\n- [Juan Manuel Combetto](https://github.com/omniwired) https://github.com/smakosh/gatsby-portfolio-dev/pull/54\n- [Smakosh](https://smakosh.com)\n\n## Support\n\nIf you love this Gatsby template and want to support me, you can do so through my GitHub profile.\n", "readme_type": "markdown", "hn_comments": "", "gh_updated_time": "", "gh_accessed_time": "", "hn_accessed_time": ""}, {"name": "TeamWertarbyte/material-ui-chip-input", "link": "https://github.com/TeamWertarbyte/material-ui-chip-input", "tags": ["material-ui", "react", "material-design", "chip", "input"], "stars": 742, "description": "A chip input field using Material-UI.", "lang": "JavaScript", "repo_lang": "", "readme": "# Support for MUI v4 or MUI v5\n\nAfter maintaining this project for over 3 years, we chose not to add support for MUI v4+ since it would require significant changes and there is already [a built-in chip input](https://v4.mui.com/components/autocomplete/#multiple-values). The same component is also [available for MUI v5](https://mui.com/material-ui/react-autocomplete/#multiple-values), and there are some alternatives like [mui-chips-input](https://github.com/viclafouch/mui-chips-input).\n\n---\n\n# material-ui-chip-input\n\n[![Build Status](https://travis-ci.org/TeamWertarbyte/material-ui-chip-input.svg?branch=next)](https://travis-ci.org/TeamWertarbyte/material-ui-chip-input)\n[![Coverage Status](https://coveralls.io/repos/github/TeamWertarbyte/material-ui-chip-input/badge.svg?branch=next)](https://coveralls.io/github/TeamWertarbyte/material-ui-chip-input?branch=next)\n\nThis project provides a [chip input field][chipspec] for [Material-UI][mui]. It is inspired by [Angular Material's chip input][angular-chips].\n\n![Demo](demo.gif)\n\nIf you want to try the component yourself instead of watching a gif, head over to [the storybook][gh-pages] for a live demo!\n\n## Installation\n```shell\nnpm i --save material-ui-chip-input@next\n```\n**Note:** This is the version for Material-UI 1.0.0 or later. If you are still using Material-UI 0.x, you can use our [legacy version][legacy].\n\n## Usage\nThe component supports either controlled or uncontrolled input mode. If you use the controlled mode (by setting the `value` attribute), the `onChange` callback won't be called.\n\n```jsx\nimport ChipInput from 'material-ui-chip-input'\n\n// uncontrolled input\n