OpenVK/openvk
11
19
Fork
You've already forked openvk
0
Not-yet-federated open source social network inspired by VK. Mirror of https://github.com/openvk/openvk https://openvk.su
PHP 59.3%
JavaScript 29.5%
CSS 8.1%
Latte 2.3%
Shell 0.4%
Other 0.4%
Find a file
Life'sMinder 877b3fba04
upd(locale-arm): Mass update ( #1467 )
Refreshed localization, which was last applied 2-3 years ago, some
strings were updated
2026年01月12日 13:05:32 +03:00
.github feat(docker): run migrations on image start & remove special DB images ( #1398 ) 2025年08月04日 23:27:19 +03:00
CLI fix(api): implement pending uploads cleanup and enhanced error response ( #1384 ) 2025年07月15日 23:19:30 +03:00
data fix(API): users bdate field, can edit/delete comments ( #1359 ) 2025年06月29日 17:12:55 +03:00
Email Некоторые измения в шаблонах писем (Не тестировал) ( #1125 ) 2024年12月20日 16:21:31 +03:00
install feat(topics): ability to restrict comments in topics for non-admins ( #1445 ) 2025年11月23日 13:44:25 +00:00
locales upd(locale-arm): Mass update ( #1467 ) 2026年01月12日 13:05:32 +03:00
misc Initial commit 2020年06月07日 19:04:43 +03:00
ServiceAPI feat(core): add phpstan for static analysis ( #1223 ) 2025年03月09日 16:03:33 +03:00
storage Fix missing dirs 2020年06月07日 21:36:55 +03:00
themepacks chore: resign Lumaeris from dev force ( #1427 ) 2025年10月23日 06:31:53 +00:00
tmp/api-storage Add photos.save, photos.saveWallPhoto, photos.saveOwnerPhoto, photos.getUploadServer 2022年03月29日 20:43:34 +03:00
VKAPI fix(api): Add null check for friend_status in Users ( #1462 ) 2026年01月07日 15:04:52 +03:00
Web security: sanitize getFullName() output to prevent XSS ( #1463 ) 2025年12月29日 17:46:49 +03:00
.gitignore feat: add linting of code ( #1220 ) 2025年01月31日 18:20:13 +03:00
.php-cs-fixer.dist.php style: add linting for openvkctl script ( #1222 ) 2025年01月31日 19:17:59 +03:00
bootstrap.php feat: database upgrade command ( #1236 ) 2025年05月19日 23:38:47 +03:00
chandler_loader.php feat(core): add phpstan for static analysis ( #1223 ) 2025年03月09日 16:03:33 +03:00
CODE_OF_CONFLICT.md Rename CoC and CS files 2022年05月23日 16:25:27 +03:00
composer.json feat(core): add phpstan for static analysis ( #1223 ) 2025年03月09日 16:03:33 +03:00
composer.lock feat(core): add phpstan for static analysis ( #1223 ) 2025年03月09日 16:03:33 +03:00
COPYING Change license to less restrictive LGPLv2.1 2020年06月14日 19:56:16 +03:00
crowdin.yml Update Crowdin configuration file 2021年09月13日 19:17:49 +03:00
DBEntity.updated.php feat: add linting of code ( #1220 ) 2025年01月31日 18:20:13 +03:00
manifest.yml Global: Get rid of OpenVK 2 branding ( #105 ) 2021年10月31日 18:29:52 +07:00
openvk-example.yml feat(rate_limits) ( #1353 ) 2025年06月29日 17:11:33 +03:00
openvkctl fix(api): implement pending uploads cleanup and enhanced error response ( #1384 ) 2025年07月15日 23:19:30 +03:00
openvkctl.cmd feat: database upgrade command ( #1236 ) 2025年05月19日 23:38:47 +03:00
phpstan.neon feat(core): add phpstan for static analysis ( #1223 ) 2025年03月09日 16:03:33 +03:00
quirks.yml feat(profile): fav games & custom fields ( #1193 ) 2024年12月20日 17:34:29 +03:00
README.md chore(repo): change recommended php ver to 8.2 ( #1208 ) 2025年01月16日 01:03:16 +03:00
README_RU.md chore(repo): change recommended php ver to 8.2 ( #1208 ) 2025年01月16日 01:03:16 +03:00
Vagrantfile Update vagrantfile (i'm still not sure it works) 2022年04月10日 18:15:19 +03:00

openvkOpenVK

Русский

OpenVK is an attempt to create a simple CMS that (削除) cosplays (削除ここまで) imitates old VKontakte. Code provided here is not stable yet.

This is fan project, not affiliated in any way with VKontakte and it's company VK Ltd. Below is the same message in russian.

OpenVK является любительской разработкой и никак не связан с ВКонтакте и компанией ООО "VK"

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 (use git 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.

System requirements

Here is our minimum hardware recommendation:

  • CPU: Recent (AMD Zen2 or equivalent) quad-core 2GHz+ CPU
  • RAM: At least 2GB RAM (we recommend 6GB or 8GB for OpenVK with Kafka)
  • Minimum database space: 10GB

Installation procedure

  1. Install PHP 8.2, web-server, Composer, Node.js, NPM and Chandler
  • PHP 8 is still being tested; the functionality of the engine on this version of PHP is not yet guaranteed.
  1. 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 and utf8mb4_unicode_520_ci with utf8 and utf8_unicode_ci in SQLs.
  1. 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
  1. 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/
  1. Import install/init-static-db.sql to the same database you installed Chandler to and import all sqls from install/sqls to the same database
  2. Import install/init-event-db.sql to a separate database (Yandex.Clickhouse can also be used, highly recommended)
  3. Copy openvk-example.yml to openvk.yml and change options to your liking
  4. Run composer install in OpenVK directory
  5. Run composer install in commitcaptcha directory
  6. Move to Web/static/js and execute npm install
  7. Set openvk as your root app in chandler.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 its 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:

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: contact [at] ovk [dot] to

Get it on Codeberg