server_universe 0.0.22 copy "server_universe: ^0.0.22" to clipboard
server_universe: ^0.0.22 copied to clipboard

Server Universe Library For Help you make server rest api on cross platform support edge functions Supabase, Vercel, Netlify, cloud Flare and more

Server Universe #

Server Universe is library for speed up and help you to make server rest api / forwarding / proxy very simple with highly customizable feature in cross platform (Server Side / Client Side) and Severless functions like (Supabase Functions, Vercel, Netlify, Cloud Flare)

Demo #

ℹī¸ Information / Help / Need Update? #

This library created by poor programmers, i need more sponsor for make this library more easy, feature, documents, tutorial or speed up development this library, example so i need your support,

Please Sponsor me AZKADEV on github

i need minimal 50 Dollar / month

📚ī¸ Docs #

  1. Documentation
  2. Youtube
  3. Telegram Support Group
  4. Contact Developer (check social media or readme profile github)

🔖ī¸ Features #

  1. ✅ 📱ī¸ Cross Platform support (Device, Edge Severless functions)
  2. ✅ 📜ī¸ Standarization Style Code
  3. ✅ ⌨ī¸ Cli (Terminal for help you use this library or create project)
  4. ✅ đŸ”Ĩī¸ Api (If you developer bot / userbot you can use this library without interact cli just add library and use 🚀ī¸)
  5. ❌ 🧩ī¸ Customizable Extension (if you want add extension so you can more speed up on development)
  6. ❌ ✨ī¸ Pretty Information (user friendly for newbie)

❔ī¸ Fun Fact #

This library 100% use on every my create project (App, Server, Bot, Userbot)

📈ī¸ Proggres #

  • 2024-04-20 Starting Release Stable With core Features
  • 2024-04-19 Starting create simple library Server Universe
  • 2024-04-18 Think to standarization server so i can create project easy, and not only project i can add feature to my ai so my ai can create server and test direct without use rest-api, talk, searching internet or use any api

đŸ“Ĩī¸ Install Library #

  1. Dart
dart pub add server_universe
  1. Flutter
flutter pub add server_universe_flutter

đŸ’ģī¸ Install Cli #

  • from pub
dart pub global activate server_universe

🚀ī¸ Quick Start #

Example Quickstart script minimal for insight you or make you use this library because very simple

Api #

import 'dart:io';
import 'package:server_universe/api/server_universe_api.dart';

void main(List<String> args) async {
  ServerUniverseApi serverUniverseApi = ServerUniverseApi();
  serverUniverseApi.create(newName: "hi", directoryBase: Directory("path_to_dir/slebew")).listen((event) {
    print(event.value);
  });
  serverUniverseApi.build(directoryBase: Directory("path_to_dir/slebew"), directoryOutputBuildServerUniverse: Directory("path_to_dir/slebew/build"), inputFileName: "path_to_dir/slebew/bin/server.dart", server_universeDartBuildType: ServerUniverseBuildType.release, server_universeDartPlatformType: ServerUniversePlatformType.supabase).listen((event) {
    print(event.value);
  });
}

Cli #

dart run server_universe

Edge #

if you want deploy server rest api on Severless functions Like (Supabase, Cloud Flare, Deno Deploy, Vercel, Netlify)

import 'package:server_universe/edge/edge.dart';
void main() async {
  print("start");
  ServerUniverseEdge app = ServerUniverseEdge(
    onNotFound: (request, res) async {
      return res.status(404).json({"@type": "error", "message": "path_not_found", "description": "PATH: ${request.path} Not Found"});
    },
    onError: (req, res, object, stackTrace) {
      return res.status(500).json({"@type": "error", "message": "server_crash"});
    },
  );
  app.ensureInitialized();
  
  app.all("/", (req, res) {
    return res.send("oke");
  });
  app.all("/version", (req, res) {
    return res.json({
      "@type": "version",
      "version": "new update",
    });
  });
}

Native #

if you want deploy on device or server or vps, or flutter app try this script

import 'dart:io';
import 'package:general_lib/extension/dynamic.dart';
import 'package:server_universe/native.dart'; 
void main() async {
  print("start");
  int port = int.tryParse(Platform.environment["PORT"] ?? "3000") ?? 3000;
  String host = Platform.environment["HOST"] ?? "0.0.0.0";
  ServerUniverseNative app = ServerUniverseNative(
    logLevel: ServerUniverseLogType.debug,
    onNotFound: (request, res) async {
      return res.status(400).send(({
        "@type": "error",
        "message": "path_not_found",
        "description": "PATH: Not Found",
      }.toStringifyPretty()));
    },
  );
  app.all("/", (req, res) {
    return res.status(200).send("oke");
  });

  int count = 0;
  app.all("/version", (req, res) async {
    count++;
    return await res.status(200).send("\nCOUNT: ${count}");
  });
  await app.listen(port:port, bindIp: host); 
  print("Server on");
}

Global Corporation

Welcome to Global Corporation profile!  

