This commit is contained in:
nm1 2026-11-04 00:33:23 +05:30
commit 74ae93a96e
6 changed files with 94691 additions and 0 deletions

View file

@ -0,0 +1,58 @@
Bohr io
[express-template-main.zip](../../../_resources/express-template-main.zip)
server.ts
```jsx
import express, { Response, Request } from "express";
var app = express();
const users = [
{ id: 1, name: "Lucas" },
{ id: 2, name: "Eric" },
{ id: 3, name: "Ana" },
];
app.get("/", function (req: Request, res: Response) {
res.send("Bohr Express template");
});
app.get("/users", function (req: Request, res: Response) {
res.send(users);
});
app.get("/users/:userId", function (req: Request, res: Response) {
const user = users.find((user) => user.id === parseInt(req.params.userId));
res.send(user);
});
if (!module.parent) {
app.listen(3000);
console.log("Express started on port 3000");
}
export default app;
```
index.ts
```jsx
const serverless = require('serverless-http');
import app from './server';
module.exports.handler = serverless(app);
```
 
Commands
![boris io commands.png](../../../_resources/boris%20io%20commands.png)

View file

@ -0,0 +1,61 @@
Extras
dns
- adguard
for mobile
`dns.adguard.com`
for browser
`https://dns.adguard.com/dns-query`
for linux
https://adguard-dns.io/kb/private-dns/connect-devices/mobile-and-desktop/linux/#configure-manually-on-debian-linked-ip-or-dedicated-ip-required
`94.140.14.49 94.140.14.59;`
- nextdns
in browser
`https://nextdns.io` (didnt work)
- cloudflare
for mobile
`1dot1dot1dot1.cloudflare-dns.com` or `one.one.one.one`
system
`1.1.1.1 2606:4700:4700::1111 1.0.0.1 2606:4700:4700::1001`
browser
`https://cloudflare-dns.com/dns-query`
- quad9
for mobile
`dns.quad9.net`
browser
`https://dns.quad9.net/dns-query`
system
`9.9.9.9 149.112.112.112`
- google
system
`8.8.8.8 8.8.4.4`
mobile
`dns.google`
browser
`https://dns.google`
adding dns in system
`nano /etc/systemd/resolved.conf`
then
```ini
DNS=94.140.14.14 94.140.15.15 2a10:50c0::ad1:ff 2a10:50c0::ad2:ff
FallbackDNS=1.1.1.1
Domains=~.
DNSOverTLS=yes
```
then
`sudo systemctl restart systemd-resolved`
for jiotv
for this hidden settings, applications to settings(android one not jio one)
If your Jio STB allows you to change IP settings (this varies depending on the specific firmware version Jio has pushed to your box), you can point it directly to a private ad-blocking DNS.
1. Go to Settings > Network & Internet on your Jio STB.
2. Select your connected Wi-Fi network or Ethernet connection.
3. Look for IP Settings and change it from DHCP to Static.
4. Keep the IP address, Gateway, and Network Prefix Length exactly as they are pre-filled (just click next through them).
5. When you reach DNS 1 and DNS 2, enter public ad-blocking servers:
• AdGuard DNS 1: 94.140.14.14
• AdGuard DNS 2: 94.140.15.15
6. Save and restart the STB

View file

@ -0,0 +1,110 @@
domains
Providers
- tk domains r free : http://www.dot.cf/en/index.html?lang=en
- http://www.dot.cf/en/index.html?lang=en
- freenom (no longer available)
ml is the country tld of mali Mali leased it to freenom and lease is expired
- https://freedns.afraid.org
- noip
- https://nic.eu.org/
- freenom : doesnt work
- https://freedomain.one/
- https://dash.domain.digitalplat.org/auth/register
- https://desec.io/signup : for residential ip and needs ip to be changed
- https://www.duckdns.org : login with github/google
- https://github.com/abint7/free-domains?tab=readme-ov-file
- Exposing localhost
ngrok (ngrok http 80)
serveo (no signup required) : https://serveo.net/ (sometimes it dont work)
PageKite
localtunnel
https://github.com/openziti/zrok : can self host it too
boringproxy
BrowserStack
https://localhost.run/
https://loophole.cloud/ (for http services, provides https domain too) (./loophole http 3006)
https://www.youtube.com/watch?v=QddDX5x7Iz4 : for ssh using ngrok
(just type ngrok tcp 22) to make ssh accessible to public internet, limited to 1 connection
- Checking pot forwarding
portchecker.io
- Handling blocked port forwarding
https://portmap.io/register (Sounds promising) (tried but not working :( )
https://www.saashub.com/portmap-io-alternatives
using a vpn
https://www.reddit.com/r/india/comments/dwrn33/port_forwarding_in_jio_fiber_router/
https://tailscale.com/kb/1223/funnel/ : tailscale (can expose http to internet upto 3 users but cant tls/ssh)
zerotier (wont expose to whole internet but useful for playing minecraft and all)
It doesnt port forward but what it does it creating virtual local area netwrok as people r using same wifi who is using zerotier app anywhere in world. Somene in usa, russia, china can all be part of virtual LAN if using this app
https://www.reddit.com/r/HomeNetworking/comments/18f9z9y/my_isp_doesnt_allow_port_forwarding_what_are_my/
 
