-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME.html
More file actions
37 lines (32 loc) · 1.48 KB
/
Copy pathREADME.html
File metadata and controls
37 lines (32 loc) · 1.48 KB
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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>README.html</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
<body>
<h1>SimpleWeb</h1>
<p>An Emacs package that <strong>simplifies web pages</strong>, so they <strong>render correctly</strong> in the <strong><ins>Emacs Web Browser</ins></strong></p>
<h2>Why Do I Need This?</h2>
<p>Emacs is a text-based editor, but the modern web isn't very text-based. Javascript, visual applications, it's all too much and I don't like it.</p>
<p>This package uses machine learning to translate modern HTML into the much older style of the 1990s. <em>Simple</em> HTML with <em>simple</em>, well labeled tags, that load well in the emacs browser.</p>
<h2>Installation Instructions</h2>
<h4>Clone The Repository</h4>
<p><code>mkdir -p ~/.emacs.d && cd $_
git clone https://github.com/sstraust/simpleweb.git</code></p>
<h4>Install Python Dependencies</h4>
<p><code>sudo apt install python3-pip
pip install openai
pip install google-generativeai
pip install --upgrade requests</code></p>
<h4>Add your GEMINI API key</h4>
<p><code>(setenv "GEMINI_API_KEY" "your_api_key")</code>
to your .emacs file</p>
<h4>Turn on the Library</h4>
<p>Add the following to your .emacs file:
<code>(add-to-list 'load-path "~/.emacs.d/simpleweb")
(simpleweb-initialize)</code></p>
</body>
</html>