<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Onur ULUSOY on Medium]]></title>
        <description><![CDATA[Stories by Onur ULUSOY on Medium]]></description>
        <link>https://medium.com/@onuratakan?source=rss-bab08166d831------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M930Udwf1nMIJwKavNwDJw.jpeg</url>
            <title>Stories by Onur ULUSOY on Medium</title>
            <link>https://medium.com/@onuratakan?source=rss-bab08166d831------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:00:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@onuratakan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Build your own OpenClaw bot With This Python Library]]></title>
            <link>https://onuratakan.medium.com/build-your-own-openclaw-bot-with-this-python-library-f1e7b1003984?source=rss-bab08166d831------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1e7b1003984</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[clawdbot]]></category>
            <category><![CDATA[openclaw]]></category>
            <category><![CDATA[telegram]]></category>
            <dc:creator><![CDATA[Onur ULUSOY]]></dc:creator>
            <pubDate>Tue, 10 Feb 2026 14:24:10 GMT</pubDate>
            <atom:updated>2026-02-12T12:17:21.879Z</atom:updated>
            <content:encoded><![CDATA[<p>These days everyone is just interested in OpenClaw because it shows how we should design autonomy with current models.</p><p>Before OpenClaw (OpenClaw, Clawdbot, and Molbot are all the same), as agent frameworks, we thought like, “Okay, we already have all the features we need to build some agents.” But then the eureka moment was, “Okay, simplicity is better for autonomy because its nature is based on the model.</p><p>So the solution is very simple:</p><ul><li>Let agents create their own memories without any limitation.</li><li>A heartbeat for the things to remember.</li><li>Cron jobs for automation.</li></ul><p>So today, I want to show you how you can create an autonomous agent in Python and use it through Telegram.</p><h3>What We’re Building</h3><p>We’re going to build a Telegram bot that is actually an autonomous agent. Not a wrapper around an API that echoes back completions. An actual agent that can:</p><ul><li>Read, write, and edit files on your machine</li><li>Run shell commands</li><li>Remember conversation context between messages</li><li>All controlled through Telegram messages</li></ul><p>The stack is simple: <strong>Upsonic</strong> for the agent, <strong>ngrok</strong> for exposing your local server, and <strong>Telegram</strong> as the interface.</p><h4>Step 1: Install Dependencies</h4><p>Create a virtual environment and install the packages:</p><p>install uv: <a href="https://docs.astral.sh/uv/getting-started/installation/">https://docs.astral.sh/uv/getting-started/installation/</a></p><pre><br>uv venv<br>uv pip install upsonic fastapi uvicorn<br>uv pip install upsonic fastapi uvicorn sqlalchemy aiosqlite</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JZnURJ-bfkEwJgANV9B5Tg.png" /></figure><h4>Step 2: Create a Telegram Bot and Get Your User ID</h4><p>Open Telegram and search for <strong>@BotFather</strong>. Send `<strong>/newbot</strong>` and follow the prompts. Pick a name and a username.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*vClfebssCKCpgH-rmZuoyg.png" /></figure><p>BotFather will give you a <strong>Bot API Token</strong>. Copy it somewhere safe, we’ll need it in a moment.</p><p>Now the important part: <strong>get your Telegram user ID</strong>. Search for <strong>@userinfobot</strong> on Telegram and send it any message. It will reply with your numeric user ID. Write it down.</p><p>Why? Because this agent has filesystem and shell access on your machine. You absolutely do not want random people on the internet sending commands to it. We’ll lock the bot down to your user ID only, so nobody else can interact with it.</p><h4>Step 3: Set Up ngrok</h4><p>Here’s the thing: Telegram delivers messages via webhooks. It sends HTTPS requests to a public URL. Your `<strong>localhost:8000</strong>` is not public. So we need a tunnel. <strong>ngrok</strong> does exactly that.</p><p><strong>Install ngrok:</strong></p><pre># macOS<br>brew install ngrok<br><br># Linux<br>snap install ngrok<br><br># Windows<br>choco install ngrok</pre><p><strong>Create a free account </strong>at <a href="https://dashboard.ngrok.com/signup">ngrok.com/signup</a> , grab your authtoken from the dashboard, and run:</p><pre>ngrok config add-authtoken YOUR_AUTH_TOKEN</pre><p><strong>Start the tunnel:</strong></p><pre>ngrok http 8000</pre><p>You’ll see something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*tARJIg4AsHlTY8YLvRhE1g.png" /></figure><pre>Forwarding  https://abc123.ngrok-free.app -&gt; http://localhost:8000</pre><p>Copy that `https://....ngrok-free.app` URL. That’s your public webhook endpoint.</p><blockquote><strong>Important</strong>: Keep this terminal open. If you close ngrok, the tunnel dies and your bot goes deaf. When you restart ngrok, the URL changes, so you’ll need to update your `.env`.</blockquote><h4>Step 4: Configure Environment Variables</h4><p>Create a `.env` file in your project root:</p><pre>TELEGRAM_BOT_TOKEN=your-bot-token-from-botfather<br>TELEGRAM_WEBHOOK_URL=https://abc123.ngrok-free.app<br>TELEGRAM_USER_ID=your-numeric-user-id</pre><p>Replace the values with your actual token, ngrok URL, and the user ID you got from @userinfobot.</p><h4>Step 5: Set Up the Workspace Folder</h4><p>Before we write any code, we need to create a <strong>workspace</strong>. This is the folder where your agent lives and operates. Think of it as the agent’s `$HOME`. Every file read, file write, and shell command happens inside this folder, sandboxed for safety.</p><pre>mkdir -p ~/my-agent-workspace</pre><h4>Create AGENTS.md: The Agent’s Brain</h4><p>OK this is the part that makes this whole thing interesting. Inside your workspace, you create a file called `AGENTS.md`. It’s a markdown file that defines <strong>who your agent is and how it should behave</strong>. When the agent boots up, it reads this file and injects it into its system prompt automatically.</p><p>This is the OpenClaw way of doing things: instead of hardcoding behavior in Python, you define it in plain markdown. Easy to read, easy to edit, no redeployment needed. Also your agent can edit that by your instructions.</p><p>We have a ready-to-use `AGENTS.md` template that covers memory management, safety rules, group chat behavior, and more. Grab it from here and use nano to paste that:</p><pre>nano ~/my-agent-workspace/AGENTS.md</pre><p><a href="https://docs.upsonic.ai/ready-to-use-snippets/agents-md">AGENTS.md Template</a></p><p>Copy the template, paste it into `~/my-agent-workspace/AGENTS.md`, and customize it for your use case. The template includes session startup routines, memory management (daily logs + long-term memory), safety guidelines, and even rules for how to behave in group chats.</p><p>You can also create the supporting files to give your agent more context:</p><pre>mkdir -p ~/my-agent-workspace/memory<br><br>echo &quot;# Soul<br>I am a helpful assistant. I help users with their daily tasks, answer questions, and get things done efficiently.&quot; &gt; ~/my-agent-workspace/SOUL.md<br><br>echo &quot;# User<br>A user who wants a helpful assistant accessible through Telegram.&quot; &gt; ~/my-agent-workspace/USER.md</pre><p>Your workspace should now look like this:</p><pre>~/my-agent-workspace/<br>├── AGENTS.md          # Agent behavior &amp; guidelines<br>├── SOUL.md            # Agent identity<br>├── USER.md            # User context<br>└── memory/            # Daily logs will go here</pre><p>This is the foundation. The agent reads these files every session, builds up its own memories over time, and evolves. All without you touching a single line of Python.</p><h4>Step 6: Create the Autonomous Agent with Upsonic Library</h4><p>Now let’s wire everything together. We’ll create an `AutonomousAgent`. This is not a basic chatbot. It’s an agent with built-in filesystem and shell tools that operates inside the workspace we just set up. It will automatically read `AGENTS.md` and adopt the behavior we defined there.</p><p>Create a file called `bot.py`:</p><pre>import os<br>from dotenv import load_dotenv<br>from upsonic import AutonomousAgent<br>from upsonic.interfaces import InterfaceManager, TelegramInterface, InterfaceMode<br><br>load_dotenv()<br><br># Create an autonomous agent - it will automatically load AGENTS.md from the workspace<br>agent = AutonomousAgent(<br>    model=&quot;openai/gpt-4o-mini&quot;,<br>    workspace=os.path.expanduser(&quot;~/my-agent-workspace&quot;),<br>)<br><br># Wire it up to Telegram in CHAT mode (remembers conversation)<br>telegram = TelegramInterface(<br>    agent=agent,<br>    bot_token=os.getenv(&quot;TELEGRAM_BOT_TOKEN&quot;),<br>    webhook_url=os.getenv(&quot;TELEGRAM_WEBHOOK_URL&quot;),<br>    mode=InterfaceMode.CHAT,<br>    reset_command=&quot;/reset&quot;,<br>)<br><br>manager = InterfaceManager(interfaces=[telegram])<br>manager.serve(host=&quot;0.0.0.0&quot;, port=8000)</pre><p>Look how clean this is. We didn’t pass `name`, `role`, `goal`, or `instructions` to the Python code. All of that lives in `AGENTS.md`. The agent reads the workspace, loads the config, and knows who it is.</p><p>Here’s what’s happening under the hood:</p><ul><li>`AutonomousAgent` comes with built-in filesystem and shell tools. No extra config needed.</li><li>`workspace` points to the folder we set up. The agent is sandboxed here; it literally can’t escape this directory.</li><li>`AGENTS.md` is automatically loaded into the system prompt. The agent’s personality and rules come from there.</li><li>`allowed_user_ids` locks the bot to your Telegram account. Anyone else who messages your bot gets ignored. This is critical because the agent has filesystem and shell access.</li><li>`InterfaceMode.CHAT` means the agent remembers your conversation. You can say “read that file” and it knows which file you were talking about.</li><li>`/reset` clears the conversation. When you reset, the agent re-reads the workspace and sends a fresh greeting based on its configuration.</li></ul><p>The cool part: want to change how your agent behaves? Just edit `AGENTS.md`. No code changes. No redeployment. Update the markdown, hit `/reset` in Telegram, done.</p><h4>Step 7: Run It</h4><p>Make sure ngrok is still running in one terminal. In another terminal:</p><pre>uv run bot.py</pre><p>Open Telegram, find your bot by its username, and start chatting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gTTa7SKgtv0Un7Ezf4lT3Q.png" /></figure><h4>What Can You Actually Do With This?</h4><p>This is not your typical “ask me anything” chatbot. Since there’s an actual autonomous agent behind it, you can send messages like:</p><ul><li><em>”List all Python files in the project”</em></li><li><em>”Read the README and summarize it”</em></li><li><em>”Create a new file called hello.py with a hello world program”</em></li><li><em>”Run the tests and tell me if anything fails”</em></li><li><em>”Find all TODO comments in the codebase”</em></li></ul><p>The agent will use its filesystem and shell tools to actually do these things and report back. Through Telegram. From your phone. While you’re on the bus.</p><h4>Why This Matters</h4><p>The OpenClaw philosophy is about letting the model drive the autonomy. Instead of building complex pipelines and state machines, you give the agent simple, powerful tools and let it figure out how to use them.</p><p>The combination of:</p><ul><li><strong>Memories</strong> without limitations, the agent creates its own context</li><li><strong>Heartbeat</strong> for the things to remember</li><li><strong>Cron</strong> jobs for automation</li></ul><p>…means you can build agents that don’t just respond, they <strong><em>act</em></strong>. And wrapping that in a Telegram interface gives you a natural, mobile-friendly way to interact with your autonomous agent from anywhere.</p><p>No complicated UIs. No dashboards. Just open Telegram and tell your agent what to do.</p><h4>Next Steps</h4><p>A few things you can explore from here:</p><ul><li><strong>Add custom tools</strong>: Give your agent domain-specific capabilities (API calls, database queries, deployment scripts)</li><li><strong>Persistent storage</strong>: Swap InMemoryStorage for SqliteStorage so conversations survive restarts</li><li><strong>TASK mode</strong>: If you don’t need conversation context, switch to TASK mode for stateless one-off queries</li></ul><p>The you can check all the things over there: <a href="https://docs.upsonic.ai/">docs.upsonic.ai</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1e7b1003984" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agents talk With Your Friends in Your Telegram — CrewAI — 3 Step]]></title>
            <link>https://onuratakan.medium.com/agents-talk-with-your-friends-in-your-telegram-crewai-3-step-cdf2b251ed0d?source=rss-bab08166d831------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdf2b251ed0d</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[langchain]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[telegram]]></category>
            <dc:creator><![CDATA[Onur ULUSOY]]></dc:creator>
            <pubDate>Wed, 24 Apr 2024 07:42:51 GMT</pubDate>
            <atom:updated>2024-04-24T07:42:51.863Z</atom:updated>
            <content:encoded><![CDATA[<h3>Agents talk With Your Friends in Your Telegram — CrewAI — 3 Step</h3><p>let enable your telegram account to AI agents for talking with your friends as you</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZZcJOA78CkGOnvR4.png" /></figure><h3>Introduction</h3><p>let enable your telegram account to AI agents for talking with your friends as you</p><p>- <strong>CrewAI Autonomous AI Agents</strong> is an good designed and easy to use agent framework.</p><p>- <a href="https://github.com/Upsonic/Tiger">Tiger</a> is an chip to your agents that enables to making real world operations by thinking, just like Neuralink.</p><p><strong>TL;DR: This post</strong> is about connecting telegram to your CrewAI agents with Tiger library. After that your agent can easily read your messages and write answers</p><h3>Installing Requirements</h3><p>For this operation we’ll need the CrewAI and Upsonic libraries.</p><pre>pip3 instal crewai &#39;crewai[tools]&#39; langchain-openai upsonic</pre><h4>Imports</h4><pre>from crewai import Agent, Task, Crew, Process<br>from langchain_openai import ChatOpenAI<br>from upsonic import Tiger</pre><h4>Connecting to telegram</h4><p>In this point we will use the [Tiger](https://github.com/Upsonic/Tiger) its an function hub for ai agents, and its have a ready-to-use telegram interface for our agent. Also its have search-engines, code-interpreters and more.</p><pre>Tiger().get(<br>  &quot;communication.telegram.as_user.signin__user&quot;<br>  )()</pre><h4>Creating Agents</h4><p>Now we will make <strong>**OpenAI Connection**</strong>. In this point we will use `gpt-4–0125-preview` for more context.</p><pre>OPENAI_API_KEY = &quot;sk-&quot; # Your openai api key<br><br>llm = ChatOpenAI(<br>  model=&quot;gpt-4-0125-preview&quot;, <br>  api_key=OPENAI_API_KEY<br>  )</pre><pre># Captain agent for managing mission<br>captain = Agent(<br>  role=&quot;You are the captain of mission&quot;,<br>  goal=&quot;Managing the crew for complating mission as want&quot;,<br>  backstory=&quot;You are graduated from Captaining section of University&quot;,<br>  verbose=True,<br>  allow_delegation=False,<br>  llm=llm<br>)<br><br># Planner agent for generating a plan for mission<br>planner = Agent(<br>  role=&quot;The great plan master in the World&quot;,<br>  goal=&quot;Generating plans for mission&quot;,<br>  backstory=&quot;You are graduated from Planning section of University&quot;,<br>  verbose=True,<br>  allow_delegation=False,<br>  llm=llm<br>)<br><br># Executor agent for making executions for mission<br>executor = Agent(<br>  role=&quot;The great executor in the World&quot;,<br>  goal=&quot;Executing plan and complating the mission&quot;,<br>  backstory=&quot;You are graduated from Executing section of University&quot;,<br>  verbose=True,<br>  allow_delegation=False,<br>  llm=llm<br>)</pre><h4>Connecting to Tiger and run</h4><p>In this stage we will give writing answers to incoming messages task and connecting to Tiger.</p><pre>tools = Tiger().crewai()<br><br>telegram_task = Task(<br>  description=&quot;&quot;&quot;<br>Writing friendly and solution-focus answers.<br>For unreaded messages in telegram.<br>Read the last messages and answer them.<br>Please answer as a normal human. <br>You can make many think with your functions also.<br>&quot;&quot;&quot;,<br>  expected_output=&quot;I write to this, this and this.&quot;,<br>  agent=captain<br>  tools=tools<br>)</pre><p><strong>Let’s kick off</strong></p><pre>crew = Crew(<br>  agents=[captain, planner, executor],<br>  tasks=[telegram_task],<br>  verbose=2,<br>)<br><br><br>result = crew.kickoff()<br>print(result)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdf2b251ed0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the Merkle Tree — With Python Example]]></title>
            <link>https://onuratakan.medium.com/what-is-the-merkle-tree-with-python-example-cbb4513b8ad0?source=rss-bab08166d831------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbb4513b8ad0</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[merkle-tree]]></category>
            <category><![CDATA[merkle-root]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[sha-256]]></category>
            <dc:creator><![CDATA[Onur ULUSOY]]></dc:creator>
            <pubDate>Sat, 23 Jan 2021 15:17:38 GMT</pubDate>
            <atom:updated>2021-01-23T15:17:38.156Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is the Merkle Tree — With Python Example</h3><p>The merkle tree is the cryptographic data structure, <strong>blockchain</strong> systems become more secure and efficient with the Merkle tree. For example allow <strong>efficient</strong> and <strong>secure verification</strong> of the contents of <strong>large</strong> data structures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EXj6H8HU3Hq8iZtVVcGdIQ.png" /><figcaption>The Merkle Tree</figcaption></figure><p>As you can see merkle tree is starts with <strong>input</strong> and the last step is <strong>root</strong>. If the inputs <strong>change</strong>, they change at the root. Merkle tree issimilar to a compressed file.</p><p>Many inputs but<strong> only one output</strong>., that is verry cool. Satoshi Nakamato is used Merkle tree on bitcoin.</p><h3>Let&#39;s focus on the leaf node</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pBZ6PJ4rpDaEgLFq9cVjvg.png" /></figure><p>As you can see</p><p>Let’s use this model:</p><p>(Hash method = sha256),</p><p><strong>ROOT</strong> = “177b730e05eea47f54958ce5d4894ebe97df55a977f569338fb714200775b223”</p><p>Leaf 1 = “177b730e05eea47f54958ce5d4894ebe97df55a977f569338fb714200775b223 “</p><p>Leaf 2 = “3290ab198ae76704eb115ccce60a32de3f4a90626c1f9019b44fd0292357116b”</p><p>Input 1 = “<strong>Onur</strong>”</p><p>Input 2 = “<strong>Atakan</strong>”</p><h3>Example With Pyhton</h3><p>Importing the library</p><pre>from typing import List<br>import typing<br>import hashlib</pre><p>Create a node (leaf) class and some methods</p><pre>class Node:<br>    def __init__(self, left, right, value: str,content)-&gt; None:<br>        self.left: Node = left<br>        self.right: Node = right<br>        self.value = value<br>        self.content = content<br>    <br>    @staticmethod<br>    def hash(val: str)-&gt; str:<br>        return hashlib.sha256(val.encode(&quot;utf-8&quot;)).hexdigest()<br>    def __str__(self):<br>        return(str(self.value))</pre><p>Create a MerkleTree class</p><pre>class <strong>MerkleTree</strong>:<br>    def __init__(self, values: List[str])-&gt; None:<br>        self.__buildTree(values)<br>    <br>    def __buildTree(self, values: List[str])-&gt; None:<br>        <br>        leaves: List[Node] = [Node(None, None, Node.hash(e),e) for e in values]<br>        if len(leaves) % 2 ==1:<br>           leaves.append(leaves[-1:][0])# duplicate last elem if odd number of elements<br>           self.root: Node = self.__buildTreeRec(leaves)<br>    <br>    def __buildTreeRec(self, nodes: List[Node])-&gt; Node:<br>         half: int = len(nodes) // 2<br>        <br>         if len(nodes) == 2:<br>             return Node(nodes[0], nodes[1], Node.hash(nodes[0].value + nodes[1].value), nodes[0].content+&quot;+&quot;+nodes[1].content)</pre><pre>         left: Node = self.__buildTreeRec(nodes[:half])<br>         right: Node = self.__buildTreeRec(nodes[half:])<br>         <strong>value: str = Node.hash(left.value + right.value)</strong><br>         content: str = self.__buildTreeRec(nodes[:half]).content+&quot;+&quot;+self.__buildTreeRec(nodes[half:]).content<br>         return Node(left, right, value,content)</pre><pre>    def printTree(self)-&gt; None:<br>        self.__printTreeRec(self.root)</pre><pre>    def __printTreeRec(self, node)-&gt; None:<br>        if node != None:<br>           if node.left != None:<br>            print(&quot;<strong>Left</strong>: &quot;+str(node.left))<br>            print(&quot;<strong>Right</strong>: &quot;+str(node.right))<br>           else:<br>            print(&quot;Input&quot;)<br>   <br>           print(&quot;<strong>Value</strong>: &quot;+str(node.value))<br>           print(&quot;Content: &quot;+str(node.content))<br>           print(&quot;&quot;)<br>           self.__printTreeRec(node.left)<br>           self.__printTreeRec(node.right)<br> <br>    def getRootHash(self)-&gt; str:<br>         return self.root.value</pre><p>Finaly the test</p><pre>def mixmerkletree()-&gt; None:<br>    elems = [&quot;Mix&quot;, &quot;Merkle&quot;, &quot;Tree&quot;,&quot;From&quot;,&quot;Onur Atakan ULUSOY&quot;,&quot;https://github.com/onuratakan/mixmerkletree&quot;,&quot;GO&quot;]<br>    print(&quot;Inputs: &quot;)    <br>    print(*elems, sep = &quot; | &quot;)<br>    print(&quot;&quot;)<br>    mtree = MerkleTree(elems)<br>    print(&quot;Root Hash: &quot;+mtree.getRootHash()+&quot;\n&quot;)<br>    print(mtree.printTree())</pre><pre>mixmerkletree()</pre><h3>Github Repositories Link</h3><p><a href="https://github.com/onuratakan/mix_merkletree">Main Branch</a></p><p><a href="https://github.com/onuratakan/mix_merkletree/blob/master/mixmerkletree.ipynb">Jupyter Notebook</a></p><p><a href="https://github.com/onuratakan/mix_merkletree/blob/master/mixmerkletree.py">.py File</a></p><p>Have a good day</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbb4513b8ad0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Termux nedir ? — Cepteki Linux]]></title>
            <link>https://onuratakan.medium.com/termux-nedir-cepteki-linux-9863b11649b4?source=rss-bab08166d831------2</link>
            <guid isPermaLink="false">https://medium.com/p/9863b11649b4</guid>
            <category><![CDATA[termux-tutorial]]></category>
            <category><![CDATA[termux]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[termux-apk]]></category>
            <dc:creator><![CDATA[Onur ULUSOY]]></dc:creator>
            <pubDate>Wed, 09 Dec 2020 20:38:00 GMT</pubDate>
            <atom:updated>2020-12-09T20:38:00.975Z</atom:updated>
            <content:encoded><![CDATA[<p>Termux bir Linux-terminal emulatörüdür. Root erişimi gerektirmeyen ve tek tıkla uygulama mağazalarından kurulabilen bir yapıya sahiptir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCz3knBm3bCUF0TzpLQaaQ.jpeg" /></figure><h3>Termux ile ne yapılabilir ?</h3><p>Termux’u kullanmak için farklı farklı sebeplerimiz olabilir ancak şahsi görüşüm ana iki neden var.</p><ul><li>Ethical hacking</li><li>Linux programları</li></ul><p>Seçenek insanlara telefondan etik hackerlik yapmayı vaat ediyor vaadinide yerine getiriyor açıkçası, öyleki <strong>örneğin:</strong></p><h4>apt install nmap</h4><p>Dediğimiz zaman nmap adlı port tarama ve ağ keşif aracı yükleniyor daha sonrasında ise nmap kullanılarak bilgi toplama yapılabilir.</p><p>Bir diğer kullanım seneryasu ise linux programları örneğin yalnızca pcden yapılabilecek bir durum ile karşı karşıyaysanız termux a kali linux, Ubuntu, manjaro, gibi yaygın dağıtimlair kurup masaüstü ortamı elde edebilirsiniz. Örneğin visual studio kurabilirsiniz. Veya kali üzerinde etik hackerliğa devam edebilirsiniz.</p><p>Samsung Dex’i duymuşsunuzdur samsunun bazı amiral gemilerine konulan bu özellik telefon ile masaüstü deneyimi yaşatıyor.</p><p>İşte Termux ve Anlinux uygulamaları ile bunu kendi telefonunuzdada yapabilirsiniz. Adete telefonunuza gerçek masaüstüne dönüştürebiliyorsunuz. Üstelik birçok firmada garantinin iptaline yol açan “root” atma işlemini yapmadan.</p><h3>Termux ve Programlama</h3><p>Termux ile aynı masaüstündeki gibi bir programlama yapabilirsiniz <strong>örneğin:</strong></p><p><strong>apt install nano</strong></p><p><strong>apt install python3</strong></p><p>Komutları İle python3 ve terminal metin editörü olan nano’yu yüklemiştik olduk artık bir python kodu yazabilir ve çalıştırabilirsiniz.</p><h4>Örnek Uygulama</h4><p>Şimdi sizlerle örnek bir python uygulaması ile ekrana yazı yazdıracağız.</p><p><strong>nano ilkprogram.py</strong></p><p>Bu komut ile “ilkprogram.py” adlı bir dosya oluşturduk ve nano editörü ile açtık.</p><p>Şimdi ise içine şunları yazın:</p><p><strong>print(“merhaba”)</strong></p><p>Şimdi dosyayı kaydederek kapatmak için termuxun arayüzündeki <strong>CTRL</strong> basın ve ardından <strong>X</strong> e basın şimdi size kaydetmek isteyip istemediğinizi soracak sizde <strong>Y</strong> ardından <strong>ENTER </strong>tuşuna basın.</p><p>Artık gereken kodu yazmış olduk.</p><p>Peki ya nasıl çalıştıracağız ?</p><p><strong>python3 ilkprogram.py</strong></p><p>Kodumuz çalışıp size merhaba yazdıysa bizlik bu kadar.</p><p><strong>İyi günler dileriz.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9863b11649b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>