Make a Game. Win a Bitcoin.

00
Days
00
Hours
00
Mins
00
Secs

Until Jam Ends on Apr 18

Updates from the Repl.it team about the product

Posts
Pinned
4
Weekly Repls #27
Helloooo jammers! How is everyone doing? I hope you're all having fun messing around with all the new graphical languages are just came to repl.it. I can't wait to see what games you guys make for the challenge. Remember, just like weekly repls in the past, I will not be sharing repls from challenge. So make sure to share some other things you're working on it be showcased here! With that out of the way, let's see who made some awesome repls. @GarethDwyer1 [Published this truely indepth tutorial, on how to scrape websites that use rss, and returning cloudwords from it! I highly recommend you check it out!](https://repl.it/talk/learn/Building-Word-Clouds-from-the-News-using-Python-and-Replit/11653) @christianbm1 [Play a fun, 1 player game of battleship. How long will it take you to eliminate the targets?](https://repl.it/talk/share/Battleship-Game/11648) @PushprajNaik [Created a wonderful way to scrape song names off amazon music!](https://repl.it/talk/share/webscrap/11817) @Russell23 [Brings the excitement of DVDs hitting the bottom right corner to you browser, showing off a great use of pygame!](https://repl.it/talk/share/Improved-DVD-logo/11946) That's all folks. See ya next week!
0
posted by 21natzil (456) 4 days ago
Pinned
239
👋✨Introduce yourself 🎉😀
Hello everyone! Let's use this thread to get to know each other. Just say hi and a few words about who you are, maybe what are you building or learning with Repl.it. If you're not comfortable sharing anything then share something fun 😉
682
posted by amasad (978) 9 months ago
40
Repl.it GFX Public Beta: Build Games and GUI Apps
Hello everyone, We've spent months researching methods to implement a cross-platform and cross-language graphics engine in Repl.it. With our Explorer's help, we've explored different ways of doing graphics -- some of you even built [amazing](https://repl.it/talk/share/NEW-Play-2048-248-In-The-Terminal-in-Cheavy-plusheavy-plus-With-SIXEL-Graphics/9750) things on it! However, the time has finally come to start rolling out our graphics system. It's still buggy and requires some more work but it works. Some of you might have even already discovered it. ![Screen Shot 2019-03-09 at 6.43.13 PM](https://storage.googleapis.com/replit/images/1552185817380_328d759b19256760a3ee8bfbc3e495f6.pn) While we intend to roll this out to all our languages we're starting with a few specific environments and we'll generalize from there: - [Python Pygame](/languages/pygame) - [Lua Love2d](/languages/love2d) - [Python Tkinter](/languages/tkinter) - [Java Swing](/languages/java_swing) Here is a taste of what the development environment might look like: ![ezgif.com-gif-maker (7)](https://storage.googleapis.com/replit/images/1552186822795_393dd03eb8f3426892863ffbf5df31bc.gi) Some limitations and known issues: 1. The graphics window is shared across clients. I.e. if you share your repl with someone they'll be able to interact with the same window you're interacting with. It 2. You have to fork someone's repl before seeing the result. 3. Sound sadly doesn't work yet We're hoping to fix these pending issue in the next week. [TO TRY IT FORK AND FUN] I pulled a few examples from the web for you to check out. - Java Swing Pacman: https://repl.it/@amasad/Java-Pacman - Love2D Snake: https://repl.it/@amasad/LOVE2D-snake - A simple platformer in Pygame: https://repl.it/@amasad/simple-platformer - Simple color game in Tkinter: https://repl.it/@amasad/color-game
35
posted by amasad (978) 13 days ago
13
Two new languages: Nim and Crystal
Continuing on our language-adding binge, today we're excited to announce two new languages: [Nim](https://nim-lang.org/) and [Crystal](https://crystal-lang.org/)! ## Nim Nim is a statically-typed language tailored for systems programming. It's fast but it also looks good and is easy to use. Furthermore, it's cross-platform and sports multiple compile targets (including JavaScript). [Give it a spin](/languages/nim)! ![nim](https://storage.googleapis.com/replit/images/1552684457928_c22784535191bb2bf65f97c503395389.gi) ## Crystal Crystal plays on the same theme as Nim -- a statically-typed language with a pleasant syntax inspired by Ruby. Additionally, Crystal early catches bugs like null references and sports a powerful macro system. [Give it a spin](/languages/crystal)! ![crystal](https://storage.googleapis.com/replit/images/1552684613897_f4793eefe5ee371786cbff80f97a1fd0.gi)
13
posted by amasad (978) 7 days ago
10
Introducing @mention suggestions (and myself)
Hey all! I recently joined the Repl.it team and am focusing on repl-talk. I just added suggestions for at-mentions. To try it start typing "@" on a new post or comment. You can use the UP/DOWN arrow keys to navigate and hit ENTER or TAB to select. ![mentions-loading](https://storage.googleapis.com/replit/images/1552581024081_4517b8d705ec5e330d483e902cb1fc5d.gi) Try it out and let me know if you have any feedback. Also, let me know what other features you would like to see in repl-talk. Thanks!
13
posted by moudy (12) 8 days ago
27
📕Language Learning Club 🤓
Henlo frens, We're planning on starting a programming language learning club where we pick a language and a book (ideally with lots of exercises) and start learning it together. I'm flexible on the structure but here's a proposal: - We read a chapter and then we discuss it on discord (maybe voice) - We then do the exercises and share them here on repl talk I sadly don't have time to organize this so we need volunteers. @noah427 is interesting in organizing if someone else would join him as well. Please comment if you want to join `||` volunteer
30
posted by amasad (978) 23 days ago
18
Introducing Julia support
Typically programmers are forced to make a tradeoff between speed and ease-of-use. [Julia](https://julialang.org/)'s designers set out to solve this problem and make a language that achieves both! It seems to have achieved its goal as its one of the world's [fastest growing](https://www.zdnet.com/article/is-julia-fastest-growing-new-programming-language-stats-chart-rapid-rise-in-2018/) programming languages. No doubt it's the third-most [requested language](https://replit.canny.io/languages-requests?sort=top) on Repl.it. That's why today we're excited to announce Julia support. ## Walkthrough Julia also ships with an amazingly powerful REPL. In typical Repl.it fashion you'll be able to write full programs in the IDE and then drop into the REPL to explore the output: ![ezgif.com-gif-maker (3)](https://storage.googleapis.com/replit/images/1551987270744_eb3fe8993044774524c8b8dc845519a0.gi) However, it doesn't stop at that. Julia ships with a really nice documentation engine in the REPL. Simply hit control+? and you'll get the help prompt: ![ezgif.com-gif-maker (4)](https://storage.googleapis.com/replit/images/1551987346916_21355d88d18c2c16e8090d6f043ece8b.gi) Finally, Julia has an easy way to include packages from its registry and Repl.it supports that too: ![ezgif.com-gif-maker (5)](https://storage.googleapis.com/replit/images/1551987404312_6fcdda00bd40dc6ebc10e7f9fea80d4d.gi) ## Conclusion This release comes on the heels of our [TypeScript release](https://repl.it/talk/announcements/Introducing-TypeScript-Support-and-JavaScript-Intellisense/11426). This is because we've built infrastructure that allows supporting more languages faster in the future. Give [Julia](/languages/julia) spin and let us know what you think.
4
posted by amasad (978) 15 days ago
9
Pyxel, an 8bit retro gaming Python framework, on Repl.it
Just in time for the Game Jam I'm excited to announce the addition of Pyxel -- an 8bit retro gaming framework for Python. Pyxel has everything you need to build an 8bit game, from the image editor to a music editor (Repl.it doesn't support sound yet). It's also easy-to-use and fun to play around with. The following is a speed-up play-through of one of their examples running on Repl.it. I used their editor to change the player's hair color. ![ezgif.com-gif-maker (9)](https://storage.googleapis.com/replit/images/1552708568394_6b4d71f281c0cf6735552ce6c6ddd468.gi) Here is the repl: https://repl.it/@amasad/jumper Start building your game by creating a new repl and selecting "Pyxel". Or click [here](/languages/pyxel). Let me know if you have any feedback.
0
posted by amasad (978) 7 days ago
15
Running cron jobs with repl.it 🤖 🕒
Have any of you ever tried to run cron jobs, or scheduled tasks with replit? Since repls sleep, you can't use inbuilt timer functions - meaning you'd have to use something like [Uptime Robot](https://uptimerobot.com) to ping your site every `x` minutes. But - Uptime Robot always repeatedly pings your website, even if you only want to schedule a one time task, and you have to manually add a url to ping on their website. Introducing [**ping**](https://ping.4ty2.fun) ✨✨✨ ping lets you schedule tasks using a simple get request. It's as simple as this 👇 ``` https://ping.4ty2.fun/?time=3600&url=https://google.com ``` Send a request there, and 1 hour (`3600` seconds) after this request is sent, `https://google.com` will recieve a `get` request from `https://ping.4ty2.fun`. Check out more details on the github [repo](https://github.com/jajoosam/ping) - and let me know if you have any questions. Also - would y'all like to see a tutorial on this, along with a full example app?
4
posted by jajoosam (410) 18 days ago
19
Repl.it Node API
# Hey Repl.it! I made a Node module that lets you create, write files to, and run Repl.it projects! If you want to install it, it's called `repl.it-api`. **If you want to quickly try it out there's a usage example hosted on Repl.it close to the end of this post.** ## Why? I wanted to distribute a NPM library that uses fairly modern coding practices that also has a use. One possible use is a command line program for deploying projects to Repl.it. Earlier I made one but as soon as Repl.it updated their API it broke and was a pain to maintain. With this dedicated, isolated library, something like that would be **much** easier to both develop and maintain. The other thing which I am more excited about, is a "Deploy to Repl.it" button. Have you ever seen those buttons on GitHub repos that say "Deploy to [Now/Heroku/Netlify]"? They're super awesome because you can have your own copy of an app deployed in seconds. I want to make one for Repl.it. You click the button and it transports you to a new Repl.it project with all the code ready to go and running. ## More Info If you're interested, here are some links where you can find documentation on how to use and install it: - [A usage example on Repl.it](https://repl.it/@FelixMattick/Replit-API-Example) - [The package on NPM](https://npm.im/repl.it-api) - [The code on GitHub](https://github.com/arch-lord/repl.it-api) - And if you want, contact me on Discord at `archmaster#6356` (nicked archaka) If you have any comments, questions, or feedback of any sort I'd love to hear it in the comments! Thanks for reading this far :D
4
posted by FelixMattick (38) 24 days ago
13
Introducing TypeScript Support and JavaScript Intellisense
TypeScript has grown stratospherically in the past few years. We just started using at Repl.it (parts of our IDE is written in it) and it's also one of the [top-requested](https://replit.canny.io/languages-requests/p/typescript) languages on our platform. That's why we're thrilled to introduce TypeScript support. And we're not stopping there, we're bringing world-class IDE tooling with it that you'll get, for free, with zero setup when you open a [TypeScript environment](/languages/typescript) on Repl.it. At the basic level, we have TypeScript REPL, and a TypeScript editor where you can build everything from hello-world to a multiplayer web game. On top of that, we're using Microsoft's [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) to power our IDE features. ## Walkthrough You'll be able to easily navigate in your code (click-to-symbol), preview a type definition, and of course, use the console to interactively explore your runtime as well as your type environment: ![gotodefinition (1)](https://storage.googleapis.com/replit/images/1551898082331_bda1ed13d0cf95190138777f002ab2f1.gi) We're enlisting the support of our [Universal Package Manager](https://repl.it/talk/announcements/Announcing-Universal-Package-Manager/5201) to make it easy to install packages from npm. You'll also get completion and hover for those packages: ![packages](https://storage.googleapis.com/replit/images/1551898153196_cc8b0ddfdbb97db1b1d93bfd628ed409.gi) On Repl.it, you can build and host web servers in any language. TypeScript is no different! The only difference is that you'll get awesome autocomplete to make it easier for you to code your server: ![autocomplete (1)](https://storage.googleapis.com/replit/images/1551898226221_7cc318db5c4e5d4653dd9754c8ca9095.gi) What good is good tooling if it doesn't detect errors for you? Our TypeScript IDE comes preconfigured with a type checker and a linter: ![diagnostics](https://storage.googleapis.com/replit/images/1551898281011_3db9a62f4fdd2773c8edd1c93d09189e.gi) If you want to keep your code tidy, we have just the tool for you. You can use autoformatting to pretty your code when it's messy: ![format](https://storage.googleapis.com/replit/images/1551898324017_9996def1ee8d7edab1594be4a91a7732.gi) Finally, one of the things that makes typed languages special is the ability to refactor and rename across module boundaries: ![refactor](https://storage.googleapis.com/replit/images/1551898380807_cb043eb64001f203ce44c63af25ac281.gi) ## One more thing We're extending most of those tooling features to our [JavaScript/Nodejs](/languages/javascript) environment so you'll be able to use LSP with autocomplete, format, linting, and all that stuff without writing a single type decleration! ## Conclusion We believe that high-quality zero-setup tooling will make it easy to learn languages or programming, will make people more productive, and it's just fun to work with. We're excited for the TypeScript community to start exploring Repl.it so please give it a [spin](/languages/typescript) and provide us with your [feedback](/feedback).
1
posted by amasad (978) 16 days ago
16
Refer a Friend for Free Hacker Plans!
## What's this Referral Program? Do you want to get Hacker Plan, but are unable to pay? Worry no more - with the referral program, you can get Hacker Plans for free! Grab your referral link from your [account settings](/account). Sharing that link with anyone will bring them to the upgrade page, filling in your name as the referrer. If they purchase it, with you as the referrer, you'll get a free 30-day voucher for the Hacker Plan that you can redeem (or gift to someone else to redeem). You can see a full list of all your earned vouchers in your account settings. In the future, we may have referral competitions with hot hot prizes! Any questions? Post below! ![](https://media.giphy.com/media/eCqFYAVjjDksg/giphy.gif) ## FAQ **Q: How many times can I refer a friend?** A: You can only refer the same friend once. Meaning, if Alice refers Bob and Bob cancels his plan right away, Alice can't refer Bob anymore. **Q: How many times can I use a coupon?** A: Only once! And each one is good for 30 days.
5
posted by timmy_i_chen (590) 23 days ago
17
🥇repl.run homepage contest 💻
We're about to release [repl.run](https://repl.it/talk/announcements/BetaExplorers-Announcing-replrun-publish-your-terminal-apps-as-websites/7802) to the public and we want something cool to exist at the [root](https://repl.run). Right now we have Star Wars ASCII animation. Which is kind of lame (Star Trek FTW!) so I'd like to run a mini contest where the winner repl.run program would get featured at the root and you also get a $50 Amazon Gift Card to sweeten the deal. I think it should be something fantastic. Go crazy. Make it weird. The only requirement is that it has some explanation of what repl.run is for new users. Here's a sample copy for what the intro could say: - title: repl.run - tagline: publish your terminal apps as websites - description: up until now there was no way to publish terminal applications on the web. Although terminal apps is what most programmer start their career building (e.g. Hello World) most programs live and die on the coders' machine. repl.run changes this by making it possible to publish an app written in any language that repl.it supports on the web. Deadline: Friday the 22th
24
posted by amasad (978) 1 month ago
11
Weekly Repls #24
Good Morning (or evening) everyone. No long weekend this week, but that's all right. You guys used those extra days of vacation to make some really awesome stuff! So without further a due, let's check these repls out!. @AZRIELGIESWEIN [Ever wanted to start your programs with large, ascii text! Write any sentence into this program, and see the cool text that comes out!](https://repl.it/talk/share/Ascii-Typer/10975) @leon332157 [jsonstore.io is a pretty sweet site, and this python lib lets you interact with it, with ease!](https://repl.it/talk/share/NEW-Python-Lib-for-wwwjsonstoreio-DONT-LOOSE-YOUR-DATA-AGAIN-WITH-JSON-STORE-NEW/10956) @GrantKeo [Cleaning your room may seem like a chore, however this program tries to turn it into game, and succeeds!](https://repl.it/talk/share/Life-o-a-Hoarder-Console-Edition/10982) @theangryepicbanana [Through the mathematical power of the Julia language and sixels, sketch all your equations, in the terminal!](https://repl.it/talk/share/Sixels-in-Julia/10985) @amasad [Uses a AI model (really, the brain) from OpenAI to generate complete, albeit zany, paragraphs!](https://repl.it/talk/share/Open-AI-GPT-2-language-model/10998) @TheDrone7 [Want a nice looking website, where you can display all your projects, goals, and achievements? Check out this great template!](https://repl.it/talk/share/Making-your-own-portfolio/11046) @mkhoi [While a simple program, this did make me laugh when I saw it and I wanted to include it](https://repl.it/talk/share/A-old-timeys-style-of-a-website/11054)
10
posted by 21natzil (456) 25 days ago
19
Repl.it Stability Update
Some of you might have noticed some features on Repl.it might have not been working quite as expected over the last few days. To be more specific, we've had a few bugs with servers not waking up and packages not installing. We've been actively working to get these bugs fixed, but you might want to know what caused them. Behind the scenes, we've been migrating Repl.it to use a brand new protocol when talking to your container. Our new protocol has all sorts of fun stuff like channels to do multiple things at the same time and collaboration as a first class primitive. We've been using the same protocol since the beginning of our containerized repls (about 4 years ago) and it has long since started to show its age. It was designed for a simpler time when Repl.it was just sending an `eval` and get a `result`. Pretty much every feature after that was hacked on top of this simple protocol. Very soon we'll start rolling out features previously not possible in our old protocol. At this point, all the bugs (we know about) related to the new protocol have been ironed out. If you run into anything unexpected please post them over at https://repl.it/bugs/. Or, if you are on our discord, let us know in the #bugs channel (you can @turbio). Remember to include a link to your repl, that helps us out a lot.
7
posted by turbio (31) 1 month ago
22
New Feature: Folders for your Repls
If you look at our [top requested features](/feedback/?sort=top), repl management is both the 3rd and 4th most requested feature. We understand that many people have multiple uses for Repl.it, and that they want to organize their repls to more easily find the ones they want. ![folder-demo-min](https://storage.googleapis.com/replit/images/1548984875519_01e1c638882256eeb64de63e2c7fb260.gi) To that end, we are happy to announce that you can now organize repls into folders on your [repls dashboard](/repls). You can create as many folders as you like, and you can create folders within folders. Moving repls is a breeze - you can drag and drop repls into folders. If you want to move a repl or folder deep into nested folders and you don't want to drag it around too many times, you can do so by clicking on the 3-dots-menu and selecting "Move". Selecting multiple repls is also a breeze. Hold shift to select a range of repls and folders, or hold ctrl/cmd to select specific repls and folders. Multiple items can be dragged and dropped into folders. This is just the first step in a few steps we're taking to improve the Repl.it experience. Soon, you will have a special folder called "Unnamed" where unnamed repls will automatically go. If you wanted to get a head start on this feature, you can do so simply by creating a new folder called `Unnamed` in your home directory on your dashboard. Newly created repls will then go into this folder. We have more planned and in the works. We're excited to see how users will use this feature, and we welcome any suggestions and feedback you have on our [feedback boards](/feedback). You can also leave a comment on this post.
8
posted by timmy_i_chen (590) 2 months ago
18
Code Jam Results!
# Repl.it code jam (Make an OS) Now disclaimer, our participants did not make an operating system such as Windows, OS X, or some linux distribution. They had 48 hours to develop an "OS" that had a login, a file system, and could run some programming language. The submissions were great, and I enjoyed scouring every last one of them. Everyone made something super unique and I'm exited to share them with you. ## Let's backup. What is a code jam? A code jam is an event that occurs on the [repl.it discord](https://repl.it/discord) guild. Members from all ethnicities and ages come to build a project around some theme. The theme is announced the day it starts, this time it was *Build an OS*. However you can't just make whatever you want. While that would be super fun, each submission is graded by a moderator, and it would be hard to compare one OS that sends jokes and another that's serious. The requirements are as follows. * ***FILE SYSTEM***: Every OS must have some way to create directories and files, and be able to navigate between them. * ***CODING***: Every OS must have some way to not only write code to a file, but also run code from a file. * ***LOGIN***: Every OS must be able to login to an account. In addition, there were fields that weren't required, however a good OS will have them. * ***INTERFACE***: The interface is how nice the OS displays information and takes in input. * ***EOO***: EOO stands for *Ease of Operation*. This grades how easy an OS is to use. * ***DOCS***: Documentation is very important, I'm not a mind reader, so it's almost essential an OS has this. * ***EXTRAS***: Anything else that the OS has, like being able to read stuff from google, would give people a point. All of the listed categories can be scored up to 5, so a submission could have a total of 35 points max. You can view the 0-5 grades as *Didn't include, Exists, Functional, Good, Nice!, Perfect!* This year people built their projects by themselves, however we've done team jams before. ## Now let's get into the top 5! * (5) We have (repl.it: [@JosephGrace](https://repl.it/@JosephGrace) / discord: @Tunnelbridge#8408) with [WTOS](https://repl.it/@JosephGrace/JAMMMMMM). The only one out of the top 5 submission to use C++, and created an OS that was very easy to use! They had a great file system, however I just wish more effort was put into the interface. * (4) We have (repl.it: [@Harmeet_SinghSi](https://repl.it/@Harmeet_SinghSi) /discord: ♓S#1624) with [DRONE](https://repl.it/@21natzil/AquaRuddySystemadministrator-S1624). A wonderful example of an OS in the web browser. They did a fantastic job with running and writing to files. And the file system was super awesome. Unforchanetly, after tackling such a huge project, bugs were bound to happen. And they really took a toll on major parts of the OS. * (3) We have (repl.it: [@ThatSmart](https://repl.it/@ThatSmart) / discord: JackFly26#8835) with [JackUX](https://repl.it/@21natzil/FifthCodeJam-JackFly268835). This OS was easy to use, with no glaring issues. Especially things like the file system, login, and docs. Could have made their own editor, however the one they had was more than functional. Also, uses polygott, so if you don't know what that is, check it out this submission! * (2) We have (repl.it: [@FelixMattick](https://repl.it/@FelixMattick)/ discord: archmaster#6356) with [Sys.X](https://repl.it/@21natzil/SysX-archmaster6356). This submission is just amazing, and really highlights the talented people repl.it is proud to host! They had both a website, and a terminal version for their OS. Multiple programming languages you could choose to use, the main being JS. Wonderful interface, with great colors. They had a whole selection of extra features, the only critique would be to work on making it easier to operate. * (1) Last, but not least, we have (repl.it: [@pyelias](https://repl.it/@pyelias)/ discord: elias#7990) with [BomOS](https://repl.it/@21natzil/Jam5-elias7990). It was close, but elias, a previous jam winner, just came through with an OS that's chock full of content. With colors to identify files from directories, custom programming languages, did I mention the all the commands, were *written in the custom programming language*! It was very impressive, and I highly suggest people check it out. ## What's next? I enjoyed the theme, and I picked it because I saw an influx in people making operating systems in Repl Talk. Who knows what the next theme will be 😊. People were asking if they could work with partners this time, so we might try that again. The moderators will also work harder to create a better grading system, because if you were in previous jams, you may have noticed that this year's grading is quite different. We're trying new things, so we can optimize your fun! Having the public vote for projects was also suggested, however we've found a few issues with that. The first problem being that we can't ensure people are graded fairly, we don't want this to become a popularity content. The second reason being cheating. People can create alternative accounts, and have those accounts vote for them. It's possible we try this out in the future however, we're open to all suggestions. If you have any suggestions, you can contact me on the repl.it discord (@Zwack010#0001).
13
posted by 21natzil (456) 2 months ago
7
💎Ruby Packages via RubyGems 🔥
About 8 months ago we announced the [Universal Package Manager](https://repl.it/talk/announcements/Announcing-Universal-Package-Manager/5201) -- a package manager with the same frontend despite language differences. We launched it with Python, NodeJS, HTML, and Web Frameworks support. Now, we're going back and adding more languages to it. Starting with the wonderful RubyGems. You'll see the package 📦icon in the sidebar for Ruby and will be able to install Gems to your repl. ![ruby](https://storage.googleapis.com/replit/images/1551725138884_9e6339bb28e05e233f4aeb0aa8b9ca4c.gi) Start [here](/languages/ruby). Happy rubying!
2
posted by amasad (978) 18 days ago
10
PySimpleGUI Adds Support For Repl.it
PySimpleGUI, the simplest cross-platform Python GUI framework just added support for Repl.it (web in general) and it's the simplest way I've seen UI being done on Repl.it yet. ![ezgif-3-d257c06699ea (1)](https://storage.googleapis.com/replit/images/1548743581870_2040a56b3c7ca4c642ccd97e9a4df3d1.gi) It has good autocompletion and it's [well-documented](https://pysimplegui.readthedocs.io/). It's especially great for new coders that want to try their hands at coding GUI. To get started simply import the library, create a window, and give it a layout! Here is a name reading app and repl: ```python import PySimpleGUIWeb as sg window = sg.Window('hello world').Layout([ [sg.Text('hello world')], [sg.InputText('enter name')], [sg.Submit(), sg.Cancel()] ]) [button, [name]] = window.Read() if button == 'Submit': print('Hello ' + name) ``` https://repl.it/@amasad/PySimpleGUI
19
posted by amasad (978) 2 months ago
12
New repl.art for a secret project
It's become a tradition where for new projects we're working we get art done. That way we get to hype up our releases way ahead of time __#vaporware__. You can always go to [repl.art](https://repl.art) for all the art. So without further ado we bring you GFX (that's as much as we're letting on): ![gfx3](https://storage.googleapis.com/replit/images/1549934789681_4ae9aac3970312d7e54a77fb94b47e1f.pn) ![gfx2](https://storage.googleapis.com/replit/images/1549934790055_d2892fea23546bbca431767cd9e416ca.pn) ![gfx1](https://storage.googleapis.com/replit/images/1549934790149_2abe14b2e1d1f611822b3b8e6a477af2.pn)
2
posted by amasad (978) 1 month ago
7
Weekly Repls #25
What a week everyone! We had so many great submissions, so this post will not go empty! As a side note, did anyone crack puzzle from that week's newsletter? If not, I highly recommend you give it a shot! (No spoilers in the comments, if you've solved it). Now let's get to the repls! @FelixMattick [Made a wonderful API wrapper, for repl.it it node! Super awesome, do check it out!](https://repl.it/talk/announcements/Replit-Node-API/11173) @iamcooliguess [Through the power of p5.js, watch as window turn into a rainbow via your mouse!](https://repl.it/talk/share/Mapping-colors/11154) @eankeen [Developed an awesome tutorial, explaining how to use Vue!](https://repl.it/talk/learn/Creating-a-VueJS-app-A-tutorial-for-beginners/11232) @SingularityV3 [Created the classic game, snake, all in the web browser!](https://repl.it/talk/share/Snake-remade-in-HTML-and-JavaScript/11228) Cya next week!
0
posted by 21natzil (456) 18 days ago
16
Recent Changes to JavaScript -> Node.js
# Recent Changes to JavaScript -> NodeJS We recently made a change that redirected new JavaScript repls to create Node.js repls instead. We recognize that this behavior may come as a surprise, and may cause some frustration when using Repl.it with JavaScript. In this post, we'd like to provide our reasons for making this change, and give workarounds for those who require Browser JavaScript for their work. At Repl.it, we strive to provide the best experience for our users. To a beginner learning JavaScript, there may not be a big difference between using JavaScript and Node.js, as far as the language itself goes. However, on Repl.it, there are a few key features that make using Node.js the preferred environment: 1. **Package Support**: Node.js supports npm package searching and installing on the fly. You can search for any package and add it to your project, generating a `package.json` file for you, where you can then import it into your program. More on that in our [packager](/site/blog/packager) announcement. 2. **Consistency**: When using our Browser JavaScript repl, it uses whatever flavor of JavaScript your browser is using. This means that a Browser JS repl run on one machine may not run on a different machine, or it may behave differently. However, with Node.js repls, since it runs on a VM in the cloud, behavior is guaranteed to be consistent across browsers and programming sessions. Furthermore, you can safely share it with others, knowing that their experience will be identical to yours. 3. **File Management**: Node.js repls allow for users to create files and folders and interact with them, whereas browser JavaScript repls don't. This allows for more versatility in the programs you create, and for more growth in your learning. 4. **Infinite Loop Protection**: Finally, if you accidentally write an infinite loop (we've all been there), your browser won't be locked up, since the code is not running on your machine. So what happens if you need the web browser API, or if you need to test JavaScript that will run in the browser? You can create [HTML repls](/languages/html) to achieve that. The added benefit of using HTML repls is that you can search and import packages such as jquery, lodash, or moment.js, and then test out those functions within your script.js file. You still have a repl to interact with in the console tab. One thing you might miss from the JavaScript REPL is the `prompt` API. While we know that `prompt` is convenient, it's considered an antiquated API and its use in modern web development is generally frowned upon. If you'd like to do I/O in the node.js REPL you can do so using the `readline-sync` package which we pre-include in our Node.js image. You can try an example here: https://repl.it/@timmy_i_chen/readline-sync-demo We made this change because we believe it will be beneficial to Repl.it users, both new and old. We welcome any feedback in the comments below, and we look forward to working with you in the future to create awesome projects.
6
posted by timmy_i_chen (590) 2 months ago
67
Announcing Universal Package Manager
Open-source has revolutionized software development -- it wouldn't be an overstatement to say that it's been the most significant productivity win for developers in the last decade or so. At Repl.it, our goal is to make programming more accessible and what better way to do that than make available to programmers the entirety of open-source packages available at their fingertips. Today we're excited to announce our Universal Package Manager -- the Repl.it package manager that will grow to support every language on our platform. Where traditionally you have to learn and use different package managers for different languages, now you can install any package in any language that we support behind the same interface. We're now starting with JavaScript, Python, HTML/CSS/JS, and the web frameworks that we support. ![](https://thumbs.gfycat.com/AmazingPessimisticAddax-max-14mb.gif) We've had [basic support](/site/blog/python-import) for automatic package detection and installation for a while now, but what changed is that we support search and spec files (package.json, gemfile, requirements.txt, etc) across the board. Furthermore, where we used to write custom code for every language that we support, now we merely add fields to a config file. This was made possible by creating a common package manager runner abstractions. Adding package manager support for a language is as easy as adding a couple of fields in a JSON config: ```json "dependencies": { "env": { "PYTHONPATH": "/run_dir/customize", "MATPLOTLIBRC": "/run_dir/" }, "installDir": ".site-packages", "findCommand": [ "python", "/run_dir/findreqs.py", "--ignore", "/home/runner/.site-packages" ], "installCommand": [ "pip", "install", "--target=/home/runner/.site-packages" ], "specFile": "requirements.txt", ``` In addition to this we have a more ambitious project in the works to build the same package manager that works across all languages (with the same semantics). You should [come work](/site/jobs) with us. [Signup](/signup) and start [coding](/languages).
28
posted by amasad (978) 8 months ago
8
Weekly Repls #22
Heyyyyyy everyone! I hope you guys all had a great weekend, and a great last week. The challenge is over, so I can't wait to see how you guys did! Lots of awesome projects there, and here! So without further a due, let's see what you guys made! @Vandesm14 [Brings to light an older game, refurbished and plenty of fun, can you solve the combination?](https://repl.it/talk/share/Lock-Picker-Terminal-Edition/10564) @minermaniac447 [Ciphers are a cool way to send secret messages to your friends, and this cipher program *nq xweqche!* (seed: hkujyb)](https://repl.it/talk/share/CipheRot/10649) @themaka [Posted a very relaxing, and zen program which simply has bubbles bouncing around. The code is great for those looking into canvas however!](https://repl.it/talk/share/Some-chill-relaxing-bubbles/10685) @mat1 [In the midst of an intense subscriber count war, Mat creates a live subscriber count of PewDiePie](https://repl.it/talk/share/Live-PewDiePie-sub-count/10689) @17ivanovk [Created a wonder and in depth RPG! Easy to play and with great combat.](https://repl.it/talk/share/Loa-RPG/10638) See you all next week!
4
posted by 21natzil (456) 1 month ago
13
Repl.it CodeJam Event #5
Welcome to the fifth Repl.it CodeJam. This challenge that will have you coding about an announced topic fits every coder, from beginner to advanced. On the Discord server and Talk, you can request help if you need more ideas or are stuck on coding. The winner will get featured on the newslettera and get a special role and emoji on the Discord server. You won't want to miss this wonderful oppurtunity, so sign up on the form and happy coding! EVENT DETAILS: Date: Friday January 18th, 6:00pm EST to Sunday Jan 20th, 6:00pm EST Length: 48 hours SignUp Form: https://goo.gl/forms/B1Hn9HgPeRQ6iJOs1 Discord Server: https://repl.it/discord
9
posted by Mosrod (189) 2 months ago
7
Weekly Repls #23
Hey everyone! Long time no see, I hope you guys are having a great week, and those in the U.S., I hope you enjoyed the long weekend. We have a bunch of new things, including a new[ github organization for the repl.it discord!](https://github.com/repl-it-discord). Now, let's see what people have been up too! @evanzimmerman [Made a super sweet gaming, only using turtle! The game gets harder as you score more points, waddle safely!](https://repl.it/talk/share/Python-Turtle-Game/10781) @PYer [Shares their awesome sci-fi text adventure, which has lost of replay value, as it changes every time!](https://repl.it/talk/share/Aliens-Adventure-Game/10813) @FellowHashbrown [Teaches us how to make our own parsers! It's not as easy as you'd think, and this tutorial really breaks it down!](https://repl.it/talk/learn/Python-Discrete-Math-Logic-Parser/10844) @thejerrytan [Would you like to learn how to make complex data structures, like a Balanced Binary Search Tree in python? Check out this tutorial!](https://repl.it/talk/learn/Learn-how-to-implement-advanced-data-structures-in-Python/10897)
3
posted by 21natzil (456) 1 month ago
10
Weekly Repls #20
Wow, we've reached the 20th week, and seen so many wonderful repls. In that time we've had a variety of projects, challenges, and code jams to go along with it. Let's celbrate this week by showing off some repls that were posted! @Geocube101 [Shares a very unique game with us. Imagine the scene in "Indiana Jones" where there's a boulder rolling towards him, but as a game](https://repl.it/talk/share/Yet-Another-Blocky-Game/10098) @Scoder12 [Shared us a great tutorial / projects that highlights how to make multiplayer games with web sockets!](https://repl.it/talk/share/LIVE-Multiplayer-Game-Template-With-WebSockets/10238) @Hacker22 [Is trying to make a program that identifies trash, recyclables and compost, but needs the repl.it community for examples!](https://repl.it/talk/share/Crowdsourcing-Array-for-Recycling-Machine-Learning-Project/10247) @danielk [Created a dangerous repl, not for the faint of ram. Run this repl IF YOU DARE](https://repl.it/talk/share/The-Destroyer-of-Web-Browsers/10296) That's all this week. Don't forget to share what you're working on, along side your AIs! Cya!
2
posted by 21natzil (456) 2 months ago
11
Weekly Repls #19
I wonder if the following submissions were made by AI... I guess we'll never know. However I see that the AI challenge has begun, and while the weekly repls won't cover posted made for the challenge, I'll be sure to checkout every repl you guys post. With that out of the way, let's check out these posts! @Vandesm14 [Join Vandesm as they test the limits of node.js!](https://repl.it/talk/share/Just-how-fast-is-NodeJS/9982) @minermaniac447 [Meet Eim, A game that is most defiantly not Uno, doesn't play like Uno, and most *definitely* isn't as fun as Uno (or is it?)](https://repl.it/talk/share/Ein-A-Copyright-Infringement-Free-Uno-Clone/9994) @jajoosam [Impresses us once again, with their program that connects to your Spotify account and returns instrument only versions of your playlists!](https://repl.it/talk/share/Make-an-instrumental-version-of-your-Spotify-playlist/10051) @rshetty [Amazes us with this online pokemon game, interact and social with your friends in this game!](https://repl.it/talk/share/A-multiplayer-open-source-Pokemon-MMO-that-runs-right-in-your-browser/9971) @tristanbeedell [Add colors to your program, and this repl shows off all the colors you can use!](https://repl.it/talk/share/Terminal-Colours/9978) @SPQR [Thanks :D](https://repl.it/talk/share/replit-staff-appreciation-post/9968) That's all. Remember, submit your repls for the AI challenge, but don't forget to share your other, sweet projects!
3
posted by 21natzil (456) 2 months ago
36
Become an Explorer!
### What is Explorer Mode? Enabling explorer mode lets you use features before it goes out to everyone else. You'll get features like collaboration repls and more! Remember that all explorer features are experimental, so there will be bugs and glitches. When you find these, make sure to report them at https://repl.it/bugs ### How do I Enable Explorer? First you need to get to your account settings. You can do that by clicking your name at the top right of the screen and selecting Account or by just going to https://repl.it/account. Next, click Roles and enable the Explorer check box. You are now a Repl.it explorer!
8
posted by mat1 (843) 7 months ago
16
HTTPS-ready custom domains for websites & servers
We released [web hosting](https://repl.it/site/blog/deploy) back in March and since then you, our dear replers, have deployed 250,000 websites that served outside traffic. Some of those websites were games that went viral, apps that gained a lot of users, and APIs that served lots of traffic. Although Repl.it gives you unlimited free `repl.co` domains, custom domains is something every business or respectable project requires. That's why today we're excited to announce free HTTPS-ready custom domains just a few clicks away. In less 30 seconds I was able to link my [10print.art](https://10print.art) domain to my Commodore 64 maze simulator built on Repl.it. ![ezgif.com-video-to-gif (1)](https://storage.googleapis.com/replit/images/1539906371008_8d9e40b97a54be789407aaa91f0aada0.gi) This has been in beta for a couple of days and we've already seen lots of fun apps getting domains: - https://hop-fighter.tk/ by @kaldisberzins our most favorite multiplayer game written in NodeJS - https://darktheme.tk/ by @mat1 is a site-wide dark theme for Repl.it - https://classaware.cf/ is the popular class schedule app by @Vandesm14 - https://plat.ml the platformer game by @Fhillis written in NodeJS If you add `/__repl` to the domain you'll be able to get to the repl powering the site! With this, anyone with minimal programming knowledge can build and deploy websites: no git, cli, or any other complications are required -- just code and ship! Start [here](/languages) and select HTML for static sites or your favorite language or framework for a server/fullstack app.
20
posted by amasad (978) 5 months ago
Load more