forked from irssi/scripts.irssi.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (113 loc) · 6.83 KB
/
index.html
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
---
layout: default
---
<div class="container">
<div class="row">
<div class="page-header">
<h1>Irssi's Script Repository</h1>
</div>
</div>
<div class="row">
<div class="instructions">
<input id="automatic-instructions" type="radio" checked="checked" name="instructions" />
<input id="manual-instructions" type="radio" name="instructions" />
<h4>Instructions for using scripts with scriptassist.pl</h4>
<dl class="automatic-instructions">
<dt>How do I install scripts?</dt>
<dd>In Irssi, do <code>/run scriptassist</code> (only once per session), then
<code>/script install <i>scriptname</i></code> .</dd>
<dt>How do I rerun scripts?</dt>
<dd>Just do <code>/script load <i>scriptname</i></code> .</dd>
<dt>How do I unload scripts?</dt>
<dd>Just do <code>/script unload <i>scriptname</i></code> .</dd>
<dt>How do I run scripts automatically at startup?</dt>
<dd>Just do <code>/script autorun <i>scriptname</i></code> .</dd>
<dt>Scriptassist does not work for me / I want to do it myself?</dt>
<dd><label for="manual-instructions" class="btn-link">
View manual instructions.</label></dd>
<dt>How do I submit a script to this page?</dt>
<dd>See information on how to contribute <a href="https://github.com/irssi/scripts.irssi.org">here</a>.</dd>
<dt><span class="bg-danger text-danger" style="display: inline-block; padding: 0 2px; border-radius: 4px">Important.
</span> Python script support on this page is experimental.</dt>
<dd>For .py scripts, the <a href="//irssi.org/modules/#scripting-languages"><code>irssi-python3</code>
module</a> needs to be installed. To run them, use
<code><b>/py</b> load <i>scriptname</i></code> .</dd>
</dl>
<h4>Manual instructions for using scripts</h4>
<dl class="manual-instructions">
<dt>How do I run scripts?</dt>
<dd>Put them into <code>~/.irssi/scripts/</code> and in irssi do
<code>/script load script.pl</code> . There is a default alias for
<code>/script load</code> to <code>/run</code> in newer versions of
irssi.</dd>
<dt>How do I rerun scripts?</dt>
<dd>Just do <code>/script load script.pl</code> .</dd>
<dt>How do I unload scripts?</dt>
<dd>Just do <code>/script unload script.pl</code> .</dd>
<dt>How do I run scripts automatically at startup?</dt>
<dd>Put them into <code>~/.irssi/scripts/autorun/</code> directory.
Or better would be if you placed them in
<code>~/.irssi/scripts/</code> and created symlinks to autorun
directory (eg. <code>cd ~/.irssi/scripts/autorun/ ; ln -s
../script.pl .</code>)</dd>
<dt>Is there an easy way of managing scripts?</dt> <dd>Try
<code>scriptassist.pl</code>, it can update and manage your scripts
as well as install new ones and search the database.
<label for="automatic-instructions" class="btn-link">
View instructions when using scriptassist.pl .</label></dd>
<dt>How do I submit a script to this page?</dt>
<dd>See information on how to contribute <a href="https://github.com/irssi/scripts.irssi.org">here</a>.</dd>
<dt><span class="bg-danger text-danger" style="display: inline-block; padding: 0 2px; border-radius: 4px">Important.
</span> Python script support on this page is experimental.</dt>
<dd>For .py scripts, the <a href="//irssi.org/modules/#scripting-languages"><code>irssi-python3</code>
module</a> needs to be installed. To run them, use
<code><b>/py</b> load <i>scriptname</i></code> .</dd>
</dl>
</div>
<hr>
<input type="search" class="light-table-filter form-control" data-table="sortable" data-name="q" placeholder="Filter" style="width: 100%" autocorrect="off" spellcheck="false" autofocus aria-label="Filter scripts">
<table class="table table-striped table-condensed sortable">
<thead>
<tr>
<th class="sorttable_alpha">Name</th>
<th class="sorttable_alpha">Version</th>
<th class="sorttable_alpha">Description</th>
<th class="sorttable_alpha">Authors</th>
<th class="sorttable_alpha">Modified</th>
<th class="sorttable_numeric" id="th-votes">……</th>
</tr>
</thead>
<tbody>{%
for script in site.data.scripts %}{%
unless script.HIDDEN == "1" %}
<tr id="script-{{ script.filename | replace: ".", "_" }}">
<td class="name">
<span class="filename">
<a href="scripts/{{ script.filename }}">{{ script.filename }}</a>
<small>
(<a href="https://github.com/irssi/scripts/blob/master/scripts/{{ script.filename }}">Github</a>)
</small>
</span>
<br>
<span class="name">{{ script.name }}</span>
</td>
<td class="version">{{ script.version }}</td>
<td class="description">{{ script.description | xml_escape | replace: '', '' }}{%
if script.commands
%}<span style="display:none"> <span class="commands">{{ script.commands | xml_escape }}</span></span>{%
endif
%}</td>
<td class="authors">{{ script.authors | xml_escape }}</td>
<td class="modified" sorttable_customkey="{{ script.modified | date: "%Y%m%d%H%M%S" }}">
<abbr class="timeago" title="{{ script.modified | date: "%Y-%m-%dT%H:%M:%SZ" }}">
{{ script.modified | date: "%Y-%m-%d" }}
</abbr>
</td>
<td class="votes"></td>
</tr>{%
endunless %}{%
endfor %}
</tbody>
</table>
</div>
</div>