PageSourceSearch

https://nife.io/assets/SetUp-D1yd7kVB.js

js nife.io collected 2026-10-02 14:56:18 UTC 6,534 bytes, 1 lines download raw bytes

1import{j as e,B as n,C as g,g as f,T as o,G as c,r as d}from"./index-C8kcNnUB.js";import{D as h}from"./MockupFrame-BMGsLkaC.js";const t=(r,i)=>`https://cdn.simpleicons.org/${r}/${i}`,b=[{name:"Node.js",src:t("nodedotjs","339933")},{name:"Python",src:t("python","3776AB")},{name:"Go",src:t("go","00ADD8")},{name:"Docker",src:t("docker","2496ED")},{name:"React",src:t("react","61DAFB")},{name:"TypeScript",src:t("typescript","3178C6")},{name:"Ruby",src:t("ruby","CC342D")},{name:"Rust",src:t("rust","ffffff")},{name:"Deno",src:t("deno","ffffff")},{name:"Angular",src:t("angular","DD0031")},{name:"Vue",src:t("vuedotjs","4FC08D")},{name:"Java",src:t("openjdk","ffffff")}],y=[{name:"PostgreSQL",src:t("postgresql","4169E1")},{name:"MySQL",src:t("mysql","4479A1")},{name:"MongoDB",src:t("mongodb","47A248")},{name:"Redis",src:t("redis","DC382D")},{name:"MariaDB",src:t("mariadb","003545")},{name:"SQLite",src:t("sqlite","003B57")}],u=[{n:"01",label:"Organize",headline:"Apps, teams, regions.",body:"Invite your team, create environments, connect cloud accounts. Everything in one place."},{n:"02",label:"Build",headline:"Git, Docker, or source.",body:"Push from GitHub, pull from Docker Hub, or upload source. Nife detects the runtime and builds."},{n:"03",label:"Deploy",headline:"Live in seconds.",body:"One command. Every region simultaneously. No YAML, no Kubernetes config, no ops ticket."}],l=[{t:0,type:"cmd",text:"$ nife deploy --image nginx:latest --name my-app"},{t:700,type:"info",text:"  Resolving deployment target..."},{t:1400,type:"info",text:"  Pushing image to registry..."},{t:2100,type:"info",text:"  Scheduling → us-east-1  eu-west-1  ap-south-1"},{t:2800,type:"info",text:"  Health checks passing (3/3 regions)"},{t:3500,type:"ok",text:"✓ Deployed in 4.2s  •  https://my-app.nifetency.com"}];function j(){const[r,i]=d.useState(0),p={cmd:"#60a5fa",info:"rgba(255,255,255,0.45)",ok:"#4ade80"};return d.useEffect(()=>{let s=[];function a(){i(0),s=l.map((m,x)=>setTimeout(()=>i(x+1),m.t)),s.push(setTimeout(a,l[l.length-1].t+2e3))}return a(),()=>s.forEach(clearTimeout)},[]),e.jsxs(n,{sx:{borderRadius:2,overflow:"hidden",border:"1px solid rgba(13,110,253,0.2)",fontFamily:"monospace"},children:[e.jsxs(n,{sx:{display:"flex",alignItems:"center",gap:"6px",px:1.5,py:1,bgcolor:"#1a1d2e",borderBottom:"1px solid rgba(255,255,255,0.06)"},children:[["#ef4444","#f59e0b","#22c55e"].map((s,a)=>e.jsx(n,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:s}},a)),e.jsx(n,{sx:{ml:1,fontSize:"11px",color:"rgba(255,255,255,0.3)"},children:"nife cli"})]}),e.jsx(n,{sx:{bgcolor:"#0d1117",p:"12px 14px",minHeight:148},children:l.slice(0,r).map((s,a)=>e.jsxs(n,{sx:{fontSize:"11.5px",lineHeight:1.85,color:p[s.type],fontFamily:"monospace"},children:[s.text,a===r-1&&r<l.length&&e.jsx(n,{component:"span",sx:{display:"inline-block",width:7,height:12,bgcolor:"#60a5fa",ml:"3px",verticalAlign:"text-bottom","@keyframes blink":{"0%,100%":{opacity:1},"50%":{opacity:0}},animation:"blink 1s infinite"}})]},a))})]})}function v(){return e.jsx(n,{sx:{py:{xs:5,md:6}},children:e.jsxs(g,{maxWidth:"lg",children:[e.jsxs(n,{sx:{display:"flex",alignItems:"center",gap:1.5,mb:4},children:[e.jsx(f,{label:"Nife Deploy",size:"small",component:"a",href:"/nife-deploy",clickable:!0,sx:{bgcolor:"rgba(13,110,253,0.15)",color:"#60a5fa",fontWeight:700,fontSize:"0.72rem",border:"1px solid rgba(13,110,253,0.3)",textDecoration:"none"}}),e.jsx(o,{variant:"caption",sx:{color:"rgba(255,255,255,0.3)",fontSize:"0.72rem"},children:"Internal developer platform"})]}),e.jsxs(c,{container:!0,spacing:5,alignItems:"flex-start",children:[e.jsxs(c,{item:!0,xs:12,md:5,children:[e.jsx(o,{variant:"h4",sx:{fontWeight:800,color:"#fff",mb:1,letterSpacing:"-0.02em",lineHeight:1.1},children:"Organize. Build. Deploy."}),e.jsx(o,{variant:"body2",sx:{color:"rgba(255,255,255,0.4)",mb:3.5,lineHeight:1.7},children:"From zero to globally deployed in minutes."}),e.jsx(n,{sx:{display:"flex",flexDirection:"column",gap:2.5,mb:3.5},children:u.map(r=>e.jsxs(n,{sx:{display:"flex",gap:2},children:[e.jsx(n,{sx:{flexShrink:0,width:26,height:26,borderRadius:"50%",bgcolor:"rgba(13,110,253,0.12)",border:"1px solid rgba(13,110,253,0.25)",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(o,{sx:{fontSize:"0.6rem",fontWeight:800,color:"#60a5fa"},children:r.n})}),e.jsxs(n,{children:[e.jsx(o,{variant:"caption",sx:{color:"rgba(255,255,255,0.28)",fontSize:"0.62rem",fontWeight:700,textTransform:"uppercase",letterSpacing:"0.1em"},children:r.label}),e.jsx(o,{sx:{fontWeight:700,color:"#fff",fontSize:"0.88rem",lineHeight:1.3},children:r.headline}),e.jsx(o,{variant:"body2",sx:{color:"rgba(255,255,255,0.4)",fontSize:"0.78rem",lineHeight:1.55,mt:.2},children:r.body})]})]},r.n))}),e.jsx(j,{}),e.jsxs(n,{sx:{mt:2.5},children:[e.jsx(o,{variant:"caption",sx:{color:"rgba(255,255,255,0.22)",fontSize:"0.62rem",fontWeight:700,textTransform:"uppercase",letterSpacing:"0.1em",display:"block",mb:1.25},children:"Runtimes"}),e.jsx(n,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:b.map(r=>e.jsxs(n,{sx:{display:"flex",alignItems:"center",gap:.6,px:1,py:.4,borderRadius:1.5,bgcolor:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.06)","&:hover":{borderColor:"rgba(13,110,253,0.3)"},transition:"border-color 0.15s"},children:[e.jsx("img",{src:r.src,alt:r.name,onError:i=>{i.currentTarget.style.display="none"},style:{width:13,height:13,objectFit:"contain"}}),e.jsx(o,{variant:"caption",sx:{fontSize:"0.68rem",color:"rgba(255,255,255,0.5)",fontWeight:500},children:r.name})]},r.name))})]}),e.jsxs(n,{sx:{mt:2.5},children:[e.jsx(o,{variant:"caption",sx:{color:"rgba(255,255,255,0.22)",fontSize:"0.62rem",fontWeight:700,textTransform:"uppercase",letterSpacing:"0.1em",display:"block",mb:1.25},children:"Databases"}),e.jsx(n,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:y.map(r=>e.jsxs(n,{sx:{display:"flex",alignItems:"center",gap:.6,px:1,py:.4,borderRadius:1.5,bgcolor:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.06)","&:hover":{borderColor:"rgba(13,110,253,0.3)"},transition:"border-color 0.15s"},children:[e.jsx("img",{src:r.src,alt:r.name,onError:i=>{i.currentTarget.style.display="none"},style:{width:13,height:13,objectFit:"contain"}}),e.jsx(o,{variant:"caption",sx:{fontSize:"0.68rem",color:"rgba(255,255,255,0.5)",fontWeight:500},children:r.name})]},r.name))})]})]}),e.jsx(c,{item:!0,xs:12,md:7,sx:{position:{md:"sticky"},top:{md:80},display:{xs:"none",md:"block"}},children:e.jsx(h,{})})]})]})})}export{v as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.