Coder Social home page Coder Social logo

petersalomonsen / githttpserver Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 8.0 374 KB

Simple git http server, used for demo of https://github.com/petersalomonsen/wasm-git

Dockerfile 0.31% JavaScript 64.19% HTML 12.97% Rust 21.42% Shell 1.11%
git kubernetes nodejs docker rust webassembly blockchain near-protocol

githttpserver's People

Contributors

dependabot[bot] avatar petersalomonsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

githttpserver's Issues

ERROR 12: bad packet length - when trying to view a song repo

Hi, Peter! I wanted to try and play with this song here https://youtu.be/Hko5ZXxulaY and realized it's stored in your other Git WASM project so I got into learning and researching how all this works and tried to view the song in the music studio but unfortunately, it works neither in the studio and not in the stand alone git app too (this is the url I try to Clone) for me and I'm getting the error in the title. Am I doing something wrong or the files are deleted / moved to a different URL?

Get error trying to `git clone` a repository

I installed dependencies but get this when I try run it:

~/clones/githttpserver master
❯ npm run start

> @ start /Users/nikiv/clones/githttpserver
> node server/githttpserver.js

node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::5000
    at Server.setupListenHandle [as _listen2] (node:net:1380:16)
    at listenInCluster (node:net:1428:12)
    at Server.listen (node:net:1516:7)
    at file:///Users/nikiv/clones/githttpserver/server/githttpserver.js:100:4
    at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:409:24)
    at async loadESM (node:internal/process/esm_loader:85:5)
    at async handleMainPromise (node:internal/modules/run_main:61:12)
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1407:8)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  code: 'EADDRINUSE',
  errno: -48,
  syscall: 'listen',
  address: '::',
  port: 5000
}

Node.js v17.9.0
 ELIFECYCLE  Command failed with exit code 1.

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.