Is there any open source brainwallet that lets you make a vanity address, e.g. starts like 1777...?

If it does not exist it should be easy to make. In addition to the passphrase, the user should input the desired pattern. The javascript should generate addresses until pattern found. For each iteration it could use the passphrase + a counter.

I know this isnt what you are after...but couldnt you use vanitygen to generate desired address.. and just encrypt the privkey using gpg or whatever and just have that password protected with some long password you remember... kind of defeats brain wallet.. cause you need the backup... but the password part would be brainwallet-a-tised

Is there any open source brainwallet that lets you make a vanity address, e.g. starts like 1777...?

If it does not exist it should be easy to make. In addition to the passphrase, the user should input the desired pattern. The javascript should generate addresses until pattern found. For each iteration it could use the passphrase + a counter.

A significant amount of work can go into finding a vanity address. It could take a prohibitively long time to refind the vanity address (with JS on the CPU, no less) every time you want to access the wallet.

I'd want to include the end count, at least to a little precision, in the brain wallet. You could encode this as a passphrase. E.g. let's say that the JS can try 10k per second to brute force the vanity pattern, and the vanity pattern you wanted was the 57,434,567th thing tried. The program would find the index to remember is "5743", which it encodes as "maybe inside" (with a list like Electrum's, you can have over 2.6 million two-word combos); if you tell it your passphrase along with "maybe inside", the JS can find it within a second. If not, then you have to let it start from 0 to find it.

Or, just take the resulting private key and encode that (with diceware/Electrum-style encoding) as a series of words, and use that as your brainwallet. It would be twice as long as an Electrum seed, unfortunately, which would make for a pretty tough-to-remember brainwallet.

I know this isnt what you are after...but couldnt you use vanitygen to generate desired address.. and just encrypt the privkey using gpg or whatever and just have that password protected with some long password you remember... kind of defeats brain wallet.. cause you need the backup... but the password part would be brainwallet-a-tised

or am I totally off track ?

This is probably the closest thing to a vanity brain wallet that you will find. A vanity address by definition must use a "random" private address that associates with the public address with your "vanity" while a brain wallet is a private key that uses some kind of algorithm to get from your "password" to your private key, the algorithm must be standard enough so that you can get to it from a number of different sources.

One option would be to generate a vanity address and a separate brain wallet. You would then create a script to be run on an EC2 instance that would automatically sweep funds from the vanity address into the brain wallet upon receipt.