{"id":22478122,"url":"https://github.com/phantomydn/wicket-console","last_synced_at":"2025-08-02T13:31:38.636Z","repository":{"id":16610666,"uuid":"19365464","full_name":"PhantomYdn/wicket-console","owner":"PhantomYdn","description":"Web Console for Apache Wicket","archived":false,"fork":false,"pushed_at":"2020-10-10T02:17:56.000Z","size":115,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T13:02:50.227Z","etag":null,"topics":["apache-wicket","console","developer-tools","java","wicket"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhantomYdn.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}},"created_at":"2014-05-02T03:58:47.000Z","updated_at":"2020-10-10T02:17:58.000Z","dependencies_parsed_at":"2022-09-11T06:22:12.461Z","dependency_job_id":null,"html_url":"https://github.com/PhantomYdn/wicket-console","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fwicket-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fwicket-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fwicket-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fwicket-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhantomYdn","download_url":"https://codeload.github.com/PhantomYdn/wicket-console/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228475990,"owners_count":17926134,"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":["apache-wicket","console","developer-tools","java","wicket"],"created_at":"2024-12-06T14:13:27.988Z","updated_at":"2024-12-06T14:13:28.871Z","avatar_url":"https://github.com/PhantomYdn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/PhantomYdn/wicket-console.svg?branch=master)](https://travis-ci.org/PhantomYdn/wicket-console) [![Coverage Status](https://img.shields.io/coveralls/PhantomYdn/wicket-console.svg)](https://coveralls.io/r/PhantomYdn/wicket-console) [![Dependency Status](https://www.versioneye.com/user/projects/572bd903a0ca35005084085a/badge.svg?style=flat)](https://www.versioneye.com/user/projects/572bd903a0ca35005084085a)\n\nwicket-console\n==============\n\nWicket Console for JVM 1.8+\n\nKey features:\n\n1. Very small size (\u003c35Kb)\n2. Ajax enabled\n3. Contextual\n  * ScriptContext is stored on server side: you can write function and then call from subsequent commands\n4. Embeddedable into your wicket pages\n5. Available throught Wicket DebugBar panel\n  * Dependency to wicket-devutils is optional\n6. Pluggable architecture for script engines: you can write your own!\n\nInstallation\n------------\nTo use wicket console library in your code add following into your pom.xml\n```xml\n\t\t\u003cdependency\u003e\n\t\t      \u003cgroupId\u003eru.ydn.wicket.wicket-console\u003c/groupId\u003e\n\t\t      \u003cartifactId\u003ewicket-console\u003c/artifactId\u003e\n\t\t      \u003cversion\u003e1.x\u003c/version\u003e\n\t\t\u003c/dependency\u003e\n```\n\nThen you should either enable Wicket DebugBar in your code. \n```java\npublic class MyPage extends WebPage {\n\n\tpublic MyPage(final PageParameters parameters) {\n\t\tsuper(parameters);\n...\n\t\tadd(new DebugBar(\"debugBar\"));\n    }\n}\n\n```\n\nor you can add WicketConsolePanel on a required page\n```java\npublic class MyPage extends WebPage {\n\n\tpublic MyPage(final PageParameters parameters) {\n\t\tsuper(parameters);\n...\n    add(new WicketConsolePanel(\"console\"));\n    }\n}\n\n```\n\nDemo\n----\n\nBuild project:\n```bash\ncd wicket-console\nmvn clean install\n```\nRun demo:\n```bash\ncd wicket-console-demo\nmvn jetty:run\n```\nThen goto http://localhost:8080/\n\nExamples\n--------\nPrint all properties of application\n```javascript\nfor(var p in org.apache.wicket.Application.get())\n{\n   println(p);\n}\n```\n\nMath calculation\n```javascript\n1+Math.sin(1)*2\n```\n\nMultiply last results by 2\n```javascript\n$result*2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomydn%2Fwicket-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphantomydn%2Fwicket-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomydn%2Fwicket-console/lists"}