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)
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
- Documentation
- Youtube
- Telegram Support Group
- Contact Developer (check social media or readme profile github)
- 📱️ Cross Platform support (Device, Edge Severless functions)
- 📜️ Standarization Style Code
- ⌨️ Cli (Terminal for help you use this library or create project)
- 🔥️ Api (If you developer bot / userbot you can use this library without interact cli just add library and use 🚀️)
- 🧩️ Customizable Extension (if you want add extension so you can more speed up on development)
- ✨️ Pretty Information (user friendly for newbie)
This library 100% use on every my create project (App, Server, Bot, Userbot)
- 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
- Dart
dart pub add server_universe
- Flutter
flutter pub add server_universe_flutter
- from pub
dart pub global activate server_universe
Example Quickstart script minimal for insight you or make you use this library because very simple
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);
});
}
dart run server_universe
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",
});
});
}
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: LogType.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 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.
Super Cross-platform application allows you to do social media / chat as well as a place for buying and selling businesses to find work
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
The cross-platform Studio Developer application allows you to code on various platforms
Applikasi Cross platform advertising allows you to advertise on various platforms easily
Applikasi Linux based operating system which will be released
Applikasi Cross Platform Wallet allows you to store money on the internet safely
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
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
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
- 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
- Github
- Products
- Black Products
- Group / Channel
- Nsfw
- Payment Gateway
- Paid Promote
- Pre Release / Beta
- Promo Cheap
- Source Code Bot / USerbot
- Trade
- Services
- Developer
- Goal
- Partner
- Promote
- Recommendation
- Sortcut Cheat Sheet
- Terminate
- Upgrade
-
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
- Buka: https://t.me/general_user
- Ucapin apapun yang kamu butuh jasa dev / apapun
-
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
-