Project Viewer Development Status

Current

  • JUST copied in webhook-stuff-from-taeluf.com... might need this later

  • Just started code-new/ folder to put forth a new design. I am just having a really hard time understanding what the current code is actually doing, so I'm just looking at a new way to go about things.

  • Started work on cli interface & new architecture

  • Started on trying to clean up everything & its kind of a mess right now. I'm working out a dynamic url that will allow me to catch a request. I updated liaison to take - & : as separators of dynamic bits. I need the optional one ?. But most of all, I have to get away from all these complicated function calls. I need a single parseUrl that returns vendor name, project name, and so on. Then I can use the parsed info to check if the project & file actually exist here.

  • I don't know what I'm doing about the class structure around projects & vendors. Idk what doing about the git status.

  • Currently, I'm focusing on just delivering a single directory as a project. Then I want to go from there & start figuring out these more complex issues. By focusing on the simple part, I can create some good architecture & it will be easy to move forward.

  • I feel like I want to delete most of my old code, but that's not quite it. There's just places where I'm chaining together many function calls with bad names & I don't understand how things work. The interface for routing, loading projects, parsing urls, updating projects (git pulls), and all need to be... so so much better.

How to run

cd server.php
php -S localhost:3000 deliver.php

Plans

  • Make it work on any folder of code without any configuration
  • Scan for files & wherever md files are concentrated its documentation city
  • Cli install instructions & a basic cli interface
    • Setup a new project on your server to receive webhooks
    • view the current folder as project via webserver
  • Composer
  • Integrate gitlab webhooks
  • Refactor all code

Next

  • Delete all old, unneeded code
  • Make the server runnable for pwd, so you can view documentation of any arbitrary folder on your system without any setup required
  • refactor all existing code to... make some sense!
  • Get webhooks working again (with gitlab this time! But github, too)
  • Fill out a built-in-theme so it actually looks pretty
  • Write documentation
    • How do I set up a new project?
  • Write tests

Next (later)

  • Support multiple vendors
  • idk

Latest (newest to oldest)

  • Sample server to view documentation
  • It... works. I can view files & navigate, but there's still lots of issues.
  • Nothing to report yet...