GithubHelp home page GithubHelp logo

ao-0 / astolfoaim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from exponential-workload/astolfoaim

0.0 0.0 0.0 129 KB

Home Page: https://aim.femboy.cafe

License: GNU Affero General Public License v3.0

Shell 0.23% JavaScript 0.91% Lua 35.14% TypeScript 8.61% HTML 3.80% SCSS 0.67% Svelte 50.64%

astolfoaim's Introduction

AstolfoAim

See the Client Code here, the P2P Proxy here & the website & webui here.

Licensing

AstolfoAim is licensed under the AGPL-3.0.

Running a custom build

To run a simple custom build of the API or the Client-UI-Socket, here's all you need to do:

  1. Install NodeJS
  2. Install sirv-cli: npm i -g sirv-cli (using pnpm: pnpm i -g sirv-cli)
  3. In the main folder (the one with this readme), run sirv --port 5500 --host (VSCode Live Server also works)
  4. Run the below script:
getgenv().__astofloaim_show_debug_info = true -- Show debug info
getgenv().__astolfoaim_api             = nil --  No API Overwrite
getgenv().AstolfoAimDomain             = nil --  No API Fetch Overwrite
getgenv().AstolfoAPIDomain             = nil --  No Socket API Overwrite

-- Check for custom socket server running on local:5595
if pcall(game.HttpGetAsync,game,'http://127.0.0.1:5595/') then getgenv().AstolfoAPIDomain='http://127.0.0.1:5595' end
-- Check for custom api server running on local:5500
if pcall(game.HttpGetAsync,game,'http://127.0.0.1:5500/script/api.lua') then getgenv().AstolfoAimDomain='http://127.0.0.1:5500/script' end

-- Get the URL to fetch for the loader
local url = (AstolfoAimDomain and AstolfoAimDomain..'/' or 'https://astolfoaim.femboy.cafe/')..'web-ui.lua'
-- Fetch the script
local script = game:HttpGetAsync(url)
-- Load it
local api = loadstring(script,'wui')('web-ui');
-- interact with api here if you so desire

astolfoaim's People

Contributors

exponential-workload avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.