Skip to content

Commit

Permalink
Add a few more community websites
Browse files Browse the repository at this point in the history
  • Loading branch information
zenoamaro committed Jun 17, 2020
1 parent 5f2a1e5 commit cc52377
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/core/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ export interface State {
const initialWindow = makeWindow([]);

const initialBookmarks = fromPairs([
makeBookmark('Bitreich', '1', 'gopher://bitreich.org'),
makeBookmark('Floodgap', '1', 'gopher://gopher.floodgap.com'),
makeBookmark('SDF', '1', 'gopher://sdf.org'),
makeBookmark('Create a forum', '1', 'gopher://createaforum.com'),
makeBookmark('Tilde.land', '1', 'gopher://tilde.land'),
makeBookmark('Quux', '1', 'gopher://quux.org'),
makeBookmark('Bitreich', '1', 'gopher://bitreich.org'),
].map(bookmark => [bookmark.id, bookmark]));

let state: State = {
Expand Down
7 changes: 5 additions & 2 deletions src/protocols/gopher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,17 @@ export function requestStartPage() {
});

const data = [
`iSearch with your default search engine\t\t\t`,
`iSearch with Veronica-2\t\t\t`,
`7Search\t/v2/vs\tgopher.floodgap.com\t70`,
`i\t\t\t`,
`iYour bookmarks\t\t\t`,
`iGopher Communities\t\t\t`,
...bookmarks,
`i\t\t\t`,
`iRecently visited\t\t\t`,
...recents,
`i\t\t\t`,
`iYou're using the Unnamed Gopher Client\t\t\t`,
`hgithub.com/zenoamaro/unnamed-gopher-client\tURL:https://github.com/zenoamaro/unnamed-gopher-client\t\t`
].join('\n');

return intoStream(data);
Expand Down

0 comments on commit cc52377

Please sign in to comment.