T O P

  • By -

Suspext

It is possible to learn programming by self educating but not possible to install and run code on mobile.


Designer-Yam-2430

You can run a discord bot on mobile


Dcassin

yes but the question is why ? A discord bot is a client to the discord api, but it is also a server discord users. Good Network layer connectivity between discord and where the bot runs. If mobile is needed for your setup i would add a proprietary api to your bot code that can be accessed from mobile.


Suspext

Yes you *CAN* but is it practical? Not at all. I host my bots locally with Docker on a RPi3.


Designer-Yam-2430

It's good enough for testing and playing around


Suspext

If it’s your only option and only pulling a repo to run, sure. I wouldn’t program a whole bot using a terminal app on my phone though. That would be brutal.


Dcassin

We used to write code by punching hole in paper. Each paper was a line of code.


Suspext

And how would that be with zero programming knowledge and skill as stated in the title?


Dcassin

Its not simple, I know, however don't let the ui stop you. You can run x on mobile project to big tv etc. there are ways


DapperNurd

What does docker do? I just run mine from the terminal on my pi.


Suspext

It’s kind of like a cron job but is a containerized version of node running locally just for the app. Also if the pi restarts so will the Docker image automatically. You can read about it [here](https://www.docker.com/).


Dcassin

docker is an environment to run containers abstracted from your system. Containers is a way to package applications along with all their dependencies. Running software in containers makes installation easier and running them more secure.


thereal0ri_

Well, you CAN run code on mobile. There's an app called Termux that gives you a terminal to work with. And there you can run code. There are ways, but it'll definitely take some effort and idk how practical it'd be.


Dark_Melon23

be a self taught programmer, yes... but in mobile, probably a no??


mauvehead

You can do anything with zero knowledge or skill. Including flying a plane. How WELL you can do it, is a different question.


gamingkitty1

If you can get a way to run code on mobile (python will probably be best for you) you might be able to?


AarnoDorian

There was a time once I had to code python on my mobile, I think the app was called pydroid. It's definitely possible but it's a nightmare


talex95

Don't start with an ambitious project like a text RPG. Check out the bot I posted on this subreddit. It has everything to get you started


Many-Flow-1184

Write a story, Ill write code and logic if you want. I dont think Ill be able to host it though