Based comes from the rapper Lil B who called himself "based god" because people used to call him "based" derogatorily, it basically meant crackhead, but he decided to just own it and ever since it went viral online it's just become slang for cool.
Fuck anyone who tries to turn slang political.