### more for exposing localhost
**from llm**
Yes, there are several services similar to **ngrok** that create secure tunnels from your localhost to the public internet and provide **static/fixed domains** (either branded subdomains like `yourname.service.com` or full custom domains you own).
ngrok's free tier gives only a random or one reserved static subdomain (with limitations like warnings), while static/persistent ones are mostly paid. Many alternatives offer better free tiers or lower-cost static options, especially in 2026.
Here's a breakdown of popular ones that support **static domains** (persistent URLs that don't change on restart):
### Free or Very Low-Cost with Static Domain Support
- **Cloudflare Tunnel** (cloudflared)
Completely **free** (no bandwidth limits for basic use).
Use your own domain (e.g., `matrix.yourdomain.com`) for a fixed URL — requires adding your domain to Cloudflare (free).
No random changes; the tunnel stays on the same hostname as long as it's running.
Great for Matrix/Synapse (HTTPS by default, no interstitial pages).
Setup is a bit more involved than ngrok (dashboard + CLI), but it's reliable and production-grade.
- **LocalXpose**
Free tier: 2 active HTTP tunnels with **persistent subdomains** (e.g., your-chosen-name.localxpose.io — static on free).
Paid starts low (~$6-8/mo) for more tunnels, custom domains, UDP/TCP, unlimited bandwidth.
Often praised as a direct ngrok replacement with fewer restrictions.
- **Pinggy**
Free tier available (no signup for basic).
Supports **persistent subdomains** and custom domains (even on lower plans).
Paid from ~$2.5-3/mo for full features like custom domains and persistent ports.
Very cheap and easy (SSH-based, no install sometimes).
- **InstaTunnel** (mentioned a lot in 2026 comparisons)
Free plan includes **persistent custom subdomains** (choose your own like `sagar.instatunnel.com` — no random changes).
Much more generous free tier than ngrok (longer sessions, no warnings).
Paid ~$5/mo for advanced stuff.
Positioned as a "better free ngrok" for daily dev use.
- **Playit.gg**
Free tier with up to 4 tunnels (TCP/UDP focus, good for games but works for HTTP).
**Static/custom domains** on paid (~$3/mo).
Simple for basic needs.
- **Zrok** (open-source, based on OpenZiti)
Free/self-hosted option — fully unlimited, supports static if you self-host or use their service.
Public sharing with persistent links possible.
### Other Notable Ones
- **Localtonet** — Often ranked top in 2026 lists; free tier + cheap paid (~$2/tunnel/mo) with custom domains, UDP, unlimited bandwidth.
- **Tailscale Funnel** — Free for personal use; static via your Tailscale setup (more VPN-like, but exposes services publicly with fixed names).
- **localhost.run** or **Tunnelmole** — Free/basic, but custom/static domains usually paid/low-cost.
### Quick Comparison Table (Focus on Static Domain)
| Service | Free Static/Subdomain? | Custom Domain (Your Own)? | Paid Starts At | Notes for Synapse/Matrix Use |
|----------------------|---------------------------------|----------------------------|----------------|-----------------------------------------------|
| ngrok | 1 reserved (free), but limited | Paid only | ~$8-10/mo | Warnings on free; paid for stable |
| Cloudflare Tunnel | Yes (with your domain) | Yes (free) | Free | Best free fixed domain; no warnings |
| LocalXpose | Yes (persistent subdomains) | Yes | ~$6-8/mo | Generous free; good alternative |
| Pinggy | Limited free; yes on paid | Yes | ~$2.5-3/mo | Cheap & easy |
| InstaTunnel | Yes (custom subdomains free) | Likely paid | ~$5/mo | Very dev-friendly free tier in 2026 |
| Localtonet | Basic free | Yes | ~$2/mo | UDP support, highly rated |
For your Matrix Synapse setup (since you have a domain already), **Cloudflare Tunnel** is still one of the strongest free options for a truly static, professional URL without paying extra. If you want something simpler with a free branded static subdomain (no need to manage DNS), try **InstaTunnel** or **LocalXpose** first — they're closer to ngrok's "just run a command" feel.
Which one sounds most appealing (e.g., completely free with your domain, or easiest with branded static subdomain)? I can give exact setup steps for it!
- Port forwarding
By default, routers can transmit any outgoing traffic but for any traffic from external device to router ie inbound traffic, port forwarding needs to be alloweed

