Similar for php

TOOLS: Katacode contains editor, terminal, preview for creating tutorials

online ide

Does not support server side Interesting limits for hours, memory, hard, requests

free editor It is used by Redhat OpenShift, example for Rails app

Code-server uses VS (it is opensource alternative to VS Code Codespaces) can be installed on various platforms Install on ubuntu

curl -fsSL | sh
sudo systemctl enable --now [email protected]$USER
# Created symlink /etc/systemd/system/[email protected] → /lib/systemd/system/[email protected]

Configuration is inside ~/.config/code-server/config.yaml and data .local/share/code-server

vi .config/code-server/config.yaml
# change bind-addr:
# password
sudo service [email protected] restart Install Rancher and docker

curl | sh

# no need for sudo (you need to log out and log in again
sudo usermod  -aG docker orlovic

# run rancher container

sudo docker run --privileged -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher

# wait some time and that access ip of the virtual machine like

Trk Samples play with rails

Virtual IT lab

Main mission to help organize your own code idea. For example when I implement one feature in one project and than same thing on other project, than I improved it in first project. Next time I want to implement that feature I want te be able to find it easilly and last version.

Each example is pushed to our gitlab and new docker image is created and stored to gitlab docker repository.

Based on Play with docker SDK

Here is example of tutorial and output panel which is server under It just uses like

    <title>PWD SDK</title>
    <div id="myTerm" style="width: 500px; height: 500px;"></div>
      href="[email protected]/dist/styles.css"
    <script src="[email protected]/dist/pwd.min.js"></script>
      pwd = new PWD();
      pwd.newSession([{ selector: "#myTerm" }], { baseUrl: 'http://localhost'});

and inside docs you can use .term1 to direct commands to terminal or data-term to open server for current session

AWS deploy


TRK samples

Code can be run on providers like Heroku, AWS, Google cloud. Or locally with two commands: git clone ... && docker-compose up Normal visitors can see only the screenshots or static page. Paid PRO membership can play with the code online using codeserver and preview using play with docker (or similar). Everything should be open and visible, registration only when necessary.

Add tags so we can group them: rails7, without_node-importmaps Search projects by Topics

TODO: Make examples for nice ui ux like

Use FingleFile to download preview in one file