-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
2,545 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<img src="info/logo.png"> | ||
|
||
## Tor Bridges Collector | ||
|
||
<img src="info/screenshot.png"> | ||
|
||
Collects Tor bridges, so you don't have to. | ||
|
||
Tor Bridges Collector helps you frequently update your Tor bridges list. | ||
It also has options for modifying your torrc with new bridges on each retrieval, and storing all previously retrieved bridges in a file. | ||
|
||
# Install | ||
|
||
### From releases | ||
|
||
[Download precompiled binaries](https://github.com/izmukx/TorBridgesCollector/releases) | ||
|
||
|
||
### Building from sources | ||
|
||
|
||
**On Linux** | ||
|
||
Clone Tor Bridges Collector's repository | ||
|
||
``` | ||
git clone https://github.com/izmukx/TorBridgesCollector.git | ||
``` | ||
|
||
Run qmake | ||
|
||
``` | ||
qmake TorBridgesCollector.pro -spec linux-g++ | ||
``` | ||
|
||
Run make | ||
|
||
``` | ||
make | ||
``` | ||
|
||
Open the binary | ||
|
||
``` | ||
./TorBridgesCollector | ||
``` | ||
|
||
**On Windows** | ||
|
||
The easiest way probably would be to download [Qt Creator](https://download.qt.io), import the project and build it there. | ||
|
||
|
||
## LICENSE | ||
Tor Bridges Collector is being distributed under [GNU LGPL version 3 License](https://github.com/izmukx/TorBridgesCollector/blob/master/LICENSE) | ||
|
||
## NOTICE | ||
This product is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else. | ||
|
||
Created by [izmukx](https://izmukx.github.io) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
QT += core gui network | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = TorBridgesCollector | ||
TEMPLATE = app | ||
|
||
RC_ICONS = images/icon.ico | ||
|
||
DEFINES += QT_DEPRECATED_WARNINGS | ||
|
||
SOURCES += \ | ||
main.cpp \ | ||
torbridgescollector.cpp \ | ||
settingsdialog.cpp \ | ||
getbridgeswindow.cpp \ | ||
entercaptcha.cpp \ | ||
aboutpage.cpp \ | ||
showqrcode.cpp | ||
|
||
HEADERS += \ | ||
torbridgescollector.h \ | ||
settingsdialog.h \ | ||
getbridgeswindow.h \ | ||
entercaptcha.h \ | ||
aboutpage.h \ | ||
showqrcode.h | ||
|
||
FORMS += \ | ||
torbridgescollector.ui \ | ||
settingsdialog.ui \ | ||
getbridgeswindow.ui \ | ||
entercaptcha.ui \ | ||
aboutpage.ui \ | ||
showqrcode.ui | ||
|
||
RESOURCES += \ | ||
torbridgescollector.qrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#include "aboutpage.h" | ||
#include "ui_aboutpage.h" | ||
|
||
AboutPage::AboutPage(QWidget *parent) : | ||
QDialog(parent), | ||
ui(new Ui::AboutPage) | ||
{ | ||
ui->setupUi(this); | ||
} | ||
|
||
void AboutPage::on_visitTorPage_clicked() | ||
{ | ||
QDesktopServices::openUrl(QUrl("https://www.torproject.org")); | ||
} | ||
|
||
void AboutPage::on_visitCreatorsPage_pressed() | ||
{ | ||
QDesktopServices::openUrl(QUrl("https://izmukx.github.io")); | ||
} | ||
|
||
AboutPage::~AboutPage() | ||
{ | ||
delete ui; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#ifndef ABOUTPAGE_H | ||
#define ABOUTPAGE_H | ||
|
||
#include <QDialog> | ||
#include <QDesktopServices> | ||
#include <QUrl> | ||
|
||
namespace Ui { | ||
class AboutPage; | ||
} | ||
|
||
class AboutPage : public QDialog | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
explicit AboutPage(QWidget *parent = 0); | ||
~AboutPage(); | ||
|
||
private slots: | ||
void on_visitTorPage_clicked(); | ||
void on_visitCreatorsPage_pressed(); | ||
|
||
private: | ||
Ui::AboutPage *ui; | ||
}; | ||
|
||
#endif // ABOUTPAGE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>AboutPage</class> | ||
<widget class="QDialog" name="AboutPage"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>442</width> | ||
<height>269</height> | ||
</rect> | ||
</property> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>442</width> | ||
<height>269</height> | ||
</size> | ||
</property> | ||
<property name="maximumSize"> | ||
<size> | ||
<width>442</width> | ||
<height>269</height> | ||
</size> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>About Tor Bridges Collector</string> | ||
</property> | ||
<widget class="QDialogButtonBox" name="buttonBox"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>20</x> | ||
<y>220</y> | ||
<width>401</width> | ||
<height>32</height> | ||
</rect> | ||
</property> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="standardButtons"> | ||
<set>QDialogButtonBox::Ok</set> | ||
</property> | ||
<property name="centerButtons"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>20</x> | ||
<y>90</y> | ||
<width>231</width> | ||
<height>101</height> | ||
</rect> | ||
</property> | ||
<property name="font"> | ||
<font> | ||
<pointsize>9</pointsize> | ||
</font> | ||
</property> | ||
<property name="text"> | ||
<string>This product is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.</string> | ||
</property> | ||
<property name="textFormat"> | ||
<enum>Qt::PlainText</enum> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignCenter</set> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_2"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>20</x> | ||
<y>70</y> | ||
<width>231</width> | ||
<height>31</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:600;">Notice</span></p></body></html></string> | ||
</property> | ||
</widget> | ||
<widget class="QPushButton" name="visitTorPage"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>270</x> | ||
<y>90</y> | ||
<width>161</width> | ||
<height>31</height> | ||
</rect> | ||
</property> | ||
<property name="font"> | ||
<font> | ||
<pointsize>9</pointsize> | ||
</font> | ||
</property> | ||
<property name="text"> | ||
<string>Visit Tor Project's Website</string> | ||
</property> | ||
</widget> | ||
<widget class="QPushButton" name="visitCreatorsPage"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>270</x> | ||
<y>130</y> | ||
<width>161</width> | ||
<height>31</height> | ||
</rect> | ||
</property> | ||
<property name="font"> | ||
<font> | ||
<pointsize>9</pointsize> | ||
</font> | ||
</property> | ||
<property name="text"> | ||
<string>Visit tool creator's page</string> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_3"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>20</x> | ||
<y>10</y> | ||
<width>401</width> | ||
<height>51</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p align="center"><span style=" font-size:16pt; font-weight:600;">About Tor Bridges Collector</span></p></body></html></string> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignCenter</set> | ||
</property> | ||
</widget> | ||
</widget> | ||
<resources/> | ||
<connections> | ||
<connection> | ||
<sender>buttonBox</sender> | ||
<signal>accepted()</signal> | ||
<receiver>AboutPage</receiver> | ||
<slot>accept()</slot> | ||
<hints> | ||
<hint type="sourcelabel"> | ||
<x>248</x> | ||
<y>254</y> | ||
</hint> | ||
<hint type="destinationlabel"> | ||
<x>157</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
<connection> | ||
<sender>buttonBox</sender> | ||
<signal>rejected()</signal> | ||
<receiver>AboutPage</receiver> | ||
<slot>reject()</slot> | ||
<hints> | ||
<hint type="sourcelabel"> | ||
<x>316</x> | ||
<y>260</y> | ||
</hint> | ||
<hint type="destinationlabel"> | ||
<x>286</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
</connections> | ||
</ui> |
Oops, something went wrong.