View file

@ -0,0 +1,163 @@
- Links
https://free-for.dev/#/
https://github.com/dalisoft/awesome-hosting
 
nextjs
https://wiki.helionet.org/tutorials/node.js/next.js
for upto next13 not next14 as node 18 is required
https://docs.render.com/deploy-nextjs-app : for next14 too
### hosting plain text
pastecord
https://github.com/bokub/nopaste https://nopaste.boris.sh/
[nopaste-master.zip](../../../_resources/nopaste-master.zip)
hastebin (api but have limits like content deleted after 30 days)
pastecode
pastebin https://pastebin.com/doc_api
https://text.is/
https://microbin.eu/ (open source, needs to be self hosted)
https://badcord.ct8.pl/ (everything is public and indexed, bad for privacy)
https://rlim.com (like text.is and have more feature)
https://lesma.eu (have api but 30 days validity)
https://github.com/davidmerfield/blot (open source, self hosted. it can host files)
https://justpaste.it : for html preview too for images atleast. no api
rentry.co https://www.npmjs.com/package/rentry-pastebin
https://textbin.net/
https://paste.ee
https://sntry.cc/
https://codeberg.org/SentryTwo/bundles : Source code for rentry, text.is, rlim.com, sntry.cc
(It uses bun which is alternative of nodejs)
https://sentrytwo.com/
[bundles-master.zip](../../../_resources/bundles-master.zip)
https://github.com/hedgedoc/hedgedoc
Nodejs hosting with full container
https://github.com/DmitryScaletta/free-heroku-alternatives
- render (no persistent file storage)
- heliohost : need to login once a month to keep it active
- https://console.choreo.dev
- https://www.lade.io/dashboard : have to install cli
- zeabur : 24 hr temporary deployment
- glitch (need to upload each file individually and code will be public too) : closed
- koyeb (1 web service free)
- https://basementhost.net/ : free vps (not checked yet ) bad deal wih exchange though
- linode : 5$/month , cheap vps
- https://cloudjiffy.com/pricing/ : cheap and accept upi too, indian one
- oracle cloud free tier vps : free forever
- netcup : cheap vps
- Racknerd : cheap vps 15$/yr
- https://www.vultr.com/pricing/ : starts from 2.5$/month , need to submit 10 dollar atleast
- https://www.nearlyfreespeech.net/ : starting from 0.25$
warning : not anonymised and need govt id to create account
- https://northflank.com/pricing (require credit card )
- https://www.cloudsigma.com/ : starts from 3$/month and have prepaid
- ultravps , hertzner : hertzner provoides good specs for 4.2$/month way better than DO and vultr
- https://alphavps.com/cheap-vps.html
other hosting platforms
- https://www.shuttle.rs/ : for rust
- pythonanywhere : for python
vps
- ovh : sometimes they have a good deal
- https://lowendstock.com/ :
-
https://wheretohostmy.app/services : wjer to host my web
[Web Hosting (10_26_2023 7_15_20 PM).html](../../../_resources/Web%20Hosting%20%2810_26_2023%207_15_20%20PM%29.html)
mysql : planetscale,infinityFree, x10hosting, freehosting.com, bytehost
**AwardSpace**: AwardSpace provides free web hosting with remote MySQL access. They offer both free and paid hosting plans.
**InfinityFree**: Although they do not offer remote MySQL access for free, they provide low-cost hosting options with this feature.
**000WebHost**: 000WebHost offers free web hosting with remote MySQL access as part of their free plan.
**ByetHost**: ByetHost provides free hosting with remote MySQL database support.
infinityfree, 000webhost, freehosting.com, byethost all needs premium for remote mysql
x10hosting : blocked in my country
freehosting.com : requires my own domain
freehostia : requires credit card
gooogiehost : requires credit card
**Databases**
Remote mysql
1. https://tidbcloud.com/
2. planetscale
3. https://freedb.tech/
4. https://www.freesqldatabase.com : requires interacting with it every week.
5. https://filess.io (10 mb, 2 databases, mongo, mysql and postgresql)
6. https://www.freemysqlhosting.ne (5 mb free only)
7. https://db4free.net/signup.php (for testing only)
8. Or use json and store in gist github
mongodb atlas : mongodb
https://studio3t.com/knowledge-base/articles/cheap-free-mongodb-hosting/, clever cloud : mongodb
postgres : cockroachDB
https://gigalixir.com/ : postgresql
https://www.koyeb.com/blog/top-postgresql-database-free-tiers-in-2024
Koyeb : postgresql (may suspend yur account if not provided phone number)
supabase (project pause 1 wek of inactivity, cron job required to stop it)
neon (connection closed after 5min of inactivity, reconnecing it every few min will fix it)
aiven (for mysql and postgresql)
sqlite : https://turso.tech/
https://gist.github.com/bmaupin/0ce79806467804fdbbf8761970511b8c
https://upstash.com : redis
- Cloud services
anonfiles.net : file sharing(file will expire)
https://imgbb.com/ : image sharing
- Markdown hosting
https://www.duckdocs.com
https://about.readthedocs.com/pricing/ : for documentation
https://www.reddit.com/r/webdev/comments/z01c7j/is_there_anyway_to_host_markdown_files_online/
- Web services
1. Heliohost : panel(max 10 sites and frustrating to use but very powerful)
https://www.youtube.com/watch?v=movy0X152G0
https://files.sdrive.app/3f05fbff-162c-48d6-9a5a-c3b60c6ddbd6.mp4
2. https://qoddi.com (now requires credit card)
3. https://bohr.io/ : for projetcts
4. https://mdbgo.com/ : for testing only. everything will be destroyed after 2 weeks
5. serv00 : https://docs.serv00.com/WWW/ : remote server doesnt work
6. hop : like replit but 30 days trial only
7. https://my.domcloud.co : 3 projects, 2gb bandwidth, skiff and proton not allowed, need to be log in every 60 days to retain account
https://domcloud.co/docs/intro
8. https://www.napkin.io/ : like deta, its FAAS(Function as a service) and timeout is 15s
https://docs.napkin.io
back4app (not anymore only for its own key-value database)
glitch
render
adaptable (now paid)
cyclic (shutdown)
deta (shutdown)
higgingface (ai based maybe for nodejs)
vercel : not easy though
cloudflare workers (no expressjs)
deno dceploy (close to node)
zeet.co (first 3 projects r free) (needs separate cluster)
trydome (needs credit card to deploy)
- static sites
1. https://kinsta.com
2. https://surge.sh/
3. https://dappling.network/ : decentralized
4. https://freeflarum.com/ : for forums only
5. https://dash.deno.com/

View file

@ -0,0 +1,16 @@
supabase
```js
import { createClient } from '@supabase/supabase-js'
const supabaseUrl = 'https://aywqqxustyxxcztijohc.supabase.co'
const supabaseKey = process.env.SUPABASE_KEY
const supabase = createClient(supabaseUrl, supabaseKey)
```
- Configurations
In project settings > configurations section > Database
`https://supabase.com/dashboard/project/[project ref]/settings/database`
With uri
`postgres://postgres.[project_ref]:[YOUR-PASSWORD]@<host_name>:5432/postgres`
Their database name is postgres and username is postgress along with project reference

View file

@ -0,0 +1,9 @@
vps
todo
1. vpn using wiregiard or openvpn
2. proxy server
3. gitea
4. chat server like matrix, irc chat
5. configure database like mongodb, mysql, psql
6. web scraper