forked from OpenVK/openvk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'instance_mtn' into pure-openvk
- Loading branch information
Showing
77 changed files
with
772 additions
and
310 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
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# <img align="right" src="https://github.com/openvk/openvk/raw/master/Web/static/img/logo_shadow.png" alt="openvk" title="openvk" width="15%">OpenVK | ||
# <img align="right" src="https://github.com/openvk/openvk/raw/master/Web/static/img/logo_shadow.png" alt="openvk" title="openvk" width="15%">Astorium | ||
|
||
_[Русский](README_RU.md)_ | ||
|
||
_**Astorium** - fork based on [OpenVK OSS project](https://github.com/openvk/openvk) and designed for your needs and requirements._ | ||
|
||
**OpenVK** is an attempt to create a simple CMS that ~~cosplays~~ imitates old VKontakte. Code provided here is not stable yet. | ||
|
||
VKontakte belongs to Pavel Durov and VK Group. | ||
|
@@ -16,19 +18,26 @@ We will release OpenVK as soon as it's ready. As for now, you can: | |
|
||
## Instances | ||
|
||
A list of instances can be found in [our wiki of this repository](https://github.com/openvk/openvk/wiki/Instances). | ||
* **[openvk.su](https://openvk.su/)** | ||
* **[openvk.uk](https://openvk.uk)** ([mirror](https://t.me/openvk/1609)) | ||
* **[openvk.co](http://openvk.co)** (mirror [without TLS](https://t.me/openvk/1654)) | ||
* [social.fetbuk.ru](http://social.fetbuk.ru/) | ||
* [vepurovk.xyz](http://vepurovk.xyz/) | ||
* [vepurovk.fun](http://vepurovk.fun/) (mirror without TLS) | ||
* [ovk.tinelix.ru](https://ovk.tinelix.ru) | ||
* [mirror without TLS](http://ovk.tinelix.ru) | ||
|
||
## Can I create my own OpenVK instance? | ||
## Can I create my own Tinelix Astorium / OpenVK instance? | ||
|
||
Yes! And you are very welcome to. | ||
|
||
However, OVK makes use of Chandler Application Server. This software requires extensions, that may not be provided by your hosting provider (namely, sodium and yaml. these extensions are available on most of ISPManager hostings). | ||
However, Astorium (like OpenVK) makes use of Chandler Application Server. This software requires extensions, that may not be provided by your hosting provider (namely, sodium and yaml. these extensions are available on most of ISPManager hostings). | ||
|
||
If you want, you can add your instance to the list above so that people can register there. | ||
|
||
### Installation procedure | ||
|
||
1. Install PHP 7.4, web-server, Composer, Node.js, Yarn and [Chandler](https://github.com/openvk/chandler) | ||
1. Install PHP 7.4, web-server, Composer, Node.js 10+, Yarn and [Chandler](https://github.com/openvk/chandler) | ||
|
||
* PHP 8.1 is supported too, however it was not tested carefully, so be aware. | ||
|
||
|
@@ -41,7 +50,7 @@ If you want, you can add your instance to the list above so that people can regi | |
3. Install [commitcaptcha](https://github.com/openvk/commitcaptcha) and OpenVK as Chandler extensions like this: | ||
|
||
```bash | ||
git clone https://github.com/openvk/openvk /path/to/chandler/extensions/available/openvk | ||
git clone https://github.com/tinelix/astorium /path/to/chandler/extensions/available/openvk | ||
git clone https://github.com/openvk/commitcaptcha /path/to/chandler/extensions/available/commitcaptcha | ||
``` | ||
|
||
|
@@ -57,21 +66,22 @@ ln -s /path/to/chandler/extensions/available/openvk /path/to/chandler/extensions | |
7. Copy `openvk-example.yml` to `openvk.yml` and change options to your liking | ||
8. Run `composer install` in OpenVK directory | ||
9. Run `composer install` in commitcaptcha directory | ||
10. Move to `Web/static/js` and execute `yarn install` | ||
10. Move to `Web/static/js` and execute `yarn install` or `yarnpkg install` | ||
11. Set `openvk` as your root app in `chandler.yml` | ||
12. Set permissions for all `сhandler` directories to 0777 (all read, write and execute permissions) if different | ||
|
||
Once you are done, you can login as a system administrator on the network itself (no registration required): | ||
|
||
* **Login**: `[email protected]` | ||
* **Password**: `admin` | ||
* It is recommended to change the password of the built-in account or disable it. | ||
* It is highly recommended to change the password of the built-in account or disable it. | ||
|
||
💡Confused? Full installation walkthrough is available [here](https://docs.openvk.uk/openvk_engine/centos8_installation/) (CentOS 8 [and](https://almalinux.org/) [family](https://yum.oracle.com/oracle-linux-isos.html)). | ||
|
||
### Looking for Docker or Kubernetes deployment? | ||
See `install/automated/docker/README.md` and `install/automated/kubernetes/README.md` for Docker and Kubernetes deployment instructions. | ||
|
||
### If my website uses OpenVK, should I release it's sources? | ||
### If my website uses Astorium / OpenVK, should I release it's sources? | ||
|
||
It depends. You can keep the sources to yourself if you do not plan to distribute your website binaries. If your website software must be distributed, it can stay non-OSS provided the OpenVK is not used as a primary application and is not modified. If you modified OpenVK for your needs or your work is based on it and you are planning to redistribute this, then you should license it under terms of any LGPL-compatible license (like OSL, GPL, LGPL etc). | ||
|
||
|
@@ -88,6 +98,5 @@ You may reach out to us via: | |
|
||
**Attention**: bug tracker, board, Telegram and Matrix chat are public places, ticketing system is being served by volunteers. If you need to report something that should not be immediately disclosed to general public (for instance, a vulnerability), please contact us directly via this email: **openvk [at] tutanota [dot] com** | ||
|
||
<a href="https://codeberg.org/OpenVK/openvk"> | ||
<img alt="Get it on Codeberg" src="https://codeberg.org/Codeberg/GetItOnCodeberg/media/branch/main/get-it-on-blue-on-white.png" height="60"> | ||
</a> | ||
## DISCLAIMER | ||
OpenVK and Astorium is not affiliated with or endorsed by VK PLC. |
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# <img align="right" src="https://github.com/openvk/openvk/raw/master/Web/static/img/logo_shadow.png" alt="openvk" title="openvk" width="15%">OpenVK | ||
# <img align="right" src="https://github.com/openvk/openvk/raw/master/Web/static/img/logo_shadow.png" alt="openvk" title="openvk" width="15%">Astorium | ||
|
||
_[English](README.md)_ | ||
|
||
_**Astorium** - форк, основанный на [OSS-проекте OpenVK](https://github.com/openvk/openvk) и разработан для своих нужд и потребностей._ | ||
|
||
**OpenVK** — это попытка создать простую CMS, которая ~~косплеит~~ имитирует старый ВКонтакте. На данный момент, представленный здесь исходный код проекта пока не является стабильным. | ||
|
||
ВКонтакте принадлежит Павлу Дурову и VK Group. | ||
|
@@ -16,19 +18,28 @@ _[English](README.md)_ | |
|
||
## Инстанции | ||
|
||
Список инстанций находится в [нашей вики этого репозитория](https://github.com/openvk/openvk/wiki/Instances-(RU)). | ||
* **[openvk.su](https://openvk.su/)** | ||
* **[openvk.uk](https://openvk.uk)** ([зеркало](<https://t.me/openvk/1609>)) | ||
* **[openvk.co](http://openvk.co)** (зеркало [без TLS](<https://t.me/openvk/1654>)) | ||
* [social.fetbuk.ru](http://social.fetbuk.ru/) | ||
* [vepurovk.xyz](http://vepurovk.xyz/) | ||
* **[vepurovk.fun](http://vepurovk.fun)** (зеркало без TLS) | ||
* [ovk.tinelix.ru](https://ovk.tinelix.ru) | ||
* [зеркало без TLS](http://ovk.tinelix.ru) | ||
|
||
## Могу ли я создать свою собственную инстанцию OpenVK? | ||
## Могу ли я создать свою собственную инстанцию Astorium / OpenVK? | ||
|
||
Да! И всегда пожалуйста. | ||
|
||
Однако, OpenVK использует Chandler Application Server. Это программное обеспечение требует расширений, которые могут быть не предоставлены вашим хостинг-провайдером (а именно, sodium и yaml. Эти расширения доступны на большинстве хостингов ISPManager). | ||
Однако, Astorium использует Chandler Application Server. Это программное обеспечение требует расширений, которые могут быть не предоставлены вашим хостинг-провайдером (а именно, sodium и yaml. Эти расширения доступны на большинстве хостингов ISPManager). | ||
|
||
Если хотите, вы можете добавить вашу инстанцию в список выше, чтобы люди могли зарегистрироваться там. | ||
|
||
### Процедура установки | ||
|
||
1. Установите PHP 7.4, веб-сервер, Composer, Node.js, Yarn и [Chandler](https://github.com/openvk/chandler) | ||
1. Установите PHP 7.4, веб-сервер, Composer, Node.js 10+, Yarn и [Chandler](https://github.com/openvk/chandler) | ||
|
||
_Для граждан РФ крайне важен [переход Composer на аполитический репозиторий](https://stackoverflow.com/a/76131122)._ | ||
|
||
* PHP 8 еще **не** тестировался, поэтому не стоит ожидать, что он будет работать (UPD: он не работает). | ||
|
||
|
@@ -59,19 +70,20 @@ ln -s /path/to/chandler/extensions/available/openvk /path/to/chandler/extensions | |
9. Запустите `composer install` в директории commitcaptcha | ||
10. Перейдите в `Web/static/js` и выполните `yarn install` | ||
11. Установите `openvk` в качестве корневого приложения в файле `chandler.yml` | ||
12. Выставите права во всех директориях `chandler` на 0777 (все права на чтение, запись и выполнение), если отличается | ||
|
||
После этого вы можете войти как системный администратор в саму сеть (регистрация не требуется): | ||
|
||
* **Логин**: `[email protected]` | ||
* **Пароль**: `admin` | ||
* Перед использованием встроенной учетной записи рекомендуется сменить пароль или отключить её. | ||
* Перед использованием встроенной учетной записи настоятельно рекомендуется сменить пароль или отключить её. | ||
|
||
💡Запутались? Полное руководство по установке доступно [здесь](https://docs.openvk.uk/openvk_engine/centos8_installation/) (CentOS 8 [и](https://almalinux.org/ru/) [семейство](https://yum.oracle.com/oracle-linux-isos.html)). | ||
|
||
# Установка в Docker/Kubernetes | ||
Подробные иструкции можно найти в `install/automated/docker/README.md` и `install/automated/kubernetes/README.md` соответственно. | ||
|
||
### Если мой сайт использует OpenVK, должен ли я публиковать его исходные тексты? | ||
### Если мой сайт использует Astorium / OpenVK, должен ли я публиковать его исходные тексты? | ||
|
||
Это зависит от обстоятельств. Вы можете оставить исходные тексты при себе, если не планируете распространять бинарники вашего сайта. Если программное обеспечение вашего сайта должно распространяться, оно может оставаться не-OSS при условии, что OpenVK не используется в качестве основного приложения и не модифицируется. Если вы модифицировали OpenVK для своих нужд или ваша работа основана на нем и вы планируете ее распространять, то вы должны лицензировать ее на условиях любой совместимой с LGPL лицензии (например, OSL, GPL, LGPL и т.д.). | ||
|
||
|
@@ -88,6 +100,5 @@ ln -s /path/to/chandler/extensions/available/openvk /path/to/chandler/extensions | |
|
||
**Внимание**: баг-трекер, форум, Telegram- и Matrix-чат являются публичными местами, и жалобы в OVK обслуживается волонтерами. Если вам нужно сообщить о чем-то, что не должно быть раскрыто широкой публике (например, сообщение об уязвимости), пожалуйста, свяжитесь с нами напрямую по этому адресу: **openvk [собачка] tutanota [точка] com**. | ||
|
||
<a href="https://codeberg.org/OpenVK/openvk"> | ||
<img alt="Get it on Codeberg" src="https://codeberg.org/Codeberg/GetItOnCodeberg/media/branch/main/get-it-on-blue-on-white.png" height="60"> | ||
</a> | ||
## ДИСКЛЕЙМЕР | ||
OpenVK и Astorium никак не связаны с компанией ООО "ВК" или не одобрены ею. |
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
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
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
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 |
---|---|---|
|
@@ -47,4 +47,4 @@ | |
{/ifset} | ||
{/if} | ||
</div> | ||
</div> | ||
</div> |
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
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
Oops, something went wrong.