Share your repls and programming experiences

← Back to all posts
WarhawkOS
Warhawk947 (451)

WarhawkOS!

BETA

GUI UPDATE

View this project in fullscreen!

Thought it was annoying to constantly type "@" every time you ran an app? Guess what?! You don't have to anymore! Using my text-based selection GUI, all you have to do it press some arrow keys and enter! Have fun!

Check out my youtube channel! - https://www.youtube.com/channel/UCfKKO4gUtNrZOo70FFAoeHw

Leave an upvote if you liked this project!
Thanks For Viewing!

cheers, Warhawk947

--------------------------------------- Changelog--------------------------------------------------------
12.11.2019 - Started changelog, added Tic-Tac-Toe game, made the login a bit more secure.
12.12.2019 - Added Boot Animation, added instructions dialog to Tic-Tac-Toe game, added settings option to disable instructions dialog (view settings.other), bug fixes
12.27.2019 - Moved everything to the cloud, OOF.
1.8.2020 - 2020 woohoo! Also added logout function
1.15.2020 - Removed logout function =[ because it was too buggy
1.17.2020 - Fixed major bug where changing your username could delete your account, added a text-based GUI to almost everything
2.19.2020 - Fixed replit module issue
3.2.2020 - Cleaned up files

Commentshotnewtop
MrEconomical (2124)

great project! I would give an "e"

xolyon (347)

Type in @help for help

Hmm yes the floor here is made out of floor

xolyon (347)

please do not state the obvious it's like people who do this
@Warhawk947

#if number 1 is bigger than number 2 then
if num1 > num2:
    #prints something
    print("something")
mwilki7 (943)

@xolyon you'd be surprised how many different ways there are to type in the command for help, being explicit is useful

V3rmillionNet (53)

Now make a Python based OS with Tkinter, and that'll make it the best project ever.

JacksonCowie (387)

@V3rmillionNet I already done that kinda, I used the C python module with Tkinter. I'll try and get it onto replit.

wulv (46)

Nice! The graphics are awesome for a console app

Warhawk947 (451)

@wulv lol thanks, almost all of the features don't work now because jsonstore is down, but glad you liked it anyways!

wulv (46)

@Warhawk947 Really? Everything I tried worked fine 🤷‍♂️

phunanon (3)

How do you quit Settings?
And why does everything in the prompt have to start with @? Why that decision?
How far do you plan to develop this? Is it just for fun, or does it have a serious path ahead?

Warhawk947 (451)

@phunanon
1. To quit settings, type 'e' or 'exit' or anything else that starts with 'e'
2. The reason everything starts with '@' is because I thought it was cool
3. I plan to add a couple of games, apps, etc. etc. and don't really have a serious path ahead.

[deleted]
Nanowrimoijk (42)

im getting an error when trying to play tic tac toe:
Error: The app returned an error. The error was 'askForInstructionsTicTacToe'

Warhawk947 (451)

@Nanowrimoijk Sorry about that! I'll try to fix that in the near future!

Zexogon (835)

@Warhawk947 i would absolutly love to work on a project together if your up for it
talkto me on discord! Dart#5588

ps good job on 100 cycles :)

PDanielY (954)

@Zexogon for a second there I thought you were this person on Discord named Dart2.0. He/She was basically the worst lier you could ever know

JacksonCowie (387)

Awesome Job, I made a few edits to the setup/login part of it.

I imported the getpass module so that when the user enters the passcode, it is hidden from the display. Makes it more like an Unix login and more secure if you are sitting next to someone. You can see my version here https://repl.it/@JacksonCowie/WarhawkOS-1

launcherman08 (22)

I get an error when I run the repl:

Warhawk947 (451)

@launcherman08 oh sorry I'm in the process of adding new features, so it may crash. I will remove this for now, sorry!

Warhawk947 (451)

@launcherman08 I fixed it, it should be okay.

phunanon (3)

@Warhawk947, I suggest you make a separate dev repl and the copy things over once you know they work

Warhawk947 (451)

@phunanon I am doing that right now

SBCKing (9)

Also in main.py, function main() you are returning none at the end I don't see why you needed to do that since the function doesn't need to return anything in the first place as it is just running your os.

