mirror of
https://github.com/yungcalibri/prism.git
synced 2024-10-05 23:08:02 +03:00
Compare commits
2 Commits
ce2929dc28
...
478b99b1aa
Author | SHA1 | Date | |
---|---|---|---|
|
478b99b1aa | ||
|
486bb62f72 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
tgt*
|
41
README.md
Normal file
41
README.md
Normal file
@ -0,0 +1,41 @@
|
||||
# Prism
|
||||
A URL shortener for your Urbit.
|
||||
|
||||
-----
|
||||
|
||||
## Usage
|
||||
|
||||
Boot it up, open the web UI at /apps/prism. Interactions are all documented
|
||||
there.
|
||||
|
||||
Use `direct` to create a redirect.
|
||||
```
|
||||
dojo> :prism|direct ~.dev 'https://developers.urbit.org/'
|
||||
```
|
||||
|
||||
Use `defect` to disable an existing redirect.
|
||||
```
|
||||
dojo> :prism|defect ~.dev
|
||||
```
|
||||
|
||||
Use `renege` to re-enable a previously disabled redirect.
|
||||
```
|
||||
dojo> :prism|renege ~.dev
|
||||
```
|
||||
|
||||
Use `delete` to delete a redirect.
|
||||
```
|
||||
dojo> :prism|delete ~.dev
|
||||
```
|
||||
|
||||
-----
|
||||
|
||||
## Development
|
||||
|
||||
This is very much a work in progress. I don't have any special insight
|
||||
into who's using the app, what they're using it for, or what could be
|
||||
improved to make it better for users. So if you have a suggestion,
|
||||
please do create an issue for it.
|
||||
|
||||
I'm working on a way to provide feedback directly from within the web
|
||||
UI, but that's still a little ways off.
|
@ -309,7 +309,8 @@
|
||||
=type "text"
|
||||
=pattern "[a-zA-Z-._~]+"
|
||||
=required ""
|
||||
=placeholder "vienna";
|
||||
=placeholder "vienna"
|
||||
=style "color: #f95";
|
||||
==
|
||||
;label
|
||||
; To:
|
||||
@ -351,9 +352,8 @@
|
||||
}
|
||||
code {
|
||||
font-family: 'Cousine', monospace;
|
||||
padding-inline: 0.25ch;
|
||||
padding: 0.25ch;
|
||||
margin-inline: 0.25ch;
|
||||
padding-block: 0.25ch;
|
||||
margin-block: calc(-1 * 0.25ch);
|
||||
border-radius: 0.25ch;
|
||||
background-color: #335;
|
||||
@ -375,6 +375,7 @@
|
||||
padding-block: 0.25rem;
|
||||
color: inherit;
|
||||
filter: brightness(110%);
|
||||
cursor: pointer;
|
||||
}
|
||||
button.danger {
|
||||
background-color: #a32;
|
||||
@ -386,6 +387,14 @@
|
||||
border-style: solid;
|
||||
filter: brightness(90%) contrast(120%);
|
||||
}
|
||||
input {
|
||||
background-color: #335;
|
||||
color: inherit;
|
||||
font-size: inherit;
|
||||
font-family: 'Cousine', monospace;
|
||||
padding: 0.25ch;
|
||||
border-color: #4e3d54;
|
||||
}
|
||||
#usage {
|
||||
font-family: 'Anybody', sans-serif;
|
||||
font-size: 11pt;
|
||||
@ -450,8 +459,8 @@
|
||||
background-color: inherit;
|
||||
border-color: darkgray;
|
||||
}
|
||||
.shortlink.new {
|
||||
margin-block-start: var(--s4);
|
||||
.shortlink.new input[name=toward]{
|
||||
inline-size: 35ch;
|
||||
}
|
||||
.shortlink.new h3 {
|
||||
margin-top: 0;
|
Loading…
Reference in New Issue
Block a user