7557d6779b
I think i should sleep... I skip even simple things like initialize the variable |
||
---|---|---|
data | ||
docs | ||
install | ||
locales | ||
misc | ||
ServiceAPI | ||
storage | ||
themepacks | ||
tmp | ||
VKAPI | ||
Web | ||
.gitignore | ||
bootstrap.php | ||
composer.json | ||
composer.lock | ||
COPYING | ||
crowdin.yml | ||
docker-compose.yml | ||
Dockerfile | ||
manifest.yml | ||
openvk-example.yml | ||
quirks.yml | ||
README.md | ||
Vagrantfile |
OpenVK
OpenVK is an attempt to create a simple CMS that cosplays imitates old VK. Code provided here is not stable yet.
VKontakte belongs to Pavel Durov and VK Group.
To be honest, we don't even know whether 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 OVK account for this).
When's the release?
Please use the master branch, as it has the most changes.
Updating the source code is done with this command: git pull
Instances
Can I create my own OpenVK instance?
Yes! And you're 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. this 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, web-server, Composer, Node.js, Yarn and Chandler
- PHP 8 has not yet been tested, so you should not expect it to work.
- 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 same database you installed Chandler to - Import
install/init-event-db.sql
to separate database - Copy
openvk-example.yml
toopenvk.yml
and change options - Run
composer install
in OpenVK directory - Move to
Web/static/js
and executeyarn install
- Generate the private and public OpenSSL keys by running
openssl genrsa -out data/private.pem 2048
andopenssl rsa -in data/private.pem -outform PEM -pubout -out data/public.pem
in OpenVK directory - 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 before using the built-in account.
Full example installation instruction for CentOS 8 is also available here.
If my website uses OpenVK, should I publish it's sources?
You are encouraged to do so. We don't enforce this though. You can keep your sources to yourself (unless you distribute your OpenVK distro to other people). You also not required to publish source texts of your themepacks and plugins.
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.
- Discussions
Attention: bug tracker and telegram chat are public places. And ticketing system is being served by volunteers. If you need to report something, that shouldn't be immediately disclosed to general public (for instance, vulnerability report), please use contact us directly at this email: openvk [at] tutanota [dot] com