Saturday , September 19 2020

Repl from Repo, Hacker News


When I think of GitHub I imagine a vast network of people and code; a superorganism that changed how we make software. When I was getting into programming, starting a new project was daunting – you had to imagine and build everything nearly from scratch. My version of code-sharing was calling my older cousin who was going to college for CS and getting code dictated to me over the phone. When the Internet arrived in my home town, it made hacking on new projects so much more fun. Starting a new project, at least initially, became about discovery:

  • I would walk to the Internet cafe and Yahoo search “vb code online”
  • There were a number of pseudo-GitHub sites that hosted Visual Basic projects
  • I’d download projects related to what I wanted to build, burn them on a CD and head back home
  • I’d run these projects, change & tinker with them, and get inspired on how to build my own

This mirrors the experience of many developers today, except, thanks to GitHub, They have many more options and a lot smoother UX. However, one thing that has remained the same: You still have to download projects you discover on GitHub and figure out how to run them just to start tinkering. While easier than walking to the Internet cafe, it’s enough friction that many people will give up.

That’s why today we’re making it easier to run repos on Repl.it. Now you can instantly run code from a GitHub repository without the hassle of configuring a local development environment. Simply click the import button on Repl.it or click arun on repl.itbadge, which will be coming to README files near you.

  • UPMis our universal package manager that knows how to install packages in a number of different programming languages ​​we support.

  • window manager: Our novel approach to window management allows us to reconfigure the IDE on the fly to create any number of environments: from web apps to command line or even data science environments.

  • Collaborative Development Protocol (crosis)

      : Makes it possible for us to operate Git from the browser. It’s as simple as opening anexecchannel and streaminggitcommands to the server.

  • Distributed filesystem: A snapshot-based filesystem with atomic writes is necessary when dealing with large-scale file changes which occurs when runninggit.

  • This is all work in progress and does not give us anywhere near coverage% on all GitHub repos, however, all the essential components are there and it’s a matter of improving our infrastructure to cover more and more projects that can be instantly run in the browser.

    As much as possible, we’re building our infrastructure in the open, and with participation from our community. If we don’t support your favorite language or runtime, please consider contributing to Polygott and UPM.

    Try it out

    This feature was silently earlier this week to our community, and since then we’ve seen a lot of excitement from both our users and repo authors when they receive a pull-request. Here are some of our favorites so far. Just go to the repo and click “run on repl.it” to see it in action.

    If you’d like to add it to your repo, simply import a repo and follow the prompts. I also wrote a quick guidehere.

    If you have any trouble getting your repo to work, considerasking a questionon our community, or visit the #developers channel on ourDiscord server

      .

      

    **************************

    About admin

    Check Also

    Sheikh Mohammed pays a surprise visit to Ibn Battuta Mall

    Like Our Facebook Page For Latest News Dubai: Shoppers in Dubai were in for a …

    Leave a Reply

    Your email address will not be published. Required fields are marked *