spolu / breach_core Goto Github PK
View Code? Open in Web Editor NEWA Browser written in JS. Free. Modular. Hackable.
Home Page: https://breach.github.io/breach_core/
License: MIT License
A Browser written in JS. Free. Modular. Hackable.
Home Page: https://breach.github.io/breach_core/
License: MIT License
It would be amazing if you could use Breach instead of Chromium with Chromium OS.
./breach
__AUTO_UPDATE_BUNDLE__/exo_browser/exo_browser: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
Using Ubuntu 12.04. Maybe this is a problem with my computer?
In the module manager, when displaying a module output, the log should automatically scroll to the bottom.
loading_stop
)[2014-06-26T00:07:53.633Z] *********************************************
[2014-06-26T00:07:53.634Z] ERROR: Cannot read property 'frame' of undefined
[2014-06-26T00:07:53.634Z] *********************************************
[2014-06-26T00:07:53.636Z] TypeError: Cannot read property 'frame' of undefined
[2014-06-26T00:07:53.636Z] at /home/spolu/Downloads/breach-v0.3.15-alpha.3-linux-x64/__AUTO_UPDATE_BUNDLE__/breach_core/lib/core_tabs.js:153:20
[2014-06-26T00:07:53.636Z] at _ExoBrowser.<anonymous> (/home/spolu/Downloads/breach-v0.3.15-alpha.3-linux-x64/__AUTO_UPDATE_BUNDLE__/breach_core/node_modules/exo_browser/lib/api.js:1403:28)
[2014-06-26T00:07:53.637Z] ---------------------------------------------
7/10/14 12:12:29.885 PM [0x0-0x178178].org.breach.Breach: [48168:20999:0710/121229:60046176394503:WARNING:dns_config_service_posix.cc(151)] dns_config has unhandled options!
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: [2014-07-10T19:12:29.934Z] [index] Breach v0.3.20-alpha.5 Starting...
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: module.js:333
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: throw err;
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: ^
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: Error: Cannot find module 'request'
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Function.Module._resolveFilename (module.js:331:15)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Function.Module._load (module.js:273:25)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Module.require (module.js:357:17)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at require (module.js:373:17)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Object.<anonymous> (/Users/jackjennings/Desktop/Breach.app/Contents/Resources/shell/lib/auto_updater.js:18:15)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Module._compile (module.js:449:26)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Object.Module._extensions..js (module.js:467:10)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Module.load (module.js:349:32)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Function.Module._load (module.js:305:12)
7/10/14 12:12:30.012 PM [0x0-0x178178].org.breach.Breach: at Module.require (module.js:357:17)
On nearly all websites while scrolling down the page crashes (OS X 10.10).
[4879:4906:1104/153104:122920975612:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='adzerk.net', with {name='azk', domain='.engine.adzerk.net', path='/'}
[4879:4906:1104/153104:122920975675:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='adzerk.net', with {name='azk-events', domain='.engine.adzerk.net', path='/'}
[4879:4906:1104/153104:122920975700:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='adzerk.net', with {name='azk-views', domain='.engine.adzerk.net', path='/'}
[4879:4906:1104/153104:122920975724:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='adzerk.net', with {name='azk-voting', domain='.engine.adzerk.net', path='/'}
[4879:4906:1104/153104:122920976073:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='github.com', with {name='__utma', domain='.github.com', path='/'}
[4879:4906:1104/153104:122920976110:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='github.com', with {name='__utmb', domain='.github.com', path='/'}
[4879:4906:1104/153104:122920976132:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='github.com', with {name='__utmz', domain='.github.com', path='/'}
[4879:4906:1104/153104:122920976155:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='github.com', with {name='spy_user', domain='.github.com', path='/'}
[4879:4906:1104/153104:122920976187:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='github.com', with {name='user_session', domain='.github.com', path='/'}
[4879:4906:1104/153104:122920976243:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='google.com', with {name='GMAIL_IMP', domain='.mail.google.com', path='/mail/u/0'}
[4879:4906:1104/153104:122920976269:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='google.com', with {name='OTZ', domain='.plus.google.com', path='/'}
[4879:4906:1104/153104:122920976729:ERROR:cookie_monster.cc(1614)] Found 1 duplicate cookies for host='trello.com', with {name='sup', domain='.trello.com', path='/'}
Hey @spolu , here's the image for the landing we discussed that needed some change.
github mod_strip v0.2.8-alpha.5 breach v0.2.8-alpha.5 stopped up to date
Error: Cannot find module 'utils-merge'
at Function.Module._resolveFilename (module.js:331:15)
at Function.Module._load (module.js:273:25)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at Object.<anonymous> (/Users/anthony/Library/Application Support/breach/modules/breach/mod_strip#v0.2.8-alpha.5/node_modules/express/lib/express.js:6:13)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
OPTION: --no-chrome
module.js:333
throw err;
^
here's the output I see from mod_strip
Breach also crashed after trying to install mod_strip
in the onboarding
When computer sleeps for a long period of time....
Hack Breach tutorial 2
As mentioned by @guille that would be really nice to have an auto-update mechanism for breach (and underlying exo_browser files) before pushing it out to the public.
This would indeed let us make sure that everyone out there has a recent version of breach running. This is especially important given the module architecture. Module creators should not be faced to fragmentation, etc...
@guille proposed to embed https://github.com/cloudup/auto-update in breach to solve that. Unfortunately auto-update
does not currently have a linux port and there are a few complications relative to such a port (described there: Automattic/auto-update#1)
An early alternative would be to add a check for the exo_browser/breach version running and notify the user the need to update whenever a new major version is released.
It's up for discussion. Feel free to comment here.
When restarting a module, the module out
screen shows each new log entry as many times as the module was restarted.
This is probably due to the read stream or the presence of multiple socket.io's sockets
Stack renderer may become unresponsive with the following log (on linux)
[667:690:1104/152210:122387462038:INFO:exo_frame_wrap.cc(107)] ExoFrameWrap Destructor
[667:667:1104/152210:122387462139:INFO:exo_frame_wrap.cc(212)] ExoFrameWrap DeleteTask
[667:667:1104/152210:122387462158:INFO:exo_frame.cc(83)] ExoFrame Destructor [1]
V8 error: Allocation failed - process out of memory (Heap::ReserveSpace). Current memory usage: 1682 MB
1 0x1d3494f
2 0x1dfae55
3 0x1f799b3
4 0x1f7c65e
5 0x1d5eba5
6 0x1d5f568
7 0x1d4332c
8 0x1503188
9 0x15042f2
10 0x14dc5f8
11 0x14dcadb
12 0x14dda2e
13 0x1a2db25
14 0x19b9bb7
15 0x19b9f8f
16 0x19ba1ee
17 0x19ba338
18 0x1ba1f80
19 0x19e7664
20 0xae9d96
21 0xaea658
22 0xaeab4d
23 0xaa4408
24 0xa31de0
25 0x4f38f8
26 0x4f48d1
27 0x4f6885
28 0x4f9949
29 0x4f94a1
30 0x506b28
31 0x4f2ea5
[667:667:1104/152233:122410183527:INFO:exo_browser.cc(466)] RendererUnresponsive
[667:690:1104/152303:122439922601:INFO:exo_frame_wrap.cc(197)] CreateCallback ExoFrameWrap
[667:667:1104/152303:122439922734:INFO:exo_frame.cc(64)] ExoFrame SetParent [1]: 0x7fb13e2d0600
[667:667:1104/152304:122441689420:INFO:CONSOLE(117)] "submit", source: http://127.0.0.1:54689/box/box_d.js (117)
When you have no tabs open the focus isn't set the to search bar
from @guille:
- download: slow, why not just the updater?
- install: quicklook of icon blends with background (https://cloudup.com/cYV9ZIA9EaQ)
- launch: went from white to dark gray (would be nice to have eventual BG color)
- launch: seemed slow
- usage: keyboard shortcuts missing
Hi everyone,
I'm experiencing a problem during the really beginning of the compilation.
First I clone 'breach_core', then make 'dist_darwin'. During the execution, it doesn't find exo_browser archive. 'tar' command exit with an error code. I searched a little but there apparently no archive at all, anywhere in tmp or pwd.
here is what I have :
[... npm install logs ...]
node dist/darwin.js "x64" "__DUMMY__"
[2014-07-05T09:25:48.278Z] Making `darwin` distribution for v0.3.10-alpha.2
[2014-07-05T09:25:48.279Z] Using breach_core: /home/erol/breach/package
[2014-07-05T09:25:48.279Z] Using arch: x64
[2014-07-05T09:25:48.279Z] Using ExoBrowser: __DUMMY__
stderr: tar (child): __DUMMY__: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
stderr: tar: Child returned status 2
tar: Error is not recoverable: exiting now
[2014-07-05T09:25:48.294Z] *********************************************
[2014-07-05T09:25:48.294Z] ERROR: Extraction failed with code: 2
[2014-07-05T09:25:48.294Z] *********************************************
[2014-07-05T09:25:48.297Z] auto_updater:failed_extraction: Extraction failed with code: 2
[2014-07-05T09:25:48.297Z] at Object.exports.err (/home/erol/breach/package/lib/common.js:309:13)
[2014-07-05T09:25:48.297Z] at ChildProcess.<anonymous> (/home/erol/breach/package/dist/darwin.js:69:27)
[2014-07-05T09:25:48.297Z] at ChildProcess.EventEmitter.emit (events.js:98:17)
[2014-07-05T09:25:48.297Z] at maybeClose (child_process.js:743:16)
[2014-07-05T09:25:48.297Z] at Socket.<anonymous> (child_process.js:956:11)
[2014-07-05T09:25:48.297Z] at Socket.EventEmitter.emit (events.js:95:17)
[2014-07-05T09:25:48.297Z] at Pipe.close (net.js:466:12)
[2014-07-05T09:25:48.297Z] ---------------------------------------------
make: *** [dist_darwin] Error 1
I'd really like to compile it, thanks in advance.
Amaury
Just downloaded the latest rev - I'm behind a firewall and my system is set to use a HTTP/HTTPS proxy under system preferences.
Immediately upon starting, I get an error message from the internal proxy.
Looks like the proxy settings are tromping on the local communication used for the backend of the browser.
Steps to reproduce:
running
Especially google oauth with 2-step verification, ends up on the page https://accounts.google.com/CookieMismatch
see https://code.google.com/p/chromium/issues/detail?id=112708
and https://code.google.com/p/chromium/issues/detail?id=126729
Steps to reproduce:
Does not reproduce on node-webkit with sqlite cookie store.
First hack Breach tutorial
user should be prompted for username and password and instead this is ignored and access is denied.
more info http://tools.ietf.org/html/rfc2617
There is no way I have found to open a link in a new tab. This is a very common action, at least for me.
Whenever I try running breach, i get this error:
./breach 07/11/2014 00:42:12 IST
[4413:4413:0711/004358:3080095122:FATAL:browser_main_loop.cc(172)] Running
without the SUID sandbox! See https://code.google.com/p/chromium
/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the
sandbox on.
./breach: line 6: 4413 Aborted $SRC_DIR/__AUTO_UPDATE_BUNDLE__/exo_browser/exo_browser --raw $SRC_DIR/__AUTO_UPDATE_BUNDLE__/breach_core
I managed to run exobrowser without SUID sandbox using the flag:
--disable-setuid-sandbox
. However, I couldn't manage to do the same with breach when using exo. Any ideas regarding how to do this?
I am using Linux Mint 17 64bit.
When running auto-updates, packaged updates should be signed and the signature verified instead of realying on simple hashing (esp. md5)
As a user, I should be able to have several windows of the browser.
One way to create a window is to drag a tab out of the browser
cc @llorca
This is probably entirely unintentional, but the name/domain you've chosen make me think it's for credit card leaks. Might want to reconsider? :)
Steps to reproduce:
www.streamnation.com/login
On this page, I should see the fields to login via email or Facebook.
But I cannot see any of the fields
Should be fixed as it is handled by core. Maybe an API is welcome here as well.
Breach should just be like other browsers where we should have the ability to re-arrange tabs at will.
I run multiple displays, and generally have a window on one screen for mail and social, another for github, etc.
There doesn't appear to be a way to create a second window in Breach. โT works for tabs, but โN doesn't work for windows, and there aren't any menus so there's nothing to look for.
Where is it best to implement key combinations and such.
For example switching tabs in mod_strip.
Should this be done in mod_strip, or should there rather be something handling keyevents in the breach_core, to which mod_strip then registers the combinations and handlers or maybe even a completely new module, which handles this?
I would really like to use ccampbell/mousetrap, because I think it has a really great API for this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.