Skip to content

Phoenix is a modern open-source code editor for the web, built for the browser.

License

Notifications You must be signed in to change notification settings

classicvalues/phoenix

 
 

Welcome to Phoenix!

Phoenix is a modern open-source and free code editor for the web, built for the browser.

Code Guardian

Phoenix build verification

Sonar code quality check Security rating vulnerabilities Code Coverage Code Bugs Reliability Rating Maintainability Rating Lines of Code Technical debt commit msg linted by git-commit-msg-linter

Phoenix is in early alpha.

Phoenix

Tenets

  1. Targeted for web development. Js, html and CSS enjoy special status.
  2. Light-weight editor.
  3. Extension support maintaining full compatibility with Brackets extensions (except brackets-node extensions).
  4. Uncompromised local development experience.
  5. Support for pluggable remote back-ends.
  6. Phoenix core will work from a static web server.

Status

Phoenix is in alpha and is under active development.

Contributing/ Feedback

Building Phoenix

Source Repository

  • Install gulp globally once. npm install -g gulp-cli (use sudo in *nix systems)
  • run npm install
  • To build after npm install: npm run build

Running phoenix

  • run npm run serve in the terminal.
    • NB: To test Phoenix from an external mobile or machine, use npm run serveExternal instead of serve
  • Use chrome/edge browser to navigate to http://localhost:8000/src/index.html

IDE Setup

SonarLint static code analysis checker is not yet available as a Brackets extension. Use sonarLint plugin for webstorm or any of the available IDEs from this link before raising a pull request: https://www.sonarlint.org/

Building Release artifacts

  • run npm install
  • To build the release artifacts: npm run release
  • The release artifacts to host will be in dist folder.

Running tests

  • run npm run test in the terminal.
    • NB: this will setup all the required files for test
  • Use chrome/edge browser to navigate to Phoenixhttp://localhost:8000/src/index.html
  • In Phoenix Menu, select Debug > run Tests To open the test runner.
  • Run tests as required.
    • NB: To reset test data files, click on reset and reload tests option in the test runner.

Browsing the virtual file system

To view/edit the files in the browser virtual file system in Phoenix: debug menu> Open Virtual File System

Clean and reset builds

  • clean builds only: npm run clean
  • Reset everything including node modules: npm run reset

Acknowledgements

License

Discussion: phcode-dev#184

GNU AGPL-3.0 License

Modified work Copyright (c) 2021 - present Core.ai

Original work Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.

About

Phoenix is a modern open-source code editor for the web, built for the browser.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.6%
  • HTML 13.5%
  • Less 2.3%
  • CSS 1.2%
  • PHP 0.2%
  • Ruby 0.1%
  • Other 0.1%