Comments (11)
Concreet project ToDo list:
-Eclipse: run Tribler from sources
-wxWebView working in Tribler with hardcoded youtube clip
-grab youtube video file
-seed in P2P using Libswift in Tribler
-play on another Tribler
-Open-ended assignment then midway/scrum targets the following will be targetted:
--Optional0: Support for P2P streaming URLs. HTML5 "< video >" tag is expanded with ppsp://db5dabb90a3cbd61a90866a4cc208ae959440ec9 support
--Optional1: show any website using address bar (standard HTTP fetch)
--Optional2: download content via P2P protocol anonymously
--Optional3: convert any encountered magnet:// URL link into a Youtube-like player window
--Optional4: foundation for AnonTube research of Tribler team (ambitious and on critical path) #119
prior work 4 years ago, read thesis .PDF:
http://www.tribler.org/P2PWebhosting
from tribler.
planning
14 June code submission
Report submit
4 July presentation day (tentative)
from tribler.
Note, above "webview->RunScript()" example might not work due to lack of page loading complete: http://trac.wxwidgets.org/ticket/14326
from tribler.
HTML dynamic rewriting is seen as a difficult technical problem.
Either this will need significant engineering effort, a smart & fancy solution or we simply avoid this issue and alter course.
from tribler.
Your comments don't seem to be true, according to the ticket you referenced the runscript command will not work until the page is fully loaded. Therefore, simply waiting for the page to be fully loaded seems to be fine.
If we want to replace/modify urls in the video tag, then we can simply pass all http traffic through a proxy which rewrites the html.
from tribler.
after initial work and results the following target as end-goal was discussed:
single-page web mirror service; eternal availability of wikipedia and wikileaks.
from tribler.
from tribler.
RunScript issue (mystery segfault) resolved:
You cannot access a wx.html2.WebView
object's RunScript
outside of the main App event dispatch loop.
For seperate threads this must be invoked using the wx.CallAfter
function.
For example here is a function that waits for an initial load of a webpage and executes some javascript on it:
def execute_on_load(browser, javascript):
'''browser: wx.html2.WebView object
javascript: string containing javascript code
'''
while (browser.GetCurrentURL() == "about:blank"):
time.sleep(0.3)
wx.CallAfter(browser.RunScript, javascript)
from tribler.
Status update:
With the wx functionality implemented in the latest wxPython version (Phoenix) we can now parse any webpage (not just wikipedia and wikileaks pages) and have its local copy look good.
Even though Phoenix murders all applications based on previous wxPython versions, we have managed to port Tribler to it (albeit with some deprecation warnings).
from tribler.
For what I can see, this is an unreleased development branch of WX.
Are we planning on using this on production versions of Tribler? (and hence packaging for all our supported platforms)
from tribler.
Ticket done: bsc thesis completed
"Closing the gap between the Web and Peer to Peer"
http://repository.tudelft.nl/view/ir/uuid%3Ac51e551d-22a6-46e8-ba56-0109bb134ae7/
Abstract
During the course of Q4 of the 2012-2013 academic year, we have worked on the project of a Peer-to-Peer web browser. After a two week orientation phase, a six week programming phase and nally another two week reporting phase we deliver our product. The final result of this endeavor is an integrated web browser in the Tribler platform, which supports automatic retrieval and distribution of resources encountered on the web page.
from tribler.
Related Issues (20)
- [7.13.3] Some database queries can be very slow HOT 1
- [7.13.3] Investigating reasons for CoreConnectTimeoutError
- Segfault on MacOS on main branch build HOT 3
- Popular Page is empty. HOT 1
- UI Layout for the Add Torrent button is corrupted HOT 2
- Reports to Sentry are silently ignored on some Tribler installations
- ProactorEventLoop bug reproduced: UDP server stops accepting datagrams from any clients after a single client disconnects HOT 1
- `SearchResultsModel` performs queries without text
- [7.13.3] PermissionError: [Errno 13] Permission denied: <filepath>
- Health notification is not being sent to the GUI
- [7.13.3] ValueError: bit must be 0 or 1, got 4
- `Stale.yml` Node.js 16 actions are deprecated
- `Gatekeeper.yml` gatekeeper Label check failed: required 1 of 'PR: safe to check', but found 0. HOT 1
- is_frozen() returns the wrong result when the Tribler binary is built with cx_freeze instead of PyInstaller
- [7.14 release branch] PyInstaller refuses to build Tribler on Mac
- `guitest` is failing HOT 1
- After upgrade to 7.14.0 http_port keeps changing and api does not work HOT 27
- GUI tests are order dependent
- No matching distribution found for libtorrent==1.2.19 for macOS HOT 1
- [7.14.0] ValueError: invalid literal for int() with base 10 (in DownloadManager.set_proxy_settings) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tribler.