{"action":"created","issue":{"url":"https://api.github.com/repos/TheBricksThatHacked/Bucketeer.me/issues/12","labels_url":"https://api.github.com/repos/TheBricksThatHacked/Bucketeer.me/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/TheBricksThatHacked/Bucketeer.me/issues/12/comments","events_url":"https://api.github.com/repos/TheBricksThatHacked/Bucketeer.me/issues/12/events","html_url":"https://github.com/TheBricksThatHacked/Bucketeer.me/issues/12","id":75615499,"number":12,"title":"User Name Subdomains","user":{"login":"corbanmailloux","id":2474463,"avatar_url":"https://avatars.githubusercontent.com/u/2474463?v=3","gravatar_id":"","url":"https://api.github.com/users/corbanmailloux","html_url":"https://github.com/corbanmailloux","followers_url":"https://api.github.com/users/corbanmailloux/followers","following_url":"https://api.github.com/users/corbanmailloux/following{/other_user}","gists_url":"https://api.github.com/users/corbanmailloux/gists{/gist_id}","starred_url":"https://api.github.com/users/corbanmailloux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corbanmailloux/subscriptions","organizations_url":"https://api.github.com/users/corbanmailloux/orgs","repos_url":"https://api.github.com/users/corbanmailloux/repos","events_url":"https://api.github.com/users/corbanmailloux/events{/privacy}","received_events_url":"https://api.github.com/users/corbanmailloux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TheBricksThatHacked/Bucketeer.me/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T14:05:42Z","updated_at":"2015-05-12T20:51:30Z","closed_at":null,"body":"I would like to add support for user name subdomains to access a profile.\r\nFor example:\r\n`corban.bucketeer.me` would redirect to my profile.\r\n\r\nIt seems that the best way to do this would be to add a URL rule to Django to support `/profile/{USERNAME}`, and add an Nginx rewrite rule to push `{USERNAME}.bucketeer.me` to `bucketeer.me/{USERNAME}`. \r\n\r\nOn the Nginx-side, I already know the rules necessary. See [here](http://stackoverflow.com/a/21230992).\r\n\r\n\r\n\r\nThoughts? Do people like this idea? I kind of wanted to move away from the `/profile/{NUMBER}` style anyways."},"comment":{"url":"https://api.github.com/repos/TheBricksThatHacked/Bucketeer.me/issues/comments/101415687","html_url":"https://github.com/TheBricksThatHacked/Bucketeer.me/issues/12#issuecomment-101415687","issue_url":"https://api.github.com/repos/TheBricksThatHacked/Bucketeer.me/issues/12","id":101415687,"user":{"login":"corbanmailloux","id":2474463,"avatar_url":"https://avatars.githubusercontent.com/u/2474463?v=3","gravatar_id":"","url":"https://api.github.com/users/corbanmailloux","html_url":"https://github.com/corbanmailloux","followers_url":"https://api.github.com/users/corbanmailloux/followers","following_url":"https://api.github.com/users/corbanmailloux/following{/other_user}","gists_url":"https://api.github.com/users/corbanmailloux/gists{/gist_id}","starred_url":"https://api.github.com/users/corbanmailloux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corbanmailloux/subscriptions","organizations_url":"https://api.github.com/users/corbanmailloux/orgs","repos_url":"https://api.github.com/users/corbanmailloux/repos","events_url":"https://api.github.com/users/corbanmailloux/events{/privacy}","received_events_url":"https://api.github.com/users/corbanmailloux/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T20:51:30Z","updated_at":"2015-05-12T20:51:30Z","body":"I made the URL and view changes on [this branch](https://github.com/TheBricksThatHacked/Bucketeer.me/tree/profile-by-username).\r\n\r\nNow we just need to keep users' names from containing `@_+`, on top of Django's built-in rules."}}