Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
izmukx committed Oct 30, 2017
1 parent 86792bf commit 5331a5b
Show file tree
Hide file tree
Showing 29 changed files with 2,545 additions and 0 deletions.
59 changes: 59 additions & 0 deletions README.md
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)
38 changes: 38 additions & 0 deletions TorBridgesCollector.pro
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
24 changes: 24 additions & 0 deletions aboutpage.cpp
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;
}
28 changes: 28 additions & 0 deletions aboutpage.h
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
175 changes: 175 additions & 0 deletions aboutpage.ui
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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Notice&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:16pt; font-weight:600;&quot;&gt;About Tor Bridges Collector&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>
Loading

0 comments on commit 5331a5b

Please sign in to comment.