summaryrefslogtreecommitdiff
path: root/blog/monogatari.html
blob: 423a8314e7e7096a5710d7aab0285f2fb33fdb0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="alternate"
      type="application/rss+xml"
      href="https://blog.0xhenrique.org/rss.xml"
      title="RSS feed for https://blog.0xhenrique.org/">
<title>Monogatari - Text Editor in Python</title>
<meta name="author" content="Henrique Marques">
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="initial-scale=1,width=device-width,minimum-scale=1">
<link href= "static/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="static/favicon.ico"></head>
<body>
<div id="preamble" class="status"><ul class="menu-list"><li class="menu-item"><a href="https://blog.0xhenrique.org/">λ 0xhenrique</a></li><li class="menu-item"><a href="https://blog.0xhenrique.org/tag-projects.html">Projects</a></li><li class="menu-item"><a href="https://blog.0xhenrique.org/archive.html">Archive</a></li><li class="menu-item"><a href="https://blog.0xhenrique.org/rss.xml">RSS</a></li><li class="menu-item" style="float:right"><a href="https://blog.0xhenrique.org/about.html">About</a></li></ul></div>
<div id="content">
<div class="post-date">17 Aug 2024</div><h1 class="post-title"><a href="https://blog.0xhenrique.org/monogatari.html">Monogatari - Text Editor in Python</a></h1>
<p>
Monogatari is a text editor built with Python using the Tkinter GUI library.
<img src="https://raw.githubusercontent.com/henrique-marques-vsoft/monogatari/master/pics/shinobu.gif" alt="shinobu.gif">
</p>

<div id="outline-container-org2d50dd7" class="outline-2">
<h2 id="org2d50dd7">Installation and usage</h2>
<div class="outline-text-2" id="text-org2d50dd7">
<p>
Assuming you already have Python installed in your machine:
</p>
<div class="org-src-container">
<pre class="src src-bash">$ git clone [email protected]:all123all/monogatari.git
$ cd monogatari
$ python monogatari.py
</pre>
</div>

<p>
If you're using Linux you probably will need to install tk manually:
</p>

<div class="org-src-container">
<pre class="src src-bash">//Arch based distros
$ sudo pacman -S tk
//For Ubuntu based
$ sudo apt-get install tk
</pre>
</div>
</div>
</div>

<div id="outline-container-org1506e86" class="outline-2">
<h2 id="org1506e86">Goals</h2>
<div class="outline-text-2" id="text-org1506e86">
<ul class="org-ul">
<li>Basic text editor functionalities (create file, open file, exit etc.)</li>
<li>Black background and a colorpicker option to choose another color</li>
<li class="off"><code>[&#xa0;]</code> Test routine for the basic functionalities</li>
<li class="off"><code>[&#xa0;]</code> Release a package</li>
<li class="off"><code>[&#xa0;]</code> The close function is being called even when the file isn't modified</li>
</ul>
</div>
</div>

<div id="outline-container-orga7c8c38" class="outline-2">
<h2 id="orga7c8c38">Contribute to MONOGATARI - Text Editor</h2>
<div class="outline-text-2" id="text-orga7c8c38">
<ul class="org-ul">
<li>Click the fork button on top right</li>
<li>Git clone your fork</li>
<li>Connect with my repo:</li>
</ul>
<div class="org-src-container">
<pre class="src src-bash">$ git remote add all123all git://github.com/all123all/monogatari
$ git remote -v
</pre>
</div>

<p>
You are now ready to start to code! Just do as always:
</p>
<div class="org-src-container">
<pre class="src src-bash">$ git add .
$ git commit -m "fix: something that was fixed"
$ git push
</pre>
</div>

<p>
Then you can create a pull request right here on Github. Just go to the Pull Requests tab and select `New pull request` button to do so.
</p>
</div>
</div>

<div id="outline-container-orgae3dbbb" class="outline-2">
<h2 id="orgae3dbbb">Screenshots</h2>
<div class="outline-text-2" id="text-orgae3dbbb">

<figure id="org944cbfd">
<img src="https://raw.githubusercontent.com/henrique-marques-vsoft/monogatari/master/pics/print.png" alt="print.png">

</figure>
</div>
</div>
<div class="taglist"><a href="https://blog.0xhenrique.org/tags.html">Tags</a>: <a href="https://blog.0xhenrique.org/tag-projects.html.html">projects</a> <a href="https://blog.0xhenrique.org/tag-python.html">python</a> </div></div>
<div id="postamble" class="status"><a href="https://blog.0xhenrique.org/rss.xml">My RSS Feed</a>
<center>Created using GNU Emacs + <a href="https://github.com/bastibe/org-static-blog">Org Static Blog</a>.</center></div>
</body>
</html>