{"id":13491302,"url":"https://github.com/ninsuo/twigfiddle","last_synced_at":"2025-08-21T06:30:56.032Z","repository":{"id":19226187,"uuid":"22460622","full_name":"ninsuo/twigfiddle","owner":"ninsuo","description":"twigfiddle.com provides a small development environment to develop, run, store and access Twig code online.","archived":false,"fork":false,"pushed_at":"2024-05-30T16:02:52.000Z","size":52566,"stargazers_count":139,"open_issues_count":18,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-07T18:04:16.488Z","etag":null,"topics":["fiddle","twig"],"latest_commit_sha":null,"homepage":"https://twigfiddle.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ninsuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-07-31T07:32:30.000Z","updated_at":"2024-11-26T14:51:54.000Z","dependencies_parsed_at":"2024-11-24T06:03:06.939Z","dependency_job_id":null,"html_url":"https://github.com/ninsuo/twigfiddle","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninsuo%2Ftwigfiddle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninsuo%2Ftwigfiddle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninsuo%2Ftwigfiddle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninsuo%2Ftwigfiddle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninsuo","download_url":"https://codeload.github.com/ninsuo/twigfiddle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230494921,"owners_count":18235046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fiddle","twig"],"created_at":"2024-07-31T19:00:55.400Z","updated_at":"2024-12-19T20:08:11.067Z","avatar_url":"https://github.com/ninsuo.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Down right nwo\n\nI need to change twigfiddle's hosting but have no time to correctly reinstall it yet.\n\nIt will be back within a couple of weeks (probably mid-june to be sure).\n\nYour data have been backed up.\n\nCheers\n\n# Welcome\n\nThis is the project's repository, come here if you found a bug, if you want to request new features or if you want to contribute.\n\nIf you need help to use twigfiddle, please read the twigfiddle's [help page](https://twigfiddle.com/about).\n\n# Some words about the project\n\nThe project is made of 2 applications:\n\n- cli directory contains the fiddle runner, an application built using Symfony components to execute a fiddle.\n\n- web directory contains the web application, built using the Symfony framework\n\nAbout the other directories:\n\n- resources directory contains specification documentations, logo source and original integrated design.\n\n- samples contains exported fiddles (see app/console custom commands)\n\n- environment is the default directory containing fiddles at runtime\n\n- debug is the default directory where crashed fiddles are stored\n\n# Installation\n\nHere are instructions to get started with the application.\nOf course, replace paths to fit with your own environment.\n\n```sh\n# Clone the project\ngit clone https://github.com/ninsuo/twigfiddle.git twigfiddle\ncd twigfiddle\n\n# install Composer\nphp -r \"readfile('https://getcomposer.org/installer');\" | php\nsudo mv composer.phar /usr/bin/composer\nsudo chmod 755 /usr/bin/composer\n\n# Install the fiddle runner and prepare all twig versions\ncd cli\ncomposer install\ncd twig\nsh prepare.sh\ncd ../../\n\n# Install the web application\n# composer update will fail when trying to remove apc cache, that's normal at this step\ncd web\ncomposer install\n\n# Install the database\n# You should create it yourself, from mysql, type:\n# CREATE DATABASE twigfiddle\n# GRANT ALL PRIVILEGES ON twigfiddle.* To '\u003cuser\u003e'@'127.0.0.1' IDENTIFIED BY '\u003cpassword\u003e';\nphp app/console doctrine:schema:drop --force\nphp app/console doctrine:schema:create\nphp app/console twigfiddle:import ../samples/*\n\n# Check that everything is working properly\ncomposer update\nphp app/check.php\nphpunit tests\n\n# Launch the application\nphp app/console server:start\nopen http://127.0.0.1:8000/hello\n```\n\n# Automatically download, install and configure new Twig releases\n\nSimply run the following command:\n\n```sh\nphp cli/run-prod.php twigfiddle:release:watcher\n```\n\n# Upgrade for installs before 01/11/2016\n\nUser provider have been refactored ( see #18 ), you need to run the following queries to upgrade twigfiddle schema.\n\n```sql\nalter table user add column nickname varchar(255) not null after username;\nupdate user set nickname = username;\nupdate user set username = concat('[\"', resource_owner, '\",\"', resource_owner_id, '\"]');\n```\n\n# Configure external services\n\nDon't panic, that's optional.\n\n- Google Login: https://console.developers.google.com/project\n- Facebook Login: https://developers.facebook.com/apps/\n- Twitter Login: https://apps.twitter.com/\n- SensioLabs Connect Login: https://connect.sensiolabs.com/account/apps\n- GitHub Login: https://github.com/settings/developers\n- reCaptcha: https://www.google.com/recaptcha/admin\n- Google Analytics: https://www.google.com/analytics/web/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninsuo%2Ftwigfiddle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninsuo%2Ftwigfiddle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninsuo%2Ftwigfiddle/lists"}