├── README.md ├── .gitattributes ├── cnames_active.js ├── .gitignore └── cnames_restricted.js /README.md: -------------------------------------------------------------------------------- 1 | [![JS.ORG](https://img.shields.io/badge/js.org-dns-ffb400.svg?style=flat-square)](http://js.org) 2 | 3 | [![JS.ORG Logo](http://logo.js.org/png/github_header.png)](http://js.org) 4 | 5 | Have a look at [JS.ORG](http://dns.js.org) [(branch: gh-pages)](https://github.com/js-org/dns/tree/gh-pages) 6 | 7 | ***Because of the risk of abuse I´m no longer merging requests for pages without content!*** 8 | 9 | To get a short and sleek subdomain for your own GitHub Page follow these 4 Steps: 10 | 11 | ### Step 1 12 | If you haven't already, now it's time to log in to your GitHub account and set up your GitHub Page following the instructions [here](https://pages.github.com/). To get a head start you can simply use the generator and one of the provided themes. 13 | 14 | ### Step 2 15 | Now determine your js.org subdomain: either choose your username or the name of your repo according to the existing GitHub Pages URL (for ```http://foo.github.io/bar```, either ```foo.js.org``` or ```bar.js.org``` would be possible). More details in the [wiki](https://github.com/js-org/dns/wiki). 16 | 17 | ### Step 3 18 | Add a file named ```CNAME``` to your repo (in the ```gh-pages``` branch for project pages) with a single line matching the domain you have chosen (e.g. ```foo.js.org```). If you face problems, check out the section [Custom URLs](https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages/#creating-and-committing-a-cname-file) at GitHub Pages Help. 19 | 20 | ### Step 4 21 | To finish the procedure, make a pull request in this GitHub repository that adds your subdomain to the [list](https://github.com/js-org/dns/blob/master/cnames_active.js) of exisiting JS.ORG domains. Your new URL should go live within 24 hours (keep an eye on your pull request in case of a naming conflict). 22 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /cnames_active.js: -------------------------------------------------------------------------------- 1 | /* 2 | ***** ACTIVE SUBDOMAINS 3 | * *********************** 4 | * 5 | * for the moment the following subdomains are active 6 | * file a pull request to add your own GitHub Page 7 | * 8 | * 9 | **** EXPLANATION 10 | * **************** 11 | * 12 | * KEY: The subdomain you request (e.g.: "foo" would give the custom domain "foo.js.org" ). 13 | * 14 | * VALUE: The regular domain provided by GitHub (e.g.: "foo.github.io" for a User-/Organisation Page 15 | * or "foo.github.io/bar" for a Project Page). 16 | * 17 | * IMPORTANT: To authorise yourself as the owner of the GitHub Page you must have a valid CNAME file 18 | * (with the requestd domain, e.g: "foo.js.org") to your repository before the pull request. 19 | * The requested subdomain must match either your GitHub username or the name of your project 20 | * repository. Execeptions are possible for the sake of clarity (e.g. if your project has the 21 | * name "foojs" you can request "foo"). 22 | * Before you start a request for your personal fork of "jquery" or "angular" you should read 23 | * the section "naming conflicts" in the wiki! 24 | * 25 | * NOTICE: It would be nice if you could keep the alphabetical order. 26 | * 27 | * Because of the risk of abuse I´m no longer merging requests for pages without content! 28 | * 29 | */ 30 | 31 | var cnames_active = { 32 | "alt": "goatslacker.github.io/alt/" 33 | , "anenth": "anenth.github.io" 34 | , "bogdanteodoru": "bogdanteodoru.github.io" 35 | , "cordova-multiplatform-template": "ckgrafico.github.io/Cordova-Multiplatform-Template" 36 | , "dns": "js-org.github.io/dns" 37 | , "emulisp": "grahack.github.io/EmuLisp" 38 | , "finder": "applait.github.io/finderjs" 39 | , "gruft": "nikola.github.io/gruft" 40 | , "happy": "e24.github.io/happy" 41 | , "ivml": "influencetech.github.io/ivml" 42 | , "jodytate": "jodytate.github.io" 43 | , "labelauty": "fntneves.github.io/jquery-labelauty" 44 | , "logo": "js-org.github.io/logo" 45 | , "lujaw": "lujaw.github.io" 46 | , "matthias-schuetz": "matthias-schuetz.github.io" 47 | , "mmcq": "nikola.github.io/MMCQ" 48 | , "nikolay": "nikolay.github.io" 49 | , "nsisodiya": "nsisodiya.github.io" 50 | , "objectmodel": "sylvainpolletvillard.github.io/ObjectModel" 51 | , "radial": "ckgrafico.github.io/radial.js" 52 | , "rafaelbiten": "rafaelbiten.github.io" 53 | , "saturation": "saturation.github.io/www" 54 | , "sean": "seancallinan.github.io" 55 | , "selectric": "lcdsantos.github.io/jQuery-Selectric" 56 | , "spirare": "waldenn.github.io/spirare" 57 | , "sugarshin": "sugarshin.github.io/sugarshin.js.org" 58 | , "tagster": "goschevski.github.io/tagster" 59 | , "timerizer": "callumacrae.github.io/timerizerJS" 60 | , "weaver": "maxkfranz.github.io/weaver" 61 | , "xto6": "mohebifar.github.io/xto6" 62 | , "zodiac": "indus.github.io/Zodiac" 63 | } 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.sln.docstates 8 | 9 | # Build results 10 | [Dd]ebug/ 11 | [Dd]ebugPublic/ 12 | [Rr]elease/ 13 | x64/ 14 | build/ 15 | bld/ 16 | [Bb]in/ 17 | [Oo]bj/ 18 | 19 | # Roslyn cache directories 20 | *.ide/ 21 | 22 | # MSTest test Results 23 | [Tt]est[Rr]esult*/ 24 | [Bb]uild[Ll]og.* 25 | 26 | #NUNIT 27 | *.VisualState.xml 28 | TestResult.xml 29 | 30 | # Build Results of an ATL Project 31 | [Dd]ebugPS/ 32 | [Rr]eleasePS/ 33 | dlldata.c 34 | 35 | *_i.c 36 | *_p.c 37 | *_i.h 38 | *.ilk 39 | *.meta 40 | *.obj 41 | *.pch 42 | *.pdb 43 | *.pgc 44 | *.pgd 45 | *.rsp 46 | *.sbr 47 | *.tlb 48 | *.tli 49 | *.tlh 50 | *.tmp 51 | *.tmp_proj 52 | *.log 53 | *.vspscc 54 | *.vssscc 55 | .builds 56 | *.pidb 57 | *.svclog 58 | *.scc 59 | 60 | # Chutzpah Test files 61 | _Chutzpah* 62 | 63 | # Visual C++ cache files 64 | ipch/ 65 | *.aps 66 | *.ncb 67 | *.opensdf 68 | *.sdf 69 | *.cachefile 70 | 71 | # Visual Studio profiler 72 | *.psess 73 | *.vsp 74 | *.vspx 75 | 76 | # TFS 2012 Local Workspace 77 | $tf/ 78 | 79 | # Guidance Automation Toolkit 80 | *.gpState 81 | 82 | # ReSharper is a .NET coding add-in 83 | _ReSharper*/ 84 | *.[Rr]e[Ss]harper 85 | *.DotSettings.user 86 | 87 | # JustCode is a .NET coding addin-in 88 | .JustCode 89 | 90 | # TeamCity is a build add-in 91 | _TeamCity* 92 | 93 | # DotCover is a Code Coverage Tool 94 | *.dotCover 95 | 96 | # NCrunch 97 | _NCrunch_* 98 | .*crunch*.local.xml 99 | 100 | # MightyMoose 101 | *.mm.* 102 | AutoTest.Net/ 103 | 104 | # Web workbench (sass) 105 | .sass-cache/ 106 | 107 | # Installshield output folder 108 | [Ee]xpress/ 109 | 110 | # DocProject is a documentation generator add-in 111 | DocProject/buildhelp/ 112 | DocProject/Help/*.HxT 113 | DocProject/Help/*.HxC 114 | DocProject/Help/*.hhc 115 | DocProject/Help/*.hhk 116 | DocProject/Help/*.hhp 117 | DocProject/Help/Html2 118 | DocProject/Help/html 119 | 120 | # Click-Once directory 121 | publish/ 122 | 123 | # Publish Web Output 124 | *.[Pp]ublish.xml 125 | *.azurePubxml 126 | ## TODO: Comment the next line if you want to checkin your 127 | ## web deploy settings but do note that will include unencrypted 128 | ## passwords 129 | #*.pubxml 130 | 131 | # NuGet Packages Directory 132 | packages/* 133 | ## TODO: If the tool you use requires repositories.config 134 | ## uncomment the next line 135 | #!packages/repositories.config 136 | 137 | # Enable "build/" folder in the NuGet Packages folder since 138 | # NuGet packages use it for MSBuild targets. 139 | # This line needs to be after the ignore of the build folder 140 | # (and the packages folder if the line above has been uncommented) 141 | !packages/build/ 142 | 143 | # Windows Azure Build Output 144 | csx/ 145 | *.build.csdef 146 | 147 | # Windows Store app package directory 148 | AppPackages/ 149 | 150 | # Others 151 | sql/ 152 | *.Cache 153 | ClientBin/ 154 | [Ss]tyle[Cc]op.* 155 | ~$* 156 | *~ 157 | *.dbmdl 158 | *.dbproj.schemaview 159 | *.pfx 160 | *.publishsettings 161 | node_modules/ 162 | 163 | # RIA/Silverlight projects 164 | Generated_Code/ 165 | 166 | # Backup & report files from converting an old project file 167 | # to a newer Visual Studio version. Backup files are not needed, 168 | # because we have git ;-) 169 | _UpgradeReport_Files/ 170 | Backup*/ 171 | UpgradeLog*.XML 172 | UpgradeLog*.htm 173 | 174 | # SQL Server files 175 | *.mdf 176 | *.ldf 177 | 178 | # Business Intelligence projects 179 | *.rdl.data 180 | *.bim.layout 181 | *.bim_*.settings 182 | 183 | # Microsoft Fakes 184 | FakesAssemblies/ 185 | 186 | # LightSwitch generated files 187 | GeneratedArtifacts/ 188 | _Pvt_Extensions/ 189 | ModelManifest.xml -------------------------------------------------------------------------------- /cnames_restricted.js: -------------------------------------------------------------------------------- 1 | /* 2 | **** RESTRICTED SUBDOMAINS 3 | * ************************** 4 | * 5 | * for the moment the following subdomains are restricted 6 | * the list is not necessarily complete and could be extend at some point 7 | * 8 | * 9 | **** EXPLANATION 10 | * **************** 11 | * 12 | * Some of these subdomains are reserved for JS.ORG itself (e.g.: mail.js.org, admin.js.org). 13 | * Others are so generic that they should be used for community driven pages only (e.g.: blog.js.org, docs.js.org). 14 | * If you are willing to use one of the restricted subdomains in a way the community can benfit and participate, you can always file an issue and start a discussion. 15 | * 16 | */ 17 | 18 | var cnames_restricted = [ 19 | "about", 20 | "account(s)", 21 | "ad(s)", 22 | "admin(s)", 23 | "answer(s)", 24 | "api(s)", 25 | "app(s)", 26 | "archive(s)", 27 | "array(s)", 28 | "async", 29 | "backup(s)", 30 | "bar", 31 | "base", 32 | "basic(s)", 33 | "become", 34 | "bible", 35 | "blog(s)", 36 | "book(s)", 37 | "boolean", 38 | "browser(s)", 39 | "bug(s)", 40 | "build(s)", 41 | "business", 42 | "career", 43 | "cdn", 44 | "center", 45 | "chat(s)", 46 | "client(s)", 47 | "cloud", 48 | "code", 49 | "communit(y/ies)", 50 | "compan(y/ies)", 51 | "compare", 52 | "compile", 53 | "console", 54 | "contact(s)", 55 | "cookie(s)", 56 | "copy", 57 | "copyright(s)", 58 | "core", 59 | "create", 60 | "crew(s)", 61 | "css", 62 | "data", 63 | "ddns", 64 | "deal", 65 | "debug", 66 | "demo(s)", 67 | "dev(s)", 68 | "develop", 69 | "developer(s)", 70 | "dir(s)", 71 | "director(y/ies)", 72 | "dns", 73 | "doc(s)", 74 | "domain(s)", 75 | "donate(s)", 76 | "dyn", 77 | "easy", 78 | "ecma", 79 | "email(s)", 80 | "enterprise(s)", 81 | "es2015", 82 | "es6", 83 | "event(s)", 84 | "faq(s)", 85 | "file(s)", 86 | "find", 87 | "foo", 88 | "format(s)", 89 | "forum(s)", 90 | "framework(s)", 91 | "free", 92 | "front", 93 | "frontpage", 94 | "ftp", 95 | "function(s)", 96 | "fund(s)", 97 | "galler(y/ies)", 98 | "game(s)", 99 | "get", 100 | "git", 101 | "global(s)", 102 | "group(s)", 103 | "guide(s)", 104 | "headquarter", 105 | "help", 106 | "home", 107 | "homepage", 108 | "host(s)", 109 | "hq", 110 | "html", 111 | "hub(s)", 112 | "imap", 113 | "index", 114 | "info(s)", 115 | "internet", 116 | "json", 117 | "legal(s)", 118 | "lesson(s)", 119 | "license(s)", 120 | "like(s)", 121 | "live", 122 | "log(s)", 123 | "login", 124 | "logo(s)", 125 | "logout", 126 | "loop(s)", 127 | "love", 128 | "mail", 129 | "main", 130 | "map(s)", 131 | "market(s)", 132 | "master", 133 | "media", 134 | "meet", 135 | "member(s)", 136 | "mobile", 137 | "module(s)", 138 | "my", 139 | "native", 140 | "net", 141 | "network", 142 | "new(s)", 143 | "newsgroup(s)", 144 | "newsletter(s)", 145 | "ninja(s)", 146 | "now", 147 | "ns1", 148 | "ns2", 149 | "now", 150 | "object(s)", 151 | "online", 152 | "open", 153 | "package(s)", 154 | "page(s)", 155 | "password(s)", 156 | "permalink(s)", 157 | "piwik", 158 | "plain", 159 | "pop3", 160 | "portal(s)", 161 | "program(s)", 162 | "project(s)", 163 | "prototype(s)", 164 | "pub(s)", 165 | "raw", 166 | "readme(s)", 167 | "regex", 168 | "remote", 169 | "require", 170 | "rest", 171 | "review(s)", 172 | "rofessional(s)", 173 | "root(s)", 174 | "rss", 175 | "run", 176 | "school(s)", 177 | "script(s)", 178 | "search", 179 | "secure", 180 | "serv", 181 | "server(s)", 182 | "service(s)", 183 | "site(s)", 184 | "smtp", 185 | "socket(s)", 186 | "source(s)", 187 | "standard(s)", 188 | "store(s)", 189 | "string(s)", 190 | "sub(s)", 191 | "subdomain(s)", 192 | "subscribe", 193 | "sync", 194 | "system(s)", 195 | "tag(s)", 196 | "team(s)", 197 | "tech", 198 | "terminal", 199 | "test", 200 | "tip", 201 | "tool(s)", 202 | "topic(s)", 203 | "translate", 204 | "trend(s)", 205 | "trick(s)", 206 | "tutorial(s)", 207 | "tweak(s)", 208 | "type(s)", 209 | "unit(s)", 210 | "united", 211 | "unsubscribe", 212 | "uri(s)", 213 | "url(s)", 214 | "user(s)", 215 | "utility", 216 | "validate", 217 | "var(s)", 218 | "virtual", 219 | "watch", 220 | "web", 221 | "wiki(s)", 222 | "world", 223 | "www", 224 | "xml" 225 | ] --------------------------------------------------------------------------------