Instagram       Twitter       Twitter       Youtube      

Global Corporation Is a leading company that takes a leading role in accelerating and maintaining enterprise security.

With a sharp focus on innovation and technological excellence

Global Corporation providing effective proactive solutions to secure company operations and prevent potential adverse risks.

With a committed team of experts, advanced technology, and a holistic approach to corporate security, Global Corporation has become a benchmark for other companies that prioritize security and safety as a top priority in their business.

Application / Product / Project Official #

Global App

Super Cross-platform application allows you to do social media / chat as well as a place for buying and selling businesses to find work

Global Bot App

Super cross-platform application allows you to handle lots of bots / userbots / AI for your assistants, making it easier for you in all your affairs

Global Studio Developer #

The cross-platform Studio Developer application allows you to code on various platforms

Ads Gateway

Applikasi Cross platform advertising allows you to advertise on various platforms easily

Archivon

Applikasi Linux based operating system which will be released

Coinlox

Applikasi Cross Platform Wallet allows you to store money on the internet safely

Global Bot Telegram #

Super Bot Telegram allows you to manage various chat groups / private / channels as well as a place to buy and sell the products we sell, you can buy this service from IDR: 25k / bulan $: 1,5 Dollar

Global Userbot Telegram #

Super Bot Telegram allows you to manage various chat groups / private / channels as well as a place to buy and sell the products we sell, you can buy this service from IDR: 25k / bulan $: 1,5 Dollar

Global Bot Whatsapp #

Super Bot Telegram allows you to manage various chat groups / private / channels as well as a place to buy and sell the products we sell, you can buy this service from IDR: 25k / bulan $: 1,5 Dollar

Social Media #

Telegram  

  1. Group Developer Global Public

Product / Services #

  1. Clone Bot / Userbot Hi, do you want to have a bot / userbot with lots of features?.
  • Features:
    • Repeat Message
    • Manage Chat Private / Channel / Group
  • Platform Support:
    • Telegram
    • Whatsapp
    • Twitter
    • Github
    • Google
  1. Products
    • Black Products
    • Group / Channel
    • Nsfw
    • Payment Gateway
    • Paid Promote
    • Pre Release / Beta
    • Promo Cheap
    • Source Code Bot / USerbot
    • Trade
  2. Services
    • Developer
    • Goal
    • Partner
    • Promote
    • Recommendation
    • Sortcut Cheat Sheet
    • Terminate
    • Upgrade

How To Buy Services Or Products | Cara Beli Jasa Atau Products #

  • Via Telegram Bot

    • Englisth

      If you want to buy, you can use Telegram to automatically process the payment (if the long process is not a SCAM!! it's possible that the server is down so the process could take longer. If in doubt, tap the report menu then fill in a complaint)

      • Open Bot: https://t.me/GLOBAL_CORP_ORG_BOT
      • Fill in personal data / subscribe to the channel
      • Tap Main menu select services / products
      • Select Products / Services
      • Make sure there are enough coins
      • Fill in the required data
    • Indonesia

      Jika kamu ingin membeli bisa lewat telegram automatis pembayaran hingga proses (jika proses lama itu bukan SCAM !! kemungkinan server down jadi proses bisa lebih lama jika ragu tap menu report lalu isi keluhan)

      • Buka Bot: https://t.me/GLOBAL_CORP_ORG_BOT
      • Isi data pribadi / subscribe channel
      • Tap Main menu pilih services / products
      • Pilih Product / Services
      • Pastikan coin mencukupi
      • Isi data yang di butuhkan
  • Via Telegram USER

Video Tutorial Watch the video

  • Lewat App

    • English

      If you want to see a product/service with a full demo, you can buy it via the app

    • Indonesia

      jika kamu ingin melihat product / jasa dengan full demo kamu bisa beli lewat app

đŸ“ē Latest YouTube Videos #

Userbot LIFE TIME Subsription Telegram Murah Unlimited Akun Ultra FAST | Global Corporation Tolong 😭 Siapapun beli satu jasa aku ntr aku kasih harga seiklasnya / ada yang mau donasi | GLOBAL Cara beli ai telegram versi bot dan cara pakai| Global Corporation Ai Userbot Telegram Demo Cara Pakai Dan Beli | Global Corporation CARA BELI USERBOT TELEGRAM CLOUD  | Global Corporation Cara Top Up Automatis Menggunakan Payment Gateway Di GLOBAL BOT APP

27
likes
140
pub points
47%
popularity

Publisher

unverified uploader

Server Universe Library For Help you make server rest api on cross platform support edge functions Supabase, Vercel, Netlify, cloud Flare and more

Repository (GitHub)
View/report issues
Contributing

Topics

#server #socket #api #backend #network

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com
github.com

License

MIT (license)

Dependencies

collection, freezed_annotation, general_lib, http, js, mason_logger, meta, mime, mime_type, path, queue, typings, yaml, yaml_writer

More

Packages that depend on server_universe