a859fa13a5
* VKAPI: Fix bug when DELETED user appear if there is no user_ids * Textarea: Make multiple attachments * постмодернистское искусство * Use only attachPic for grabbing pic attachments TODO throw flashFail on bruh moment with pic attachments * draft masonry picture layout in posts xddd где мои опиаты??? * fix funny typos in computeMasonryLayout * Fix video bruh moment in textarea * Posts: add multiple kakahi for microblog * Photo: Add minimal implementation of миниатюра открывашка Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com> * Photo: Add ability to slide trough photos in one post This also gives ability to easily implement comments and actions * Photo: The Fxck Is This implementation of comments under photo in viewer * FloatingPhotoViewer: Better CSS - Fix that details background issue - Make slide buttons slightly shorter by height * FloatingPhotoViewer: Refactor, and make it better - Now you can actually check the comments under EVERY photo - Fix for textarea. Now you can publish comments * Fix funny typos xddd * Kinda fix poll display in non-microblog posts * Posts: Fix poll display in microblog posts * Add photos picker (#986) * early implementation of photos pickir Добавлен пикер фоточек и быстрая загрузка фото. Так же пофикшен просмотрщик фото в группах. Но, правда, я сломал копипейст, но это ладн. * Fiks fotos viver four coments. * Add picking photos from clubs albums Копипейст и граффити так и не пофикшены * Fix graffiti and copypaste Какого-то хуя копипаста у постов срабатывает два раза. * some fixesx * dragon drop * Fix PHP 8 compatibility * 5 (#988) --------- Co-authored-by: celestora <kitsuruko@gmail.com> Co-authored-by: Daniel <60743585+myslivets@users.noreply.github.com> Co-authored-by: lalka2016 <99399973+lalka2016@users.noreply.github.com> Co-authored-by: Alexander Minkin <weryskok@gmail.com> |
||
---|---|---|
.github | ||
CLI | ||
data | ||
install | ||
locales | ||
misc | ||
ServiceAPI | ||
storage | ||
themepacks | ||
tmp/api-storage | ||
VKAPI | ||
Web | ||
.gitignore | ||
bootstrap.php | ||
CODE_OF_CONFLICT.md | ||
CODE_STYLE.md | ||
composer.json | ||
COPYING | ||
crowdin.yml | ||
DBEntity.updated.php | ||
manifest.yml | ||
openvk-example.yml | ||
openvkctl | ||
quirks.yml | ||
README.md | ||
README_RU.md | ||
Vagrantfile |
OpenVK
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.
To be honest, we don't know whether if it even works. However, this version is maintained and we will be happy to accept your bugreports in our bug tracker. You should also be able to submit them using ticketing system (you will need an OpenVK account for this).
When's the release?
We will release OpenVK as soon as it's ready. As for now, you can:
git clone
this repo's master branch (usegit pull
to update)- Grab a prebuilt OpenVK distro from GitHub artifacts
Instances
A list of instances can be found in our wiki of this repository.
Can I create my own 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).
If you want, you can add your instance to the list above so that people can register there.
Installation procedure
- Install PHP 7.4, web-server, Composer, Node.js, Yarn and Chandler
- PHP 8.1 is supported too, however it was not tested carefully, so be aware.
- Install MySQL-compatible database.
- We recommend using Percona Server, but any MySQL-compatible server should work too.
- Server should be compatible with at least MySQL 5.6, MySQL 8.0+ is recommended.
- Support for MySQL 4.1+ is WIP, replace
utf8mb4
andutf8mb4_unicode_520_ci
withutf8
andutf8_unicode_ci
in SQLs.
- Install commitcaptcha and OpenVK as Chandler extensions like this:
git clone https://github.com/openvk/openvk /path/to/chandler/extensions/available/openvk
git clone https://github.com/openvk/commitcaptcha /path/to/chandler/extensions/available/commitcaptcha
- And enable them:
ln -s /path/to/chandler/extensions/available/commitcaptcha /path/to/chandler/extensions/enabled/
ln -s /path/to/chandler/extensions/available/openvk /path/to/chandler/extensions/enabled/
- Import
install/init-static-db.sql
to the same database you installed Chandler to and import all sqls frominstall/sqls
to the same database - Import
install/init-event-db.sql
to a separate database (Yandex.Clickhouse can also be used, highly recommended) - Copy
openvk-example.yml
toopenvk.yml
and change options to your liking - Run
composer install
in OpenVK directory - Run
composer install
in commitcaptcha directory - Move to
Web/static/js
and executeyarn install
- Set
openvk
as your root app inchandler.yml
Once you are done, you can login as a system administrator on the network itself (no registration required):
- Login:
admin@localhost.localdomain6
- Password:
admin
- It is recommended to change the password of the built-in account or disable it.
💡Confused? Full installation walkthrough is available here (CentOS 8 and family).
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?
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).
Where can I get assistance?
You may reach out to us via:
- Bug Tracker
- Ticketing System
- Telegram Chat: Go to our channel and open discussion in our channel menu.
- GitHub Discussions
- Matrix Chat: #openvk:matrix.org
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