Warhawk947 (451)

@SBCKing return none is the line that breaks out of the os. Without it, @shutdown would not work.

SBCKing (9)

@Warhawk947 I see, makes sense now

SBCKing (9)

quick one how are you storing usernames and passwords on the cloud?
great project as well btw.

Warhawk947 (451)

@SBCKing I store all the information into the cloud with dictionaries. The username, passwords, and other things are in the dictionary.

SBCKing (9)

@Warhawk947 I think you misunderstood me. I mean how are you importing that dictionary from the cloud into your program and vice versa.

SBCKing (9)

@Warhawk947 Gotcha, I've had a look and it looks so much simpler than what i've been doing. I've been uploading my dictionaries to amazon s3 buckets and doing god knows what to access the json files. thanks!

SBCKing (9)

@Warhawk947 Also just a quick heads up i recommend you store you jsostore.io url in something called ".env" file. it only allows you the author to view the url(token). so when someone opens your files on repl they cant see the client token. see this: https://docs.repl.it/repls/secret-keys

Warhawk947 (451)

@SBCKing i am well aware of .env files. I would use them, but the reason I don't is because for some reason replit can't read .env files if you are viewing in a full tab (like https://warhawkos.warhawk947.repl.run/)

SBCKing (9)

@Warhawk947 Hmm... that is very weird i have to say

PDanielY (954)

This is pretty cool.

Warhawk947 (451)

@PDanielY thank you! I am working on a new update, so stay tuned! It may have something to do with the sky...

Warhawk947 (451)

@PDanielY The update is out! Merry christmas and a happy new year!

Thecrowbar1234 (143)

@Warhawk947 Hey, do you want to work on some python together?

Warhawk947 (451)

@Thecrowbar1234 sure! What are you trying to work on exactly?

Thecrowbar1234 (143)

@Warhawk947 I am working on games, but do you want to like try to add some games as apps in warhawkos, kinda like a colaboration of what we work om. Your free to decline.

Warhawk947 (451)

@Thecrowbar1234 oh sure! I am currently trying to add a tic tac toe game to warhawkos, too!

Thecrowbar1234 (143)

@Warhawk947 Sorry for that extra comment, I didn't see the comment when I pressed comment, so then I wrote another comment, and then I thought of refreshing the page.

Thecrowbar1234 (143)

@Warhawk947 I'll tell you when I am done with my game, and then we can work together to make sure it is compatible with warhawk os.

Thecrowbar1234 (143)

@Warhawk947 I guess I deleted it before you saw it.

[deleted]

I would Help in repl.it and i'm good at python, I saw the OS files and it's 90% made in python...

Warhawk947 (451)

@Ganesha1 sure! what do you need help with?

[deleted]

Wow
The WOW Starts now
WOWWOWWOW

Great OS, better than mine (Made in batch).

ripu (3)

ummm im a beginner what exactly is systemUtils for?

Warhawk947 (451)

@ripu systemutils has the processes used by both the main code and the apps.

Warhawk947 (451)

Christmas Poll:
Would you rather get a christmas present, or get the cash?

roylatgnail (840)

@Warhawk947
what is cash is the present?

Warhawk947 (451)

@TaylorLiang get the present's worth of cash. For example, would you rather get a cup worth 3 dollars, or get 3 dollars?

roylatgnail (840)

@Warhawk947 3 dollars, but if it was like a game or something else, it would depend

kerphloo (7)

you should make this actually bootable
it would be awesome to have this in the grub bootloader lol

Bookie0 (1548)

Amazing code!!!! I loved it! One thing you could add is maybe a kind of chatbot. Also, maybe you could put a kind of autocorrecter for spelling mistakes. Anyways just suggestions.

Very cool

Have a great day!

[deleted]

Good work!

JordanDixon1 (301)

I suggest defining your variables and everything in a seperate file and then import it into your first page to make it more clean.

Foster_Bryant (99)

I'm thinking of making a visual version of a python os maybe. This inspired me lol.

Zexogon (835)

this is amazing!!!!! i shall feature it on my blog page https://blog.zexogon.repl.co/

CodeSalvageON (385)

Much more advanced version of Sellout OS. Very good!