8000 GitHub - sxydh/epoh-win
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sxydh/epoh-win

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is EpohWin [中文]

EpohWin is a framework implemented in .NET Framework 4.7.2, designed to integrate the capabilities of browsers and system interfaces.

What Can EpohWin Do

  • Lightweight HTTP Server
    EpohWin is primarily a minimal HTTP server, allowing you to browse the application’s directories and files.
    This means you can directly deploy web applications within the app, such as Vue, React, Angular, or even just write a native HTML file.

  • Call System Interfaces
    EpohWin allows you to call system interfaces via HTTP protocol, such as IO, Net, Database, Thread, Process, etc.

  • Call Custom Interfaces
    In addition to calling system interfaces, EpohWin can dynamically invoke user-defined interfaces without the need to compile or package the entire application.

How to Use EpohWin

Using EpohWin is very simple, just one step:

  • Place EpohWin.Win.exe in the folder containing index.html, and run EpohWin.Win.exe to access the application homepage.

If you need to call system interfaces, it's also very easy:

// The path lib/hello-world is the unique identifier for the system interface
fetch("http://localhost:33/api/lib/hello-world")
  .then(res => res.text())
  .then(data => {
    // Here you can get the return value of the system interface
    console.log(data);
  });

If you need to call custom interfaces, just follow these two steps:

  • Copy your user DLL files into the DLLs folder.
  • Call via HTTP.

Current and Future Capabilities of EpohWin

  • File Operations

    • System.IO.File
    • System.IO.Directory
    • [TODO]
  • Database Operations

    • SQLite
    • [TODO]
  • Process Operations

    • System.Diagnostics.Process
    • [TODO]
  • [TODO] Security

EpohWin Architecture

TODO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0