{"id":51253412,"url":"https://github.com/siguici/phi","last_synced_at":"2026-06-29T08:30:38.830Z","repository":{"id":315910882,"uuid":"1022093959","full_name":"siguici/phi","owner":"siguici","description":"A modern, high-performance scripting language with PHP-inspired syntax and TypeScript-like strong typing.","archived":false,"fork":false,"pushed_at":"2026-06-28T10:01:53.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-28T11:19:35.437Z","etag":null,"topics":["general-purpose","programming-language","scripting-language","siguici","siguilang","web-development"],"latest_commit_sha":null,"homepage":"","language":"V","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/siguici.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"siguici"}},"created_at":"2025-07-18T12:49:13.000Z","updated_at":"2026-06-28T10:01:57.000Z","dependencies_parsed_at":"2025-09-21T16:10:23.529Z","dependency_job_id":"b313bcbd-0367-4382-855f-4c0cc464c189","html_url":"https://github.com/siguici/phi","commit_stats":null,"previous_names":["siguici/siguilang","siguici/ske","siguici/phi"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/siguici/phi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fphi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fphi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fphi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fphi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siguici","download_url":"https://codeload.github.com/siguici/phi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fphi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34919882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["general-purpose","programming-language","scripting-language","siguici","siguilang","web-development"],"created_at":"2026-06-29T08:30:37.647Z","updated_at":"2026-06-29T08:30:38.824Z","avatar_url":"https://github.com/siguici.png","language":"V","funding_links":["https://github.com/sponsors/siguici"],"categories":[],"sub_categories":[],"readme":"# Phi \u003ca href=\"https://siguici.github.io/phi\" title=\"Phi\"\u003e\u003cimg src=\"https://github.com/siguici/art/blob/HEAD/images/phi-logo.svg?raw=true\" alt=\"φ\" height=\"24\"/\u003e\u003c/a\u003e\n\n**Phi** is a modern, high-performance programming language\ndesigned for simplicity, clarity, and expressive power.  \nBuilt with ❤️ in [Vlang](https://vlang.io).\n\n[![Build Status](https://github.com/siguici/phi/workflows/CI/badge.svg)](https://github.com/siguici/phi/actions)\n\n---\n\n## 🚀 Features\n\n- ✅ Lightweight and fast by design  \n- ✅ Optional, strong, or dynamic typing  \n- ✅ Clean and minimal syntax  \n- ✅ `.phi` source files  \n- ✅ Web and general-purpose scripting  \n- ✅ Built-in HTTP server  \n- ✅ Native routing, templating, and middleware  \n\n---\n\n## 🌟 Vision\n\n**Phi** redefines how code feels to write and read —\nexpressive, concise, and powerful.  \nIts architecture is designed for **multi-runtime execution**,\npaving the way for native support in environments like TypeScript, PHP, and Vlang.\n\n---\n\n## 📦 Installation\n\n\u003e ⚠️ **Requires [Vlang](https://vlang.io)**\n\n```bash\ngit clone https://github.com/siguici/phi\ncd phi\nv src -o phi\n./phi examples\n````\n\nOr build for production:\n\n```bash\nv -prod src -o phi\n./phi examples\n```\n\n## 🧪 Quick Start\n\nCreate a file `hello.phi`:\n\n```phi\nstring name = scan 'Enter your name: '\nif name {\n  print 'Hello ', name, '!'\n} else {\n  print \"Hello World!\"\n}\n```\n\nThen run it:\n\n```bash\n./phi run hello\n```\n\n---\n\n## 📄 Language Overview\n\n**Phi** combines clarity and expressiveness in a clean syntax:\n\n```phi\nstring hello(string name) {\n    return 'Hello ', name, '!'\n}\n\nprint hello(\"World\")\n```\n\n### Language Features\n\n- `print`, `echo`\n- Functions, conditionals, and loops\n- Optional `$` variable prefix\n- Inline templates (HTML + Phi)\n- Optional and strong typing\n- Built-in access to HTTP and environment data\n\n---\n\n## 🔧 Roadmap\n\n- [x] Core parser and runtime\n- [x] Built-in HTTP server\n- [x] Template rendering\n- [ ] Ahead-of-time compilation\n- [ ] Optional VM execution model\n- [ ] Extended standard library\n- [ ] WebSocket support\n- [ ] Session \u0026 authentication modules\n- [ ] CLI tooling for scaffolding and dev mode\n\n---\n\n## 🧠 Philosophy\n\n**Phi** is about writing **natural, structured, and elegant code**.\n\n- No tags\n- No semicolons\n- Just code that feels right\n\nA minimal language for a maximal experience.\n\n\u003e Designed to be **clear to read**, **pleasant to write**, and **powerful to run**.\n\n---\n\n## 🤝 Contributing\n\nWe welcome contributions and ideas!\n\n- 🛠 Fork this repo\n- 🔧 Make improvements\n- ✅ Test (`v test .`)\n- 📬 Open a pull request\n\n---\n\n## 📜 License\n\n[MIT](./LICENSE.md) © [Sigui Kessé Emmanuel](https://github.com/siguici)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiguici%2Fphi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiguici%2Fphi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiguici%2Fphi/lists"}