Skip to content

Commit

Permalink
Add license headers
Browse files Browse the repository at this point in the history
Closes #413
  • Loading branch information
zedeus committed Dec 27, 2021
1 parent 9e413e1 commit 73b5b60
Show file tree
Hide file tree
Showing 39 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/agents.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import random, strformat, strutils, sequtils

randomize()
Expand Down
1 change: 1 addition & 0 deletions src/api.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, httpclient, uri, strutils
import packedjson
import types, query, formatters, consts, apiutils, parser
Expand Down
1 change: 1 addition & 0 deletions src/apiutils.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import httpclient, asyncdispatch, options, times, strutils, uri
import packedjson, zippy
import types, tokens, consts, parserutils, http_pool
Expand Down
1 change: 1 addition & 0 deletions src/config.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import parsecfg except Config
import types, strutils

Expand Down
1 change: 1 addition & 0 deletions src/consts.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri, sequtils

const
Expand Down
1 change: 1 addition & 0 deletions src/formatters.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, times, uri, tables, xmltree, htmlparser
import regex
import types, utils, query
Expand Down
1 change: 1 addition & 0 deletions src/http_pool.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, httpclient

type
Expand Down
1 change: 1 addition & 0 deletions src/nitter.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strformat
from net import Port
from htmlgen import a
Expand Down
1 change: 1 addition & 0 deletions src/parser.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, options, tables, times, math
import packedjson
import packedjson / deserialiser
Expand Down
1 change: 1 addition & 0 deletions src/parserutils.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, times, macros, htmlgen, unicode, options, algorithm
import regex, packedjson
import types, utils, formatters
Expand Down
1 change: 1 addition & 0 deletions src/prefs.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import tables
import types, prefs_impl
from config import get
Expand Down
1 change: 1 addition & 0 deletions src/prefs_impl.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import macros, tables, strutils, xmltree

type
Expand Down
1 change: 1 addition & 0 deletions src/query.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, tables, uri

import types
Expand Down
1 change: 1 addition & 0 deletions src/redis_cache.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, times, strutils, tables, hashes
import redis, redpool, flatty, supersnappy

Expand Down
1 change: 1 addition & 0 deletions src/routes/embed.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, options
import jester
import ".."/[types, api], ../views/embed
Expand Down
1 change: 1 addition & 0 deletions src/routes/list.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils

import jester
Expand Down
1 change: 1 addition & 0 deletions src/routes/media.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri, strutils, httpclient, os, hashes, base64, re
import asynchttpserver, asyncstreams, asyncfile, asyncnet

Expand Down
1 change: 1 addition & 0 deletions src/routes/preferences.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, uri, os, algorithm

import jester
Expand Down
1 change: 1 addition & 0 deletions src/routes/resolver.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils

import jester
Expand Down
1 change: 1 addition & 0 deletions src/routes/router_utils.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, sequtils, uri, tables
from jester import Request, cookies

Expand Down
1 change: 1 addition & 0 deletions src/routes/rss.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, tables, times, hashes, supersnappy

import jester
Expand Down
1 change: 1 addition & 0 deletions src/routes/search.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, uri

import jester
Expand Down
1 change: 1 addition & 0 deletions src/routes/status.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, sequtils, uri, options

import jester, karax/vdom
Expand Down
1 change: 1 addition & 0 deletions src/routes/timeline.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, strutils, sequtils, uri, options, times
import jester, karax/vdom

Expand Down
1 change: 1 addition & 0 deletions src/routes/unsupported.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import jester

import router_utils
Expand Down
1 change: 1 addition & 0 deletions src/tokens.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import asyncdispatch, httpclient, times, sequtils, json, math, random
import strutils, strformat
import zippy
Expand Down
1 change: 1 addition & 0 deletions src/types.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import times, sequtils, options, tables
import prefs_impl

Expand Down
1 change: 1 addition & 0 deletions src/utils.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, uri, tables, base64
import nimcrypto, regex

Expand Down
1 change: 1 addition & 0 deletions src/views/about.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import karax/[karaxdsl, vdom]
import markdown

Expand Down
1 change: 1 addition & 0 deletions src/views/embed.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import options
import karax/[karaxdsl, vdom]

Expand Down
1 change: 1 addition & 0 deletions src/views/general.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri, strutils, strformat
import karax/[karaxdsl, vdom]

Expand Down
1 change: 1 addition & 0 deletions src/views/list.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strformat
import karax/[karaxdsl, vdom]

Expand Down
1 change: 1 addition & 0 deletions src/views/preferences.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import tables, macros, strutils
import karax/[karaxdsl, vdom]

Expand Down
1 change: 1 addition & 0 deletions src/views/profile.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat
import karax/[karaxdsl, vdom, vstyles]

Expand Down
1 change: 1 addition & 0 deletions src/views/renderutils.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils
import karax/[karaxdsl, vdom, vstyles]
import ".."/[types, utils]
Expand Down
1 change: 1 addition & 0 deletions src/views/search.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, unicode, tables
import karax/[karaxdsl, vdom]

Expand Down
1 change: 1 addition & 0 deletions src/views/status.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import uri
import karax/[karaxdsl, vdom]

Expand Down
1 change: 1 addition & 0 deletions src/views/timeline.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, strformat, sequtils, algorithm, uri, options
import karax/[karaxdsl, vdom]

Expand Down
1 change: 1 addition & 0 deletions src/views/tweet.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
import strutils, sequtils, strformat, options
import karax/[karaxdsl, vdom, vstyles]

Expand Down

0 comments on commit 73b5b60

Please sign in